From patchwork Mon Jan 25 16:06:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101105 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1446161lbb; Mon, 25 Jan 2016 08:08:33 -0800 (PST) X-Received: by 10.66.219.38 with SMTP id pl6mr26710076pac.147.1453738113790; Mon, 25 Jan 2016 08:08:33 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wl2si34450181pab.236.2016.01.25.08.08.33; Mon, 25 Jan 2016 08:08:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933514AbcAYQIb (ORCPT + 30 others); Mon, 25 Jan 2016 11:08:31 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:57373 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933162AbcAYQIE (ORCPT ); Mon, 25 Jan 2016 11:08:04 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue001) with ESMTPA (Nemesis) id 0MDHlU-1aKU112ohQ-00GYBr; Mon, 25 Jan 2016 17:06:35 +0100 From: Arnd Bergmann To: Wim Van Sebroeck Cc: linux-arm-kernel@lists.infradead.org, James Hogan , Andrew Bresticker , Naidu Tellapati , Ezequiel Garcia , Arnd Bergmann , Guenter Roeck , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] watchdog: imgdpc: select WATCHDOG_CORE Date: Mon, 25 Jan 2016 17:06:27 +0100 Message-Id: <1453737991-1960626-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 X-Provags-ID: V03:K0:E6llMmk7GSYJtuaE9eHtfyWupvYFfn+Nabt0h+08YP743Y2ZCm6 Mtlx50yWsTBoJ9o0mxLYjDASfndkAuEE2EvCXNxKAk0IOoDhM9Pn1NW4vvrM4hj5JcBd/OD d6rb/r7EmO8jEG1sPSi4xeIbdyeUu9wVvQn52iPCMuScEwgIbDwBm/do0B5JDyYnQkma9jr 0qvMEw1/v43TrSTRBrNOw== X-UI-Out-Filterresults: notjunk:1; V01:K0:U27FKp/QGDM=:OjySeQ1I4X+IgK2oFgCPr9 7CCC/Vb+QOwo8aOTqRq73hT8dt3p+cO+ZT2vMoQXESDf50IjuOLtmCmMaJapCBERXTlsbe3s4 jBycuCKp+aJ1GdN60WIkd1hXWpB6LXKWCT946SpRBPknvFyqPeBN9ZqS/yhMH8hH7HlTOflEm 31MjDjGMshOowGA8BrWr8F/sYpaEg2ZqOLzyIRA0rsgIcPPCx4lHJ9VnsOLGC3yhohYXmCUje QeuRSxmR3dxDjbcgCaFb9Ou3DbZQsvrqg/jxPlPBPL1pMwimGAJ9I2Mrz66/DtsVvJEr1F1vl b+8ofEy2glzrwZW4prZqWqehmbiD2/HuqHy6Jk1wEswEeuntE4MWwjhhyOXaTqIJYQvgv+Otb p1ZH8ENKFigCR39d2P/RJpVJ5SU+ERVnHmkt9bCP3ehc2h5yiVN/q73JiIx8EOAsbVw/bsfyL VF7Ri54YeWFHfc2uK8STTKx3PxqTpUhQ3/8JNM1DCrK75bayyrpLW0mG21y757Pkb69YrJVa3 Gv/Sgjr4iidbaExOq6VqvVDaJ13XA/UFEwXMFeFG9aJa5u5ts3fuW4d6oQd0aSTo3mtL//z9u r56H9OsfkdJgaE3SstumidMmHaparJt5M3rgji/qTSCKB6Bfhrmvi6ZVNuU7k1KxbVnA9bGdk Yvd/JEB2CQS1IU1oVxME01D95aTdFyBi1vSJNkNuyTK2xREVAPmboFuxHyc/woqLbmq4= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The imgpdc_wdt driver can be built on all architectures with CONFIG_COMPILE_TEST, but fails if no other watchdog driver is enabled: drivers/watchdog/built-in.o: In function `pdc_wdt_remove': imgpdc_wdt.c:(.text+0x74): undefined reference to `watchdog_unregister_device' This adds the normal 'select WATCHDOG_CORE' that is needed to ensure the driver always builds cleanly. Signed-off-by: Arnd Bergmann --- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 4f0e7be0da34..0dc61f1a552e 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -1383,6 +1383,7 @@ config IMGPDC_WDT tristate "Imagination Technologies PDC Watchdog Timer" depends on HAS_IOMEM depends on METAG || MIPS || COMPILE_TEST + select WATCHDOG_CORE help Driver for Imagination Technologies PowerDown Controller Watchdog Timer.