]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
fb: fix colliding defines for fb flags.
authorDave Airlie <airlied@redhat.com>
Wed, 23 Jun 2010 01:35:41 +0000 (11:35 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Jul 2010 01:59:34 +0000 (11:59 +1000)
When I added the flags I must have been using a 25 line terminal and missed the following flags.

The collided with flag has one user in staging despite being in-tree for 5 years.

I'm happy to push this via my drm tree unless someone really wants to do it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Cc: stable@kernel.org
include/linux/fb.h

index 907ace3a64c8abef33aff5a1d7e3bc3c72337a54..8e5a9dfb76bf6425934a09427b8f16df82e937be 100644 (file)
@@ -786,8 +786,6 @@ struct fb_tile_ops {
 #define FBINFO_MISC_USEREVENT          0x10000 /* event request
                                                  from userspace */
 #define FBINFO_MISC_TILEBLITTING       0x20000 /* use tile blitting */
-#define FBINFO_MISC_FIRMWARE           0x40000 /* a replaceable firmware
-                                                 inited framebuffer */
 
 /* A driver may set this flag to indicate that it does want a set_par to be
  * called every time when fbcon_switch is executed. The advantage is that with
@@ -801,6 +799,8 @@ struct fb_tile_ops {
  */
 #define FBINFO_MISC_ALWAYS_SETPAR   0x40000
 
+/* where the fb is a firmware driver, and can be replaced with a proper one */
+#define FBINFO_MISC_FIRMWARE        0x80000
 /*
  * Host and GPU endianness differ.
  */