diff options
author | Dave Airlie <airlied@linux.ie> | 2007-07-16 22:55:58 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2007-07-16 22:55:58 -0400 |
commit | cca5307d178c931e70a642302b56fa2701d02253 (patch) | |
tree | 7a90899cf5e049dc132d9f7a41aca22d8ca45ad6 | |
parent | d4e2cbe9cb9219fc924191a6baa2369140cb5ea8 (diff) |
drm: fix problem with SiS typedef with sisfb enabled.
Reported by: Avuton Olrich <avuton@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r-- | drivers/char/drm/sis_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/sis_mm.c b/drivers/char/drm/sis_mm.c index 0580fa33cb77..441bbdbf1510 100644 --- a/drivers/char/drm/sis_mm.c +++ b/drivers/char/drm/sis_mm.c | |||
@@ -94,7 +94,7 @@ static int sis_fb_init(DRM_IOCTL_ARGS) | |||
94 | mutex_lock(&dev->struct_mutex); | 94 | mutex_lock(&dev->struct_mutex); |
95 | #if defined(CONFIG_FB_SIS) | 95 | #if defined(CONFIG_FB_SIS) |
96 | { | 96 | { |
97 | drm_sman_mm_t sman_mm; | 97 | struct drm_sman_mm sman_mm; |
98 | sman_mm.private = (void *)0xFFFFFFFF; | 98 | sman_mm.private = (void *)0xFFFFFFFF; |
99 | sman_mm.allocate = sis_sman_mm_allocate; | 99 | sman_mm.allocate = sis_sman_mm_allocate; |
100 | sman_mm.free = sis_sman_mm_free; | 100 | sman_mm.free = sis_sman_mm_free; |