summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-02-27 04:51:33 +0900
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-02-27 04:52:45 +0900
commitb50be33e42e2c87812b30aee1a2b2a5ac6cb3ffa (patch)
tree5e2da77ea97a510341d7cb13aeafe8b3057602c6 /drivers/mtd
parent4c41bd0ec953954158f92bed5d3062645062b98e (diff)
downloadblackbird-op-linux-b50be33e42e2c87812b30aee1a2b2a5ac6cb3ffa.tar.gz
blackbird-op-linux-b50be33e42e2c87812b30aee1a2b2a5ac6cb3ffa.zip
[MTD] [MAPS] Remove MODULE_DEVICE_TABLE() from ck804rom driver.
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>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/ck804xrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c
index 5f7a245ed132..424f17d6ffd1 100644
--- a/drivers/mtd/maps/ck804xrom.c
+++ b/drivers/mtd/maps/ck804xrom.c
@@ -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,
OpenPOWER on IntegriCloud