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 <linux/fcntl.h>
 #include <linux/init.h>
 #include <linux/delay.h>
+#include <linux/fs.h>
+
 #include <asm/uaccess.h>
 #include <asm/sections.h>
 #include <asm/prom.h>
@@ -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 <colin@colino.net>
#   Signed-off-by: Andrew Morton <akpm@osdl.org>
#   Signed-off-by: Linus Torvalds <torvalds@osdl.org>
# 
# drivers/macintosh/ans-lcd.c
#   2004/10/08 02:57:32-07:00 colin@colino.net +4 -2
#   fix ans-lcd compilation
#