Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[MTD] Kernel Janitor fixes.

parent 4d952709
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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>
@@ -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
}

+2 −2
Original line number Diff line number Diff line
@@ -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>
@@ -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
}

+2 −2
Original line number Diff line number Diff line
@@ -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.
@@ -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)
+2 −2
Original line number Diff line number Diff line
/*
 * 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>
 *
@@ -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