Skip to content

Commit

Permalink
[MTD] Kernel Janitor fixes.
Browse files Browse the repository at this point in the history
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Domen Puncer authored and Thomas Gleixner committed May 23, 2005
1 parent 4d95270 commit ff3bc4e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions drivers/mtd/maps/amd76xrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* amd76xrom.c
*
* 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>
Expand Down Expand Up @@ -314,7 +314,7 @@ static int __init init_amd76xrom(void)
}
return -ENXIO;
#if 0
return pci_module_init(&amd76xrom_driver);
return pci_register_driver(&amd76xrom_driver);
#endif
}

Expand Down
4 changes: 2 additions & 2 deletions drivers/mtd/maps/ichxrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* ichxrom.c
*
* 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>
Expand Down Expand Up @@ -366,7 +366,7 @@ static int __init init_ichxrom(void)
}
return -ENXIO;
#if 0
return pci_module_init(&ichxrom_driver);
return pci_register_driver(&ichxrom_driver);
#endif
}

Expand Down
4 changes: 2 additions & 2 deletions drivers/mtd/maps/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* it under the terms of the GNU General Public License version 2 as
* 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:
* - Intel IQ80310 ATU.
Expand Down Expand Up @@ -370,7 +370,7 @@ static struct pci_driver mtd_pci_driver = {

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)
Expand Down
4 changes: 2 additions & 2 deletions drivers/mtd/maps/scb2_flash.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* 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.
* Tim Hockin <thockin@sun.com>
*
Expand Down Expand Up @@ -238,7 +238,7 @@ static struct pci_driver scb2_flash_driver = {
static int __init
scb2_flash_init(void)
{
return pci_module_init(&scb2_flash_driver);
return pci_register_driver(&scb2_flash_driver);
}

static void __exit
Expand Down

0 comments on commit ff3bc4e

Please sign in to comment.