summaryrefslogtreecommitdiff
path: root/shared-core/radeon_cp.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2005-02-01 11:08:31 +0000
committerDave Airlie <airlied@linux.ie>2005-02-01 11:08:31 +0000
commit0d6b7fcb79e9bf6f823b5802f8317056015faeec (patch)
treee1b1ed4dfbc01fde9b61cab0be66678da75222dd /shared-core/radeon_cp.c
parent1dd948f280b52645b320ea0745ec48b8d98c9d9b (diff)
cleanup patch from Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'shared-core/radeon_cp.c')
-rw-r--r--shared-core/radeon_cp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c
index 6121d283..9eaa2d76 100644
--- a/shared-core/radeon_cp.c
+++ b/shared-core/radeon_cp.c
@@ -35,6 +35,8 @@
#define RADEON_FIFO_DEBUG 0
+static int radeon_do_cleanup_cp(drm_device_t * dev);
+
/* CP microcode (from ATI) */
static u32 R200_cp_microcode[][2] = {
{0x21007000, 0000000000},
@@ -813,7 +815,7 @@ static u32 R300_cp_microcode[][2] = {
{ 0000000000, 0000000000 },
};
-int RADEON_READ_PLL(drm_device_t * dev, int addr)
+static int RADEON_READ_PLL(drm_device_t * dev, int addr)
{
drm_radeon_private_t *dev_priv = dev->dev_private;
@@ -1515,7 +1517,7 @@ static int radeon_do_init_cp(drm_device_t * dev, drm_radeon_init_t * init)
return 0;
}
-int radeon_do_cleanup_cp(drm_device_t * dev)
+static int radeon_do_cleanup_cp(drm_device_t * dev)
{
drm_radeon_private_t *dev_priv = dev->dev_private;
DRM_DEBUG("\n");