diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-09-05 21:33:44 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-09-05 21:33:44 +1000 |
commit | f210973bb6d17aa220c797e8ea23d127d96859b7 (patch) | |
tree | 4ffe6f27b02eb814f7c855bfb4e5f28c8f3d6280 /drivers/char/drm/drm_bufs.c | |
parent | 89625eb186b9b0b9454d44126f8b1bcc72ad93b7 (diff) |
drm: small cleanups
This patch contains the following small cleanups:
- make two needlessly global functions static
- drm_sysfs.c: every file should #include the header with the prototypes
of the global functions it is offering
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_bufs.c')
-rw-r--r-- | drivers/char/drm/drm_bufs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/drm_bufs.c b/drivers/char/drm/drm_bufs.c index 8eff0736a94..f28e70ae660 100644 --- a/drivers/char/drm/drm_bufs.c +++ b/drivers/char/drm/drm_bufs.c @@ -1041,7 +1041,7 @@ static int drm_addbufs_sg(drm_device_t *dev, drm_buf_desc_t *request) return 0; } -int drm_addbufs_fb(drm_device_t *dev, drm_buf_desc_t *request) +static int drm_addbufs_fb(drm_device_t *dev, drm_buf_desc_t *request) { drm_device_dma_t *dma = dev->dma; drm_buf_entry_t *entry; |