diff options
Diffstat (limited to 'drivers/video/hitfb.c')
-rw-r--r-- | drivers/video/hitfb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/hitfb.c b/drivers/video/hitfb.c index e7116a6d82d3..393f3f3d3dfe 100644 --- a/drivers/video/hitfb.c +++ b/drivers/video/hitfb.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/string.h> | 17 | #include <linux/string.h> |
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | #include <linux/slab.h> | ||
20 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
21 | #include <linux/init.h> | 20 | #include <linux/init.h> |
22 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
@@ -325,7 +324,7 @@ static struct fb_ops hitfb_ops = { | |||
325 | .fb_imageblit = cfb_imageblit, | 324 | .fb_imageblit = cfb_imageblit, |
326 | }; | 325 | }; |
327 | 326 | ||
328 | static int __init hitfb_probe(struct platform_device *dev) | 327 | static int __devinit hitfb_probe(struct platform_device *dev) |
329 | { | 328 | { |
330 | unsigned short lcdclor, ldr3, ldvndr; | 329 | unsigned short lcdclor, ldr3, ldvndr; |
331 | struct fb_info *info; | 330 | struct fb_info *info; |
@@ -456,7 +455,7 @@ static int hitfb_resume(struct device *dev) | |||
456 | return 0; | 455 | return 0; |
457 | } | 456 | } |
458 | 457 | ||
459 | static struct dev_pm_ops hitfb_dev_pm_ops = { | 458 | static const struct dev_pm_ops hitfb_dev_pm_ops = { |
460 | .suspend = hitfb_suspend, | 459 | .suspend = hitfb_suspend, |
461 | .resume = hitfb_resume, | 460 | .resume = hitfb_resume, |
462 | }; | 461 | }; |