[MTD] [MAPS] Remove MODULE_DEVICE_TABLE() from ck804rom driver.
authorDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 26 Feb 2009 19:51:33 +0000 (04:51 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 26 Feb 2009 19:52:45 +0000 (04:52 +0900)
We really don't want the BIOS flash mapping hacks to get automatically
loaded.

No idea why it isn't using pci_register_driver() though -- that should
be fine... and is even _present_ but disabled by #if 0.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/ck804xrom.c

index 5f7a245ed13294b5038aaed76e4a1383debc49a6..424f17d6ffd1270bfae71befae6975781814f168 100644 (file)
@@ -342,9 +342,9 @@ static struct pci_device_id ck804xrom_pci_tbl[] = {
        { 0, }
 };
 
+#if 0
 MODULE_DEVICE_TABLE(pci, ck804xrom_pci_tbl);
 
-#if 0
 static struct pci_driver ck804xrom_driver = {
        .name =         MOD_NAME,
        .id_table =     ck804xrom_pci_tbl,