fb.h: Provide alternate screen_base pointer
[linux-block.git] / include / linux / fb.h
index bc9afa74ee11cb3f7c2876280aad4da50ad6df7b..41a3b11f77962dc7a021711a54c22c71fb737a11 100644 (file)
@@ -483,7 +483,10 @@ struct fb_info {
 #ifdef CONFIG_FB_TILEBLITTING
        struct fb_tile_ops *tileops;    /* Tile Blitting */
 #endif
-       char __iomem *screen_base;      /* Virtual address */
+       union {
+               char __iomem *screen_base;      /* Virtual address */
+               char *screen_buffer;
+       };
        unsigned long screen_size;      /* Amount of ioremapped VRAM or 0 */ 
        void *pseudo_palette;           /* Fake palette of 16 colors */ 
 #define FBINFO_STATE_RUNNING   0