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 /drivers/video | |
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 'drivers/video')
-rw-r--r-- | drivers/video/pxafb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index 97204497d9f7..64990592dc58 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c @@ -1372,7 +1372,7 @@ static void pxafb_decode_mach_info(struct pxafb_info *fbi, fbi->cmap_inverse = inf->cmap_inverse; fbi->cmap_static = inf->cmap_static; - switch (lcd_conn & 0xf) { + switch (lcd_conn & LCD_TYPE_MASK) { case LCD_TYPE_MONO_STN: fbi->lccr0 = LCCR0_CMS; break; |