diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-11-11 14:45:57 +0100 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2008-11-11 14:45:57 +0100 |
commit | 1ec26db1f8cae0aca64708e0fe1f687eab7c82e5 (patch) | |
tree | 438ad8222fbf763f8e51ba4227206e1de137e2a9 /arch/arm | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiw... (diff) | |
download | linux-1ec26db1f8cae0aca64708e0fe1f687eab7c82e5.tar.xz linux-1ec26db1f8cae0aca64708e0fe1f687eab7c82e5.zip |
pxafb: introduce LCD_TYPE_MASK and use it.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/include/mach/pxafb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxafb.h b/arch/arm/mach-pxa/include/mach/pxafb.h index 8e591118371e..cbda4d35c421 100644 --- a/arch/arm/mach-pxa/include/mach/pxafb.h +++ b/arch/arm/mach-pxa/include/mach/pxafb.h @@ -33,6 +33,7 @@ #define LCD_CONN_TYPE(_x) ((_x) & 0x0f) #define LCD_CONN_WIDTH(_x) (((_x) >> 4) & 0x1f) +#define LCD_TYPE_MASK 0xf #define LCD_TYPE_UNKNOWN 0 #define LCD_TYPE_MONO_STN 1 #define LCD_TYPE_MONO_DSTN 2 |