From: Dave Airlie Date: Tue, 17 Jul 2007 02:55:58 +0000 (+1000) Subject: drm: fix problem with SiS typedef with sisfb enabled. X-Git-Tag: upstream/snapshot3+hdmi~32649^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cca5307d178c931e70a642302b56fa2701d02253;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git drm: fix problem with SiS typedef with sisfb enabled. Reported by: Avuton Olrich Signed-off-by: Dave Airlie --- diff --git a/drivers/char/drm/sis_mm.c b/drivers/char/drm/sis_mm.c index 0580fa3..441bbdb 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) 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;