]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[MTD] Remove MODULE_DEVICE_TABLE() for ICHx flash driver
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 7 Jul 2005 10:26:24 +0000 (11:26 +0100)
committerThomas Gleixner <tglx@mtd.linutronix.de>
Thu, 7 Jul 2005 13:40:54 +0000 (15:40 +0200)
This prevents it from automatically getting loaded by hotplug because
we happen to notice you have this chipset. Let's stick with having to
load the drivers which let you overwrite your BIOS _manually_

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/mtd/maps/ichxrom.c

index 1800ceedf3809ce3cec8474df38e3ed66df3ceba..e505207cd4892918b27c59a3ccc2f00afc0c3c59 100644 (file)
@@ -2,7 +2,7 @@
  * ichxrom.c
  *
  * Normal mappings of chips in physical memory
- * $Id: ichxrom.c,v 1.17 2005/03/18 14:04:35 gleixner Exp $
+ * $Id: ichxrom.c,v 1.18 2005/07/07 10:26:20 dwmw2 Exp $
  */
 
 #include <linux/module.h>
@@ -338,9 +338,9 @@ static struct pci_device_id ichxrom_pci_tbl[] __devinitdata = {
        { 0, },
 };
 
+#if 0
 MODULE_DEVICE_TABLE(pci, ichxrom_pci_tbl);
 
-#if 0
 static struct pci_driver ichxrom_driver = {
        .name =         MOD_NAME,
        .id_table =     ichxrom_pci_tbl,