[MTD] ESB2ROM uses PCI

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Dec 10 06:59:01 EST 2006


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=dffbc42b5adfc77a4165de9f170304eb596de3f4
Commit:     dffbc42b5adfc77a4165de9f170304eb596de3f4
Parent:     a2c2fe4b242cb9c62951ae154594cffbb94ab2ad
Author:     Randy Dunlap <randy.dunlap at oracle.com>
AuthorDate: Mon Dec 4 15:03:00 2006 -0800
Committer:  David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sun Dec 10 11:43:21 2006 +0000

    [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 <randy.dunlap at oracle.com>
    Signed-off-by: Andrew Morton <akpm at osdl.org>
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 drivers/mtd/maps/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 4a51a3d..7aac68a 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.



More information about the linux-mtd-cvs mailing list