diff -Naru a/drivers/macintosh/ans-lcd.c b/drivers/macintosh/ans-lcd.c --- a/drivers/macintosh/ans-lcd.c 2005-04-14 03:20:29 -07:00 +++ b/drivers/macintosh/ans-lcd.c 2005-04-14 03:20:29 -07:00 @@ -9,6 +9,8 @@ #include #include #include +#include + #include #include #include @@ -154,7 +156,7 @@ retval = misc_register(&anslcd_dev); if(retval < 0){ printk(KERN_INFO "LCD: misc_register failed\n"); - iounmap(anslcd_ptr); + iounmap((void *)anslcd_ptr); return retval; } @@ -177,7 +179,7 @@ anslcd_exit(void) { misc_deregister(&anslcd_dev); - iounmap(anslcd_ptr); + iounmap((void *)anslcd_ptr); } module_init(anslcd_init); # This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/10/08 07:33:50-07:00 colin@colino.net # [PATCH] fix ans-lcd compilation # # This patch fixes ans-lcd compilation error and warnings. See # http://bugzilla.kernel.org/show_bug.cgi?id=3497 # # Signed-off-by: Colin Leroy # Signed-off-by: Andrew Morton # Signed-off-by: Linus Torvalds # # drivers/macintosh/ans-lcd.c # 2004/10/08 02:57:32-07:00 colin@colino.net +4 -2 # fix ans-lcd compilation #