mirror of https://gitee.com/openkylin/linux.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 <David.Woodhouse@intel.com>
This commit is contained in:
parent
4c41bd0ec9
commit
b50be33e42
|
@ -342,9 +342,9 @@ static struct pci_device_id ck804xrom_pci_tbl[] = {
|
||||||
{ 0, }
|
{ 0, }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if 0
|
||||||
MODULE_DEVICE_TABLE(pci, ck804xrom_pci_tbl);
|
MODULE_DEVICE_TABLE(pci, ck804xrom_pci_tbl);
|
||||||
|
|
||||||
#if 0
|
|
||||||
static struct pci_driver ck804xrom_driver = {
|
static struct pci_driver ck804xrom_driver = {
|
||||||
.name = MOD_NAME,
|
.name = MOD_NAME,
|
||||||
.id_table = ck804xrom_pci_tbl,
|
.id_table = ck804xrom_pci_tbl,
|
||||||
|
|
Loading…
Reference in New Issue