diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2005-09-30 04:37:36 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-09-30 04:37:36 -0400 |
commit | b3a83639895a422b25f72eec0a5d1d88c3ac4e9e (patch) | |
tree | 1cd03d53cccb01964ea57564d7be575a29b7fec2 /drivers/char/drm/drm_bufs.c | |
parent | 689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab (diff) |
drm: fix all sparse warning on 32-bit x86
Finally cleaned up the sparse warnings for the drm.
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/drm/drm_bufs.c b/drivers/char/drm/drm_bufs.c index e3d372ad0076..58e513a44740 100644 --- a/drivers/char/drm/drm_bufs.c +++ b/drivers/char/drm/drm_bufs.c | |||
@@ -117,9 +117,9 @@ static __inline__ unsigned int HandleID(unsigned long lhandle, | |||
117 | * type. Adds the map to the map list drm_device::maplist. Adds MTRR's where | 117 | * type. Adds the map to the map list drm_device::maplist. Adds MTRR's where |
118 | * applicable and if supported by the kernel. | 118 | * applicable and if supported by the kernel. |
119 | */ | 119 | */ |
120 | int drm_addmap_core(drm_device_t * dev, unsigned int offset, | 120 | static int drm_addmap_core(drm_device_t * dev, unsigned int offset, |
121 | unsigned int size, drm_map_type_t type, | 121 | unsigned int size, drm_map_type_t type, |
122 | drm_map_flags_t flags, drm_map_list_t ** maplist) | 122 | drm_map_flags_t flags, drm_map_list_t ** maplist) |
123 | { | 123 | { |
124 | drm_map_t *map; | 124 | drm_map_t *map; |
125 | drm_map_list_t *list; | 125 | drm_map_list_t *list; |