[MTD] CK804XROM must depend on PCI
authorakpm@osdl.org <akpm@osdl.org>
Thu, 25 Jan 2007 23:15:17 +0000 (15:15 -0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 11:40:06 +0000 (11:40 +0000)
commit862c93b991e7132bafb078ec7ab5a0dee9e27ae6
tree31e94c58168d0aa9ac3e90493c51ebbc9f964977
parentaa8f1278553c554f1fb3fd6fb0987dd547c7d7cf
[MTD] CK804XROM must depend on PCI

CONFIG_MTD_CK804XROM=y, CONFIG_PCI=n results in the following compile
error:

  CC      drivers/mtd/maps/ck804xrom.o
ck804xrom.c: In function 'ck804xrom_init_one':
ck804xrom.c:114: error: implicit declaration of function 'pci_dev_get'
ck804xrom.c:114: warning: assignment makes pointer from integer without a cast
make[4]: *** [drivers/mtd/maps/ck804xrom.o] Error 1

Considering what hardware this driver is driving, a dependency on PCI
also seems logical.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Ryan Jackson <rjackson@lnxi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/Kconfig