1 diff --git a/include/linux/console_splash.h b/include/linux/console_splash.h
5 +++ b/include/uapi/linux/console_splash.h
7 +#ifndef _LINUX_CONSOLE_SPLASH_H_
8 +#define _LINUX_CONSOLE_SPLASH_H_ 1
10 +/* A structure used by the framebuffer splash code (drivers/video/fbsplash.c) */
12 + __u8 bg_color; /* The color that is to be treated as transparent */
13 + __u8 state; /* Current splash state: 0 = off, 1 = on */
14 + __u16 tx, ty; /* Top left corner coordinates of the text field */
15 + __u16 twidth, theight; /* Width and height of the text field */
20 --- linux-3.7/include/uapi/linux/fb.h.orig 2010-08-02 00:11:14.000000000 +0200
21 +++ linux-3.7/include/uapi/linux/fb.h 2010-08-04 08:51:32.242821619 +0200
24 #define FB_MAX 32 /* sufficient for now */
26 +struct fb_splash_iowrapper
28 + unsigned short vc; /* Virtual console */
29 + unsigned char origin; /* Point of origin of the request */
35 #define FBIOGET_VSCREENINFO 0x4600
37 #define FBIOGET_HWCINFO 0x4616
38 #define FBIOPUT_MODEINFO 0x4617
39 #define FBIOGET_DISPINFO 0x4618
40 +#define FBIOSPLASH_SETCFG _IOWR('F', 0x19, struct fb_splash_iowrapper)
41 +#define FBIOSPLASH_GETCFG _IOR('F', 0x1A, struct fb_splash_iowrapper)
42 +#define FBIOSPLASH_SETSTATE _IOWR('F', 0x1B, struct fb_splash_iowrapper)
43 +#define FBIOSPLASH_GETSTATE _IOR('F', 0x1C, struct fb_splash_iowrapper)
44 +#define FBIOSPLASH_SETPIC _IOWR('F', 0x1D, struct fb_splash_iowrapper)
45 #define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
47 +#define FB_SPLASH_THEME_LEN 128 /* Maximum lenght of a theme name */
48 +#define FB_SPLASH_IO_ORIG_KERNEL 0 /* Kernel ioctl origin */
49 +#define FB_SPLASH_IO_ORIG_USER 1 /* User ioctl origin */
51 #define FB_TYPE_PACKED_PIXELS 0 /* Packed Pixels */
52 #define FB_TYPE_PLANES 1 /* Non interleaved planes */
53 #define FB_TYPE_INTERLEAVED_PLANES 2 /* Interleaved planes */
54 --- a/include/uapi/linux/Kbuild
55 +++ b/include/uapi/linux/Kbuild
57 +header-y += console_splash.h