[MTD] Kernel Janitor fixes.

Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Domen Puncer 2005-03-18 14:04:38 +00:00 committed by Thomas Gleixner
parent 4d9527096e
commit ff3bc4eb94
4 changed files with 8 additions and 8 deletions

View File

@ -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)
} }
return -ENXIO; return -ENXIO;
#if 0 #if 0
return pci_module_init(&amd76xrom_driver); return pci_register_driver(&amd76xrom_driver);
#endif #endif
} }

View File

@ -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)
} }
return -ENXIO; return -ENXIO;
#if 0 #if 0
return pci_module_init(&ichxrom_driver); return pci_register_driver(&ichxrom_driver);
#endif #endif
} }

View File

@ -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 = {
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)

View File

@ -1,6 +1,6 @@
/* /*
* 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 = {
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