From patchwork Sat Mar 21 23:47:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Pagano X-Patchwork-Id: 11451463 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0CA7B1864 for ; Sat, 21 Mar 2020 23:47:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E9A8E20780 for ; Sat, 21 Mar 2020 23:47:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728075AbgCUXra (ORCPT ); Sat, 21 Mar 2020 19:47:30 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:38418 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728056AbgCUXra (ORCPT ); Sat, 21 Mar 2020 19:47:30 -0400 Received: from crazyhorse.localnet (pool-72-76-134-26.nwrknj.fios.verizon.net [72.76.134.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mpagano@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6022C34F180; Sat, 21 Mar 2020 23:47:29 +0000 (UTC) From: Mike Pagano To: linux-hwmon@vger.kernel.org Cc: etremblay@distech-controls.com Subject: [PATCH 1/1] hwmon: (tmp513) Fix build issue by selecting CONFIG_REGMAP and CONFIG_REGMAP_I2C Date: Sat, 21 Mar 2020 19:47:26 -0400 Message-ID: <3553433.LZWGnKmheA@crazyhorse> MIME-Version: 1.0 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org This driver requires REGMAP and REGMAP_I2C to build. Select both by default in Kconfig. Reported at gentoo bugzilla: https://bugs.gentoo.org/710790 Reported-by: Phil Stracchino Signed-off-by: Mike Pagano --- drivers/hwmon/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 47ac20aee06f..6edf8522447d 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1769,6 +1769,8 @@ config SENSORS_TMP421 config SENSORS_TMP513 tristate "Texas Instruments TMP513 and compatibles" depends on I2C + select REGMAP + select REGMAP_I2C help If you say yes here you get support for Texas Instruments TMP512, and TMP513 temperature and power supply sensor chips.