diff options
Diffstat (limited to 'drivers/video/hpfb.c')
-rw-r--r-- | drivers/video/hpfb.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/video/hpfb.c b/drivers/video/hpfb.c index 7324865f965f..b802f93cef5d 100644 --- a/drivers/video/hpfb.c +++ b/drivers/video/hpfb.c | |||
@@ -206,8 +206,7 @@ static struct fb_ops hpfb_ops = { | |||
206 | #define HPFB_FBOMSB 0x5d /* Frame buffer offset */ | 206 | #define HPFB_FBOMSB 0x5d /* Frame buffer offset */ |
207 | #define HPFB_FBOLSB 0x5f | 207 | #define HPFB_FBOLSB 0x5f |
208 | 208 | ||
209 | static int __devinit hpfb_init_one(unsigned long phys_base, | 209 | static int hpfb_init_one(unsigned long phys_base, unsigned long virt_base) |
210 | unsigned long virt_base) | ||
211 | { | 210 | { |
212 | unsigned long fboff, fb_width, fb_height, fb_start; | 211 | unsigned long fboff, fb_width, fb_height, fb_start; |
213 | int ret; | 212 | int ret; |
@@ -327,7 +326,7 @@ unmap_screen_base: | |||
327 | /* | 326 | /* |
328 | * Initialise the framebuffer | 327 | * Initialise the framebuffer |
329 | */ | 328 | */ |
330 | static int __devinit hpfb_dio_probe(struct dio_dev * d, const struct dio_device_id * ent) | 329 | static int hpfb_dio_probe(struct dio_dev *d, const struct dio_device_id *ent) |
331 | { | 330 | { |
332 | unsigned long paddr, vaddr; | 331 | unsigned long paddr, vaddr; |
333 | 332 | ||
@@ -350,7 +349,7 @@ static int __devinit hpfb_dio_probe(struct dio_dev * d, const struct dio_device_ | |||
350 | return 0; | 349 | return 0; |
351 | } | 350 | } |
352 | 351 | ||
353 | static void __devexit hpfb_remove_one(struct dio_dev *d) | 352 | static void hpfb_remove_one(struct dio_dev *d) |
354 | { | 353 | { |
355 | unregister_framebuffer(&fb_info); | 354 | unregister_framebuffer(&fb_info); |
356 | if (d->scode >= DIOII_SCBASE) | 355 | if (d->scode >= DIOII_SCBASE) |
@@ -373,7 +372,7 @@ static struct dio_driver hpfb_driver = { | |||
373 | .name = "hpfb", | 372 | .name = "hpfb", |
374 | .id_table = hpfb_dio_tbl, | 373 | .id_table = hpfb_dio_tbl, |
375 | .probe = hpfb_dio_probe, | 374 | .probe = hpfb_dio_probe, |
376 | .remove = __devexit_p(hpfb_remove_one), | 375 | .remove = hpfb_remove_one, |
377 | }; | 376 | }; |
378 | 377 | ||
379 | int __init hpfb_init(void) | 378 | int __init hpfb_init(void) |