summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-08-18 23:42:16 +0000
committerEric Anholt <anholt@freebsd.org>2003-08-18 23:42:16 +0000
commit0f094c33da5054e6be9ccf8bf0f6282c9aed5791 (patch)
tree4e526bf9c18740a34a5fbf5a9e02ac0160a53336 /shared
parent6298d1a1e0deccf085970e12922430dbde09e5da (diff)
Make r128_do_wait_for_idle static, as it's only used in this file.
Noticed by: CScout
Diffstat (limited to 'shared')
-rw-r--r--shared/r128_cce.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shared/r128_cce.c b/shared/r128_cce.c
index fc6caf7b..d0394a0c 100644
--- a/shared/r128_cce.c
+++ b/shared/r128_cce.c
@@ -81,8 +81,6 @@ static u32 r128_cce_microcode[] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
-int r128_do_wait_for_idle( drm_r128_private_t *dev_priv );
-
int R128_READ_PLL(drm_device_t *dev, int addr)
{
drm_r128_private_t *dev_priv = dev->dev_private;
@@ -151,7 +149,7 @@ static int r128_do_wait_for_fifo( drm_r128_private_t *dev_priv, int entries )
return DRM_ERR(EBUSY);
}
-int r128_do_wait_for_idle( drm_r128_private_t *dev_priv )
+static int r128_do_wait_for_idle( drm_r128_private_t *dev_priv )
{
int i, ret;