Title: [4027] trunk/drivers/video/fbmem.c: [#2424] get rid of the warning, and add Blackfin to the list of archs
Revision
4027
Author
rgetz
Date
2007-12-11 13:29:52 -0600 (Tue, 11 Dec 2007)

Log Message

[#2424] get rid of the warning, and add Blackfin to the list of archs

Diffstat

 fbmem.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Modified Paths

Diff

Modified: trunk/drivers/video/fbmem.c (4026 => 4027)


--- trunk/drivers/video/fbmem.c	2007-12-11 15:02:59 UTC (rev 4026)
+++ trunk/drivers/video/fbmem.c	2007-12-11 19:29:52 UTC (rev 4027)
@@ -1161,7 +1161,7 @@
 	struct fb_info *info = registered_fb[fbidx];
 	struct fb_ops *fb = info->fbops;
 	unsigned long off;
-#if !defined(__sparc__) || defined(__sparc_v9__)
+#if (!defined(__sparc__) || defined(__sparc_v9__)) && !defined(__bfin__)
 	unsigned long start;
 	u32 len;
 #endif
@@ -1179,7 +1179,7 @@
 		return res;
 	}
 
-#if defined(__sparc__) && !defined(__sparc_v9__)
+#if (defined(__sparc__) && !defined(__sparc_v9__)) || defined(__bfin__)
 	/* Should never get here, all fb drivers should have their own
 	   mmap routines */
 	return -EINVAL;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to