summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorHaavard Skinnemoen2007-05-09 11:35:33 +0200
committerLinus Torvalds2007-05-09 21:30:57 +0200
commit880169dd2edc4297b7811a0542be9766ca6945bc (patch)
tree38f9ecb7507c37982291fa9f131682daf91c3c27 /include/linux
parentsvgalib: move fb_get_caps to svgalib (diff)
downloadkernel-qcow2-linux-880169dd2edc4297b7811a0542be9766ca6945bc.tar.gz
kernel-qcow2-linux-880169dd2edc4297b7811a0542be9766ca6945bc.tar.xz
kernel-qcow2-linux-880169dd2edc4297b7811a0542be9766ca6945bc.zip
fbdev: add support for AVR32
Provide framebuffer page protection flags and definitions of fb_readl/fb_writel for AVR32. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index dff7a728948c..c654d0e9ce33 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -868,7 +868,7 @@ struct fb_info {
#define fb_writeq sbus_writeq
#define fb_memset sbus_memset_io
-#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || defined(__hppa__) || (defined(__sh__) && !defined(__SH5__)) || defined(__powerpc__)
+#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || defined(__hppa__) || (defined(__sh__) && !defined(__SH5__)) || defined(__powerpc__) || defined(__avr32__)
#define fb_readb __raw_readb
#define fb_readw __raw_readw