aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r--include/linux/fb.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index bc24e48e396d..f577d3c89618 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -465,6 +465,11 @@ struct fb_info {
465 atomic_t count; 465 atomic_t count;
466 int node; 466 int node;
467 int flags; 467 int flags;
468 /*
469 * -1 by default, set to a FB_ROTATE_* value by the driver, if it knows
470 * a lcd is not mounted upright and fbcon should rotate to compensate.
471 */
472 int fbcon_rotate_hint;
468 struct mutex lock; /* Lock for open/release/ioctl funcs */ 473 struct mutex lock; /* Lock for open/release/ioctl funcs */
469 struct mutex mm_lock; /* Lock for fb_mmap and smem_* fields */ 474 struct mutex mm_lock; /* Lock for fb_mmap and smem_* fields */
470 struct fb_var_screeninfo var; /* Current var */ 475 struct fb_var_screeninfo var; /* Current var */
@@ -564,7 +569,10 @@ static inline struct apertures_struct *alloc_apertures(unsigned int max_num) {
564#define fb_memcpy_fromfb sbus_memcpy_fromio 569#define fb_memcpy_fromfb sbus_memcpy_fromio
565#define fb_memcpy_tofb sbus_memcpy_toio 570#define fb_memcpy_tofb sbus_memcpy_toio
566 571
567#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || defined(__hppa__) || defined(__sh__) || defined(__powerpc__) || defined(__avr32__) || defined(__bfin__) || defined(__arm__) 572#elif defined(__i386__) || defined(__alpha__) || defined(__x86_64__) || \
573 defined(__hppa__) || defined(__sh__) || defined(__powerpc__) || \
574 defined(__avr32__) || defined(__bfin__) || defined(__arm__) || \
575 defined(__aarch64__)
568 576
569#define fb_readb __raw_readb 577#define fb_readb __raw_readb
570#define fb_readw __raw_readw 578#define fb_readw __raw_readw