]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[ARM] 5091/1: Add missing bitfield include to regs-lcd.h
authorStefan Schmidt <stefan@datenfreihafen.org>
Thu, 12 Jun 2008 06:07:22 +0000 (07:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Jun 2008 19:49:38 +0000 (20:49 +0100)
Macros like Fld() or FShft used in regs-lcd.h are defined in bitfield.h, but
the latter is not included.
Also fix one whitespace issue while being there.

Signed-off-by: Antonio Ospite <ao2@openezx.org>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-pxa/regs-lcd.h

index f762493f51418dc33a46dea0ad3a68b799b745af..3ba464c913a5d9afa891e1d4a761973f2f5889bb 100644 (file)
@@ -1,5 +1,8 @@
 #ifndef __ASM_ARCH_REGS_LCD_H
 #define __ASM_ARCH_REGS_LCD_H
+
+#include <asm/arch/bitfield.h>
+
 /*
  * LCD Controller Registers and Bits Definitions
  */
@@ -69,7 +72,7 @@
 #define LCCR0_QDM      (1 << 11)       /* LCD Quick Disable mask */
 #define LCCR0_PDD      (0xff << 12)    /* Palette DMA request delay */
 #define LCCR0_PDD_S    12
-#define LCCR0_BM       (1 << 20)       /* Branch mask */
+#define LCCR0_BM       (1 << 20)       /* Branch mask */
 #define LCCR0_OUM      (1 << 21)       /* Output FIFO underrun mask */
 #define LCCR0_LCDT     (1 << 22)       /* LCD panel type */
 #define LCCR0_RDSTM    (1 << 23)       /* Read status interrupt mask */