[PATCH -mm] MTD: ESB2ROM uses PCI

2006-11-28 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]>

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 <[EMAIL PROTECTED]>
---
 drivers/mtd/maps/Kconfig |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-rc6-mm2.orig/drivers/mtd/maps/Kconfig
+++ linux-2.6.19-rc6-mm2/drivers/mtd/maps/Kconfig
@@ -186,7 +186,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.


---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH -mm] MTD: ESB2ROM uses PCI

2006-11-28 Thread Randy Dunlap
From: Randy Dunlap [EMAIL PROTECTED]

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 [EMAIL PROTECTED]
---
 drivers/mtd/maps/Kconfig |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-rc6-mm2.orig/drivers/mtd/maps/Kconfig
+++ linux-2.6.19-rc6-mm2/drivers/mtd/maps/Kconfig
@@ -186,7 +186,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.


---
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/