diff options
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/maps/amd76xrom.c | 4 | ||||
-rw-r--r-- | drivers/mtd/maps/ichxrom.c | 4 | ||||
-rw-r--r-- | drivers/mtd/maps/pci.c | 4 | ||||
-rw-r--r-- | drivers/mtd/maps/scb2_flash.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/drivers/mtd/maps/amd76xrom.c b/drivers/mtd/maps/amd76xrom.c index 51e97b05304e..e8a900a77685 100644 --- a/drivers/mtd/maps/amd76xrom.c +++ b/drivers/mtd/maps/amd76xrom.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * amd76xrom.c | 2 | * amd76xrom.c |
3 | * | 3 | * |
4 | * Normal mappings of chips in physical memory | 4 | * Normal mappings of chips in physical memory |
5 | * $Id: amd76xrom.c,v 1.19 2004/11/28 09:40:39 dwmw2 Exp $ | 5 | * $Id: amd76xrom.c,v 1.20 2005/03/18 14:04:35 gleixner Exp $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
@@ -314,7 +314,7 @@ static int __init init_amd76xrom(void) | |||
314 | } | 314 | } |
315 | return -ENXIO; | 315 | return -ENXIO; |
316 | #if 0 | 316 | #if 0 |
317 | return pci_module_init(&amd76xrom_driver); | 317 | return pci_register_driver(&amd76xrom_driver); |
318 | #endif | 318 | #endif |
319 | } | 319 | } |
320 | 320 | ||
diff --git a/drivers/mtd/maps/ichxrom.c b/drivers/mtd/maps/ichxrom.c index 29d1cc1bb426..1800ceedf380 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.17 2005/03/18 14:04:35 gleixner Exp $ |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/module.h> | 8 | #include <linux/module.h> |
@@ -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 | ||
diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c index 08b60bdc5381..18dbd3af1eaa 100644 --- a/drivers/mtd/maps/pci.c +++ b/drivers/mtd/maps/pci.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | * | 9 | * |
10 | * $Id: pci.c,v 1.9 2004/11/28 09:40:40 dwmw2 Exp $ | 10 | * $Id: pci.c,v 1.10 2005/03/18 14:04:35 gleixner Exp $ |
11 | * | 11 | * |
12 | * Generic PCI memory map driver. We support the following boards: | 12 | * Generic PCI memory map driver. We support the following boards: |
13 | * - Intel IQ80310 ATU. | 13 | * - Intel IQ80310 ATU. |
@@ -370,7 +370,7 @@ static struct pci_driver mtd_pci_driver = { | |||
370 | 370 | ||
371 | static int __init mtd_pci_maps_init(void) | 371 | static int __init mtd_pci_maps_init(void) |
372 | { | 372 | { |
373 | return pci_module_init(&mtd_pci_driver); | 373 | return pci_register_driver(&mtd_pci_driver); |
374 | } | 374 | } |
375 | 375 | ||
376 | static void __exit mtd_pci_maps_exit(void) | 376 | static void __exit mtd_pci_maps_exit(void) |
diff --git a/drivers/mtd/maps/scb2_flash.c b/drivers/mtd/maps/scb2_flash.c index 5bb3b600e5d0..97a8dfd69258 100644 --- a/drivers/mtd/maps/scb2_flash.c +++ b/drivers/mtd/maps/scb2_flash.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * MTD map driver for BIOS Flash on Intel SCB2 boards | 2 | * MTD map driver for BIOS Flash on Intel SCB2 boards |
3 | * $Id: scb2_flash.c,v 1.11 2004/11/28 09:40:40 dwmw2 Exp $ | 3 | * $Id: scb2_flash.c,v 1.12 2005/03/18 14:04:35 gleixner Exp $ |
4 | * Copyright (C) 2002 Sun Microsystems, Inc. | 4 | * Copyright (C) 2002 Sun Microsystems, Inc. |
5 | * Tim Hockin <thockin@sun.com> | 5 | * Tim Hockin <thockin@sun.com> |
6 | * | 6 | * |
@@ -238,7 +238,7 @@ static struct pci_driver scb2_flash_driver = { | |||
238 | static int __init | 238 | static int __init |
239 | scb2_flash_init(void) | 239 | scb2_flash_init(void) |
240 | { | 240 | { |
241 | return pci_module_init(&scb2_flash_driver); | 241 | return pci_register_driver(&scb2_flash_driver); |
242 | } | 242 | } |
243 | 243 | ||
244 | static void __exit | 244 | static void __exit |