]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drm: fix problem with SiS typedef with sisfb enabled.
authorDave Airlie <airlied@linux.ie>
Tue, 17 Jul 2007 02:55:58 +0000 (12:55 +1000)
committerDave Airlie <airlied@linux.ie>
Tue, 17 Jul 2007 02:55:58 +0000 (12:55 +1000)
Reported by: Avuton Olrich <avuton@gmail.com>

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/sis_mm.c

index 0580fa33cb77cf0e3db579d93c6c0146936d58e2..441bbdbf1510989061149b53c365a26ac7a3b62a 100644 (file)
@@ -94,7 +94,7 @@ static int sis_fb_init(DRM_IOCTL_ARGS)
        mutex_lock(&dev->struct_mutex);
 #if defined(CONFIG_FB_SIS)
        {
-               drm_sman_mm_t sman_mm;
+               struct drm_sman_mm sman_mm;
                sman_mm.private = (void *)0xFFFFFFFF;
                sman_mm.allocate = sis_sman_mm_allocate;
                sman_mm.free = sis_sman_mm_free;