Commit ff3bc4eb authored by Domen Puncer's avatar Domen Puncer Committed by Thomas Gleixner

[MTD] Kernel Janitor fixes.

Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 4d952709
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* amd76xrom.c * amd76xrom.c
* *
* Normal mappings of chips in physical memory * Normal mappings of chips in physical memory
* $Id: amd76xrom.c,v 1.19 2004/11/28 09:40:39 dwmw2 Exp $ * $Id: amd76xrom.c,v 1.20 2005/03/18 14:04:35 gleixner Exp $
*/ */
#include <linux/module.h> #include <linux/module.h>
...@@ -314,7 +314,7 @@ static int __init init_amd76xrom(void) ...@@ -314,7 +314,7 @@ static int __init init_amd76xrom(void)
} }
return -ENXIO; return -ENXIO;
#if 0 #if 0
return pci_module_init(&amd76xrom_driver); return pci_register_driver(&amd76xrom_driver);
#endif #endif
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ichxrom.c * ichxrom.c
* *
* Normal mappings of chips in physical memory * Normal mappings of chips in physical memory
* $Id: ichxrom.c,v 1.16 2004/11/28 09:40:39 dwmw2 Exp $ * $Id: ichxrom.c,v 1.17 2005/03/18 14:04:35 gleixner Exp $
*/ */
#include <linux/module.h> #include <linux/module.h>
...@@ -366,7 +366,7 @@ static int __init init_ichxrom(void) ...@@ -366,7 +366,7 @@ static int __init init_ichxrom(void)
} }
return -ENXIO; return -ENXIO;
#if 0 #if 0
return pci_module_init(&ichxrom_driver); return pci_register_driver(&ichxrom_driver);
#endif #endif
} }
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* it under the terms of the GNU General Public License version 2 as * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation. * published by the Free Software Foundation.
* *
* $Id: pci.c,v 1.9 2004/11/28 09:40:40 dwmw2 Exp $ * $Id: pci.c,v 1.10 2005/03/18 14:04:35 gleixner Exp $
* *
* Generic PCI memory map driver. We support the following boards: * Generic PCI memory map driver. We support the following boards:
* - Intel IQ80310 ATU. * - Intel IQ80310 ATU.
...@@ -370,7 +370,7 @@ static struct pci_driver mtd_pci_driver = { ...@@ -370,7 +370,7 @@ static struct pci_driver mtd_pci_driver = {
static int __init mtd_pci_maps_init(void) static int __init mtd_pci_maps_init(void)
{ {
return pci_module_init(&mtd_pci_driver); return pci_register_driver(&mtd_pci_driver);
} }
static void __exit mtd_pci_maps_exit(void) static void __exit mtd_pci_maps_exit(void)
......
/* /*
* MTD map driver for BIOS Flash on Intel SCB2 boards * MTD map driver for BIOS Flash on Intel SCB2 boards
* $Id: scb2_flash.c,v 1.11 2004/11/28 09:40:40 dwmw2 Exp $ * $Id: scb2_flash.c,v 1.12 2005/03/18 14:04:35 gleixner Exp $
* Copyright (C) 2002 Sun Microsystems, Inc. * Copyright (C) 2002 Sun Microsystems, Inc.
* Tim Hockin <thockin@sun.com> * Tim Hockin <thockin@sun.com>
* *
...@@ -238,7 +238,7 @@ static struct pci_driver scb2_flash_driver = { ...@@ -238,7 +238,7 @@ static struct pci_driver scb2_flash_driver = {
static int __init static int __init
scb2_flash_init(void) scb2_flash_init(void)
{ {
return pci_module_init(&scb2_flash_driver); return pci_register_driver(&scb2_flash_driver);
} }
static void __exit static void __exit
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment