diff options
author | Bruno Prémont <bonbons@linux-vserver.org> | 2012-07-30 15:38:46 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-08-15 04:10:49 -0400 |
commit | 9966c37c467167f29850fd0a856fce7031353bf3 (patch) | |
tree | 12a8369d7ca0ba44260b94e14e7df084f04f2bce /drivers/hid/hid-picolcd.h | |
parent | fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205 (diff) |
HID: picoLCD: Replace own refcounting with fbdev's
Signed-off-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-picolcd.h')
-rw-r--r-- | drivers/hid/hid-picolcd.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/hid/hid-picolcd.h b/drivers/hid/hid-picolcd.h index 4ddb3188d5c8..9200be165526 100644 --- a/drivers/hid/hid-picolcd.h +++ b/drivers/hid/hid-picolcd.h | |||
@@ -96,7 +96,6 @@ struct picolcd_data { | |||
96 | u8 *fb_vbitmap; /* local copy of what was sent to PicoLCD */ | 96 | u8 *fb_vbitmap; /* local copy of what was sent to PicoLCD */ |
97 | u8 *fb_bitmap; /* framebuffer */ | 97 | u8 *fb_bitmap; /* framebuffer */ |
98 | struct fb_info *fb_info; | 98 | struct fb_info *fb_info; |
99 | struct fb_deferred_io fb_defio; | ||
100 | #endif /* CONFIG_HID_PICOLCD_FB */ | 99 | #endif /* CONFIG_HID_PICOLCD_FB */ |
101 | #ifdef CONFIG_HID_PICOLCD_LCD | 100 | #ifdef CONFIG_HID_PICOLCD_LCD |
102 | struct lcd_device *lcd; | 101 | struct lcd_device *lcd; |
@@ -179,8 +178,6 @@ int picolcd_init_framebuffer(struct picolcd_data *data); | |||
179 | 178 | ||
180 | void picolcd_exit_framebuffer(struct picolcd_data *data); | 179 | void picolcd_exit_framebuffer(struct picolcd_data *data); |
181 | 180 | ||
182 | void picolcd_fb_unload(void); | ||
183 | |||
184 | void picolcd_fb_refresh(struct picolcd_data *data); | 181 | void picolcd_fb_refresh(struct picolcd_data *data); |
185 | #define picolcd_fbinfo(d) ((d)->fb_info) | 182 | #define picolcd_fbinfo(d) ((d)->fb_info) |
186 | #else | 183 | #else |
@@ -195,9 +192,6 @@ static inline int picolcd_init_framebuffer(struct picolcd_data *data) | |||
195 | static inline void picolcd_exit_framebuffer(struct picolcd_data *data) | 192 | static inline void picolcd_exit_framebuffer(struct picolcd_data *data) |
196 | { | 193 | { |
197 | } | 194 | } |
198 | static inline void picolcd_fb_unload(void) | ||
199 | { | ||
200 | } | ||
201 | static inline void picolcd_fb_refresh(struct picolcd_data *data) | 195 | static inline void picolcd_fb_refresh(struct picolcd_data *data) |
202 | { | 196 | { |
203 | } | 197 | } |