From: Randy Dunlap Date: Mon, 4 Dec 2006 23:03:00 +0000 (-0800) Subject: [MTD] ESB2ROM uses PCI X-Git-Tag: v2.6.20-rc6~47^2~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dffbc42b5adfc77a4165de9f170304eb596de3f4;p=linux-2.6 [MTD] ESB2ROM uses PCI 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 Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig index 4a51a3d639..7aac68a62f 100644 --- a/drivers/mtd/maps/Kconfig +++ b/drivers/mtd/maps/Kconfig @@ -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.