diff options
Diffstat (limited to 'drivers/video/igafb.c')
| -rw-r--r-- | drivers/video/igafb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c index 15d200109446..d885c770eb84 100644 --- a/drivers/video/igafb.c +++ b/drivers/video/igafb.c | |||
| @@ -368,7 +368,7 @@ static int __init iga_init(struct fb_info *info, struct iga_par *par) | |||
| 368 | return 1; | 368 | return 1; |
| 369 | } | 369 | } |
| 370 | 370 | ||
| 371 | int __init igafb_init(void) | 371 | static int __init igafb_init(void) |
| 372 | { | 372 | { |
| 373 | struct fb_info *info; | 373 | struct fb_info *info; |
| 374 | struct pci_dev *pdev; | 374 | struct pci_dev *pdev; |
| @@ -531,6 +531,7 @@ int __init igafb_init(void) | |||
| 531 | iounmap(info->screen_base); | 531 | iounmap(info->screen_base); |
| 532 | kfree(par->mmap_map); | 532 | kfree(par->mmap_map); |
| 533 | kfree(info); | 533 | kfree(info); |
| 534 | return -ENODEV; | ||
| 534 | } | 535 | } |
| 535 | 536 | ||
| 536 | #ifdef CONFIG_SPARC | 537 | #ifdef CONFIG_SPARC |
| @@ -556,7 +557,7 @@ int __init igafb_init(void) | |||
| 556 | return 0; | 557 | return 0; |
| 557 | } | 558 | } |
| 558 | 559 | ||
| 559 | int __init igafb_setup(char *options) | 560 | static int __init igafb_setup(char *options) |
| 560 | { | 561 | { |
| 561 | char *this_opt; | 562 | char *this_opt; |
| 562 | 563 | ||
