diff options
author | Dave Airlie <airlied@linux.ie> | 2005-02-01 11:08:31 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-02-01 11:08:31 +0000 |
commit | 0d6b7fcb79e9bf6f823b5802f8317056015faeec (patch) | |
tree | e1b1ed4dfbc01fde9b61cab0be66678da75222dd /shared-core/via_dma.c | |
parent | 1dd948f280b52645b320ea0745ec48b8d98c9d9b (diff) |
cleanup patch from Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'shared-core/via_dma.c')
-rw-r--r-- | shared-core/via_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/via_dma.c b/shared-core/via_dma.c index 3edefd76..1f5d3b94 100644 --- a/shared-core/via_dma.c +++ b/shared-core/via_dma.c @@ -69,7 +69,7 @@ static void via_cmdbuf_start(drm_via_private_t * dev_priv); static void via_cmdbuf_pause(drm_via_private_t * dev_priv); static void via_cmdbuf_reset(drm_via_private_t * dev_priv); static void via_cmdbuf_rewind(drm_via_private_t * dev_priv); - +static int via_wait_idle(drm_via_private_t * dev_priv); /* * Free space in command buffer. */ @@ -514,7 +514,7 @@ static int via_hook_segment(drm_via_private_t *dev_priv, -int via_wait_idle(drm_via_private_t * dev_priv) +static int via_wait_idle(drm_via_private_t * dev_priv) { int count = 10000000; while (count-- && (VIA_READ(VIA_REG_STATUS) & |