lkml.org 
[lkml]   [2011]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH -next] watchdog: hpwdt depends on PCI
    From: Randy Dunlap <rdunlap@xenotime.net>

    hpwdt is a PCI driver so it should depend on PCI.
    Fixes these build errors:

    drivers/watchdog/hpwdt.c:762: error: implicit declaration of function 'pci_iomap'
    drivers/watchdog/hpwdt.c:762: warning: assignment makes pointer from integer without a cast
    drivers/watchdog/hpwdt.c:797: error: implicit declaration of function 'pci_iounmap'

    Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
    Cc: Wim Van Sebroeck <wim@iguana.be>
    Cc: Thomas Mingarelli <thomas.mingarelli@hp.com>
    ---
    drivers/watchdog/Kconfig | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux-next-20110716.orig/drivers/watchdog/Kconfig
    +++ linux-next-20110716/drivers/watchdog/Kconfig
    @@ -619,7 +619,7 @@ config IT87_WDT

    config HP_WATCHDOG
    tristate "HP ProLiant iLO2+ Hardware Watchdog Timer"
    - depends on X86
    + depends on X86 && PCI
    default m
    help
    A software monitoring watchdog and NMI sourcing driver. This driver

    \
     
     \ /
      Last update: 2011-07-16 21:29    [W:0.023 / U:88.724 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site