drm: de-typedef fallout in sis

From: Alexey Dobriyan
Date: Tue Jul 17 2007 - 06:12:30 EST


CC drivers/char/drm/sis_mm.o
drivers/char/drm/sis_mm.c: In function 'sis_fb_init':
drivers/char/drm/sis_mm.c:97: error: 'drm_sman_mm_t' undeclared (first use in this function)

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxx>
---

drivers/char/drm/sis_mm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/