From: David Woodhouse Date: Thu, 26 Feb 2009 19:51:33 +0000 (+0900) Subject: [MTD] [MAPS] Remove MODULE_DEVICE_TABLE() from ck804rom driver. X-Git-Tag: MMI-PSA29.97-13-9~29421^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b50be33e42e2c87812b30aee1a2b2a5ac6cb3ffa;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [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 --- 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,