Commit cca5307d authored by Dave Airlie's avatar Dave Airlie

drm: fix problem with SiS typedef with sisfb enabled.

Reported by: Avuton Olrich <avuton@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent d4e2cbe9
...@@ -94,7 +94,7 @@ static int sis_fb_init(DRM_IOCTL_ARGS) ...@@ -94,7 +94,7 @@ static int sis_fb_init(DRM_IOCTL_ARGS)
mutex_lock(&dev->struct_mutex); mutex_lock(&dev->struct_mutex);
#if defined(CONFIG_FB_SIS) #if defined(CONFIG_FB_SIS)
{ {
drm_sman_mm_t sman_mm; struct drm_sman_mm sman_mm;
sman_mm.private = (void *)0xFFFFFFFF; sman_mm.private = (void *)0xFFFFFFFF;
sman_mm.allocate = sis_sman_mm_allocate; sman_mm.allocate = sis_sman_mm_allocate;
sman_mm.free = sis_sman_mm_free; sman_mm.free = sis_sman_mm_free;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment