[MTD] [MAPS] Remove MODULE_DEVICE_TABLE() from ck804rom driver.
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Thu Feb 26 14:59:02 EST 2009
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=b50be33e42e2c87812b30aee1a2b2a5ac6cb3ffa
Commit: b50be33e42e2c87812b30aee1a2b2a5ac6cb3ffa
Parent: 4c41bd0ec953954158f92bed5d3062645062b98e
Author: David Woodhouse <David.Woodhouse at intel.com>
AuthorDate: Fri Feb 27 04:51:33 2009 +0900
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Feb 27 04:52:45 2009 +0900
[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 at intel.com>
---
drivers/mtd/maps/ck804xrom.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/maps/ck804xrom.c b/drivers/mtd/maps/ck804xrom.c
index 5f7a245..424f17d 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,
More information about the linux-mtd-cvs
mailing list