From patchwork Wed Jul 20 10:37:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101996 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp574370qga; Wed, 20 Jul 2016 03:40:26 -0700 (PDT) X-Received: by 10.98.10.71 with SMTP id s68mr55224982pfi.110.1469011226148; Wed, 20 Jul 2016 03:40:26 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x87si2790939pfa.79.2016.07.20.03.40.25; Wed, 20 Jul 2016 03:40:26 -0700 (PDT) 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 S1753952AbcGTKkQ (ORCPT + 29 others); Wed, 20 Jul 2016 06:40:16 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:49453 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752313AbcGTKkJ (ORCPT ); Wed, 20 Jul 2016 06:40:09 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0M7bux-1bAkJG0vCB-00xO75; Wed, 20 Jul 2016 12:38:13 +0200 From: Arnd Bergmann To: Jean Delvare , Guenter Roeck Cc: Arnd Bergmann , Thilo Cestonaro , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hwmon: ftsteutates: add watchdog dependency Date: Wed, 20 Jul 2016 12:37:42 +0200 Message-Id: <20160720103809.2643157-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:Sbx9Yy1iZoamEQr3O0k8yX7lt74H7d5BEZNZx6IgA4iVmTNYMwO SAclN1FaKJ8YjSS2A0Jsjd5X+feTlU4rdhsbVkL4D5jTDxSQirBhhzg1a1sqBGx64Y2fsIc /bz4q7b6rc479t7ijXICEIND/MymdgWpP8mpE6q7Sc1oVipT1/+G7/THGHOLo+2utTnMyhj PX4EoUc42zDl0CAdHpPuw== X-UI-Out-Filterresults: notjunk:1; V01:K0:FmG53b+2kE8=:fhvR47aNXXW7hI3TSoeZeD fS1ipOLIqlCY2aXzartjlT4ZCl+i98ZIPvVKF7rP8+RO4qFVot9yXuuTL0bZHzXJAx5GLQ2HI A3XT6RQZs1ZSxmlEfamj1rqyUaf6lyxGqtF8cjBGtN2t8Tv/CUpGeLjga5z8ZG90Bc720iki+ 4nP/pM47/KAEm3wX/Vvw9dBzufdOlNItC8+38BWQ0iPhRQ9RTa/ya7MjMGR+8Q912K/b5+Dfc yYRe/kjPfjXRamcuu6NFSczmiqPfR4uKOhsC8aWihlNNLlAuqqOg5n2DgrUTIw30lKa3oSwNq 8yANpf9nMfow5LzBpONIml9Z3Qu/5fuftvRmQPyCWo89S73b8JSj0inDIz+WrdQDmMD5slrip uD4CAZyCv5iiCmv1fxrVbPCEdALT31rNUHc753jz2Xwgk+I4g/XN/a3DS/2CoXJUFUxi7icUu +aA4qKR6DIQuzauEG0gW5TBiRMU9/xj0XmVcy2rh+xyTvqD4aoQMPEQEl8vd7x7YRzmlxYge2 5zEs/TyjOgVRRfzsQHHLG2Smw7fGXp6rczL8bpvF7m0V1B8dfsjmAlb+L1e8J9CLRKUccDPAg HOfkNCq1iLpBZP6p1Xy4Oz1D74pswqkqhb/w/jeDmtudJdrpd2hghUH0B4dNH68ByYGQ0gk5D g17JNkdWvrvOebSaMzIhfT4ndbYLSG6+jUC/jUQXPTODGZwz7rxBoabWgCqj17od3/TM= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The newly added fts "Teutates" hwmon chip contains a watchdog but fails to link when the watchdog subsystem is disabled: drivers/hwmon/built-in.o: In function `fts_remove': :(.text+0x161d8): undefined reference to `watchdog_unregister_device' drivers/hwmon/built-in.o: In function `fts_probe': :(.text+0x16cb4): undefined reference to `watchdog_register_device' This adds a Kconfig dependency in the same way that the other similar drivers have. Signed-off-by: Arnd Bergmann Fixes: ec9268ba1a96 ("hwmon: Add driver for FTS BMC chip "Teutates"") --- drivers/hwmon/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.9.0 diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 15479eb15fa2..eaf2f916d48c 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -488,7 +488,8 @@ config SENSORS_FSCHMD config SENSORS_FTSTEUTATES tristate "Fujitsu Technology Solutions sensor chip Teutates" - depends on I2C + depends on I2C && WATCHDOG + select WATCHDOG_CORE help If you say yes here you get support for the Fujitsu Technology Solutions (FTS) sensor chip "Teutates" including support for