diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-08-18 23:42:16 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-08-18 23:42:16 +0000 |
commit | 0f094c33da5054e6be9ccf8bf0f6282c9aed5791 (patch) | |
tree | 4e526bf9c18740a34a5fbf5a9e02ac0160a53336 | |
parent | 6298d1a1e0deccf085970e12922430dbde09e5da (diff) |
Make r128_do_wait_for_idle static, as it's only used in this file.
Noticed by: CScout
-rw-r--r-- | shared-core/r128_cce.c | 4 | ||||
-rw-r--r-- | shared/r128_cce.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/shared-core/r128_cce.c b/shared-core/r128_cce.c index fc6caf7b..d0394a0c 100644 --- a/shared-core/r128_cce.c +++ b/shared-core/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; 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; |