lkml.org 
[lkml]   [2013]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH] watchdog: da9055_wdt needs to select WATCHDOG_CORE
    From: Randy Dunlap <rdunlap@infradead.org>

    DA9055_WATCHDOG needs to select WATCHDOG_CORE so that it will
    build cleanly. Fixes these build errors:

    da9055_wdt.c:(.text+0xe9bc7): undefined reference to `watchdog_unregister_device'
    da9055_wdt.c:(.text+0xe9f4b): undefined reference to `watchdog_register_device'

    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Cc: David Dajun Chen <dchen@diasemi.com>
    Cc: Wim Van Sebroeck <wim@iguana.be>
    Cc: linux-watchdog@vger.kernel.org
    ---
    drivers/watchdog/Kconfig | 1 +
    1 file changed, 1 insertion(+)

    Found in linux-next, but also applies to mainline.

    --- linux-next-20130128.orig/drivers/watchdog/Kconfig
    +++ linux-next-20130128/drivers/watchdog/Kconfig
    @@ -79,6 +79,7 @@ config DA9052_WATCHDOG
    config DA9055_WATCHDOG
    tristate "Dialog Semiconductor DA9055 Watchdog"
    depends on MFD_DA9055
    + select WATCHDOG_CORE
    help
    If you say yes here you get support for watchdog on the Dialog
    Semiconductor DA9055 PMIC.

    \
     
     \ /
      Last update: 2013-01-28 18:01    [W:3.174 / U:1.320 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site