[ARM] pxafb: fix the warning of incorrect lccr when lcd_conn is specified
authorEric Miao <ycmiao@ycmiao-ubuntu.internal.example.org>
Sat, 16 Aug 2008 07:50:51 +0000 (03:50 -0400)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 16 Aug 2008 15:39:16 +0000 (16:39 +0100)
The newly introduced "lcd_conn" field for connected LCD panel type will
cause the original code to generate the warnings of incorrect lccr*.
This is unnecessary since well encoded LCD_* flags will not generate
incorrect combinition of lccr* bits. Skip the check if "lcd_conn" is
specified.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found