mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
SM501: reverse FPEN/VBIASEN flags behaviour
To keep backwards compatibility, reverse the meanings of these flags so that when they are not set, the driver uses the original behvaiour. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Cc: Arnaud Patard <arnaud.patard@rtp-net.org> Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
cd94b9dbfa
commit
cdc83ae245
2 changed files with 6 additions and 6 deletions
|
@ -71,8 +71,8 @@ extern unsigned long sm501_gpio_get(struct device *dev,
|
|||
#define SM501FB_FLAG_DISABLE_AT_EXIT (1<<1)
|
||||
#define SM501FB_FLAG_USE_HWCURSOR (1<<2)
|
||||
#define SM501FB_FLAG_USE_HWACCEL (1<<3)
|
||||
#define SM501FB_FLAG_PANEL_USE_FPEN (1<<4)
|
||||
#define SM501FB_FLAG_PANEL_USE_VBIASEN (1<<5)
|
||||
#define SM501FB_FLAG_PANEL_NO_FPEN (1<<4)
|
||||
#define SM501FB_FLAG_PANEL_NO_VBIASEN (1<<5)
|
||||
|
||||
struct sm501_platdata_fbsub {
|
||||
struct fb_videomode *def_mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue