diff options
author | Ben Dooks <ben-fbdev@fluff.org> | 2008-05-23 13:04:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-24 09:56:12 -0700 |
commit | cdc83ae2453ddb19060e05e6afd22b1254128c42 (patch) | |
tree | f6a3f5eca2f06d9bc8b57d694b2e8638d6ad04ab /include/linux/sm501.h | |
parent | cd94b9dbfa300fc42e45f230010623fc08d59563 (diff) | |
download | lwn-cdc83ae2453ddb19060e05e6afd22b1254128c42.tar.gz lwn-cdc83ae2453ddb19060e05e6afd22b1254128c42.zip |
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>
Diffstat (limited to 'include/linux/sm501.h')
-rw-r--r-- | include/linux/sm501.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sm501.h b/include/linux/sm501.h index bca134544700..95c1c39ba445 100644 --- a/include/linux/sm501.h +++ b/include/linux/sm501.h @@ -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; |