diff options
author | Domen Puncer <dome@coderock.org> | 2005-03-18 09:04:38 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-05-23 06:57:48 -0400 |
commit | ff3bc4eb94ec3d2ce6e8f615d38c94151ccb6553 (patch) | |
tree | 7fedb64361e5fa30638073d9288ee92e17cf2bc9 /drivers/mtd/maps/pci.c | |
parent | 4d9527096e2e5da7bec4b6a276fdb05086b6c395 (diff) |
[MTD] Kernel Janitor fixes.
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/maps/pci.c')
-rw-r--r-- | drivers/mtd/maps/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |