[MTD] ESB2ROM uses PCI
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 4 Dec 2006 23:03:00 +0000 (15:03 -0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 10 Dec 2006 11:43:21 +0000 (11:43 +0000)
ESB2ROM uses PCI interface functions.

With CONFIG_PCI=n:
drivers/mtd/maps/esb2rom.c: In function 'esb2rom_init_one':
drivers/mtd/maps/esb2rom.c:167: warning: implicit declaration of function 'pci_dev_get'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/maps/Kconfig

index 4a51a3d639be2cdfd600f52b47913f9888cac0e7..7aac68a62f8c495567c30187e70964481281bfe8 100644 (file)
@@ -195,7 +195,7 @@ config MTD_ICHXROM
 
 config MTD_ESB2ROM
         tristate "BIOS flash chip on Intel ESB Controller Hub 2"
-        depends on X86 && MTD_JEDECPROBE
+        depends on X86 && MTD_JEDECPROBE && PCI
         help
           Support for treating the BIOS flash chip on ESB2 motherboards
           as an MTD device - with this you can reprogram your BIOS.