diff options
Diffstat (limited to 'drivers/mtd/maps/ichxrom.c')
-rw-r--r-- | drivers/mtd/maps/ichxrom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/maps/ichxrom.c b/drivers/mtd/maps/ichxrom.c index 29d1cc1bb426..e505207cd489 100644 --- a/drivers/mtd/maps/ichxrom.c +++ b/drivers/mtd/maps/ichxrom.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * ichxrom.c | 2 | * ichxrom.c |
3 | * | 3 | * |
4 | * Normal mappings of chips in physical memory | 4 | * Normal mappings of chips in physical memory |
5 | * $Id: ichxrom.c,v 1.16 2004/11/28 09:40:39 dwmw2 Exp $ | 5 | * $Id: ichxrom.c,v 1.18 2005/07/07 10:26:20 dwmw2 Exp $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
@@ -338,9 +338,9 @@ static struct pci_device_id ichxrom_pci_tbl[] __devinitdata = { | |||
338 | { 0, }, | 338 | { 0, }, |
339 | }; | 339 | }; |
340 | 340 | ||
341 | #if 0 | ||
341 | MODULE_DEVICE_TABLE(pci, ichxrom_pci_tbl); | 342 | MODULE_DEVICE_TABLE(pci, ichxrom_pci_tbl); |
342 | 343 | ||
343 | #if 0 | ||
344 | static struct pci_driver ichxrom_driver = { | 344 | static struct pci_driver ichxrom_driver = { |
345 | .name = MOD_NAME, | 345 | .name = MOD_NAME, |
346 | .id_table = ichxrom_pci_tbl, | 346 | .id_table = ichxrom_pci_tbl, |
@@ -366,7 +366,7 @@ static int __init init_ichxrom(void) | |||
366 | } | 366 | } |
367 | return -ENXIO; | 367 | return -ENXIO; |
368 | #if 0 | 368 | #if 0 |
369 | return pci_module_init(&ichxrom_driver); | 369 | return pci_register_driver(&ichxrom_driver); |
370 | #endif | 370 | #endif |
371 | } | 371 | } |
372 | 372 | ||