diff options
Diffstat (limited to 'drivers/video/sbuslib.c')
| -rw-r--r-- | drivers/video/sbuslib.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/video/sbuslib.c b/drivers/video/sbuslib.c index 34ef859ee414..963a454b7074 100644 --- a/drivers/video/sbuslib.c +++ b/drivers/video/sbuslib.c | |||
| @@ -190,17 +190,6 @@ int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, | |||
| 190 | EXPORT_SYMBOL(sbusfb_ioctl_helper); | 190 | EXPORT_SYMBOL(sbusfb_ioctl_helper); |
| 191 | 191 | ||
| 192 | #ifdef CONFIG_COMPAT | 192 | #ifdef CONFIG_COMPAT |
| 193 | struct fbcmap32 { | ||
| 194 | int index; /* first element (0 origin) */ | ||
| 195 | int count; | ||
| 196 | u32 red; | ||
| 197 | u32 green; | ||
| 198 | u32 blue; | ||
| 199 | }; | ||
| 200 | |||
| 201 | #define FBIOPUTCMAP32 _IOW('F', 3, struct fbcmap32) | ||
| 202 | #define FBIOGETCMAP32 _IOW('F', 4, struct fbcmap32) | ||
| 203 | |||
| 204 | static int fbiogetputcmap(struct fb_info *info, unsigned int cmd, unsigned long arg) | 193 | static int fbiogetputcmap(struct fb_info *info, unsigned int cmd, unsigned long arg) |
| 205 | { | 194 | { |
| 206 | struct fbcmap32 __user *argp = (void __user *)arg; | 195 | struct fbcmap32 __user *argp = (void __user *)arg; |
| @@ -223,20 +212,6 @@ static int fbiogetputcmap(struct fb_info *info, unsigned int cmd, unsigned long | |||
| 223 | (unsigned long)p); | 212 | (unsigned long)p); |
| 224 | } | 213 | } |
| 225 | 214 | ||
| 226 | struct fbcursor32 { | ||
| 227 | short set; /* what to set, choose from the list above */ | ||
| 228 | short enable; /* cursor on/off */ | ||
| 229 | struct fbcurpos pos; /* cursor position */ | ||
| 230 | struct fbcurpos hot; /* cursor hot spot */ | ||
| 231 | struct fbcmap32 cmap; /* color map info */ | ||
| 232 | struct fbcurpos size; /* cursor bit map size */ | ||
| 233 | u32 image; /* cursor image bits */ | ||
| 234 | u32 mask; /* cursor mask bits */ | ||
| 235 | }; | ||
| 236 | |||
| 237 | #define FBIOSCURSOR32 _IOW('F', 24, struct fbcursor32) | ||
| 238 | #define FBIOGCURSOR32 _IOW('F', 25, struct fbcursor32) | ||
| 239 | |||
| 240 | static int fbiogscursor(struct fb_info *info, unsigned long arg) | 215 | static int fbiogscursor(struct fb_info *info, unsigned long arg) |
| 241 | { | 216 | { |
| 242 | struct fbcursor __user *p = compat_alloc_user_space(sizeof(*p)); | 217 | struct fbcursor __user *p = compat_alloc_user_space(sizeof(*p)); |
