From patchwork Sat May 27 13:54:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guenter Roeck X-Patchwork-Id: 9751917 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E41DE60249 for ; Sat, 27 May 2017 13:54:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D175428475 for ; Sat, 27 May 2017 13:54:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C470F2847C; Sat, 27 May 2017 13:54:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 427C328475 for ; Sat, 27 May 2017 13:54:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753148AbdE0Nyl (ORCPT ); Sat, 27 May 2017 09:54:41 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:39210 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbdE0Nyk (ORCPT ); Sat, 27 May 2017 09:54:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From:Sender: Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=b2dZCfXV2mE/fm8PYN2+erJdmfj1TadGdQQUOq2w/Hs=; b=1D+tNVaC1EKYobNl7NXU+NOCl1 CBFJ4ERvkuueArdgHd31ezxTc1iBnkF3OEfSAOT8KlaF7Z4ulMTuwGsg4ckC6EbfwXt2fHFxO57KC xalsMywFA6rPme9yzyTSUMw52v8Zkcgg1A/DwiS8Zyj0ySELbbPthVIGCF0b3IGIQi9lpEvsf1jEo iaaohZilbnnZaerQAMQ7naEZjlrzsSxFrjpnyY/8AtRLO8SLp0PgktocEQSLEb653HZIWIhRH0j3/ IEdKfpUdAkroTVLSveY8Mga3OMeRB5sYj4c8B5ou/C129FFC0A/aIhrTrtKo7QR0onkT67DVDY7Hx isDNqrDA==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:55926 helo=localhost) by bh-25.webhostbox.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1dEcAw-003EKo-I6; Sat, 27 May 2017 13:54:39 +0000 From: Guenter Roeck To: linux-hwmon@vger.kernel.org Cc: Joel Stanley , Jean Delvare , linux-kernel@vger.kernel.org, Jaghathiswari Rankappagounder Natarajan , Guenter Roeck Subject: [PATCH] hwmon: (aspeed-pwm-tacho) Select REGMAP Date: Sat, 27 May 2017 06:54:35 -0700 Message-Id: <1495893275-32017-1-git-send-email-linux@roeck-us.net> X-Mailer: git-send-email 2.7.4 X-Authenticated_sender: guenter@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net X-Authenticated-Sender: bh-25.webhostbox.net: guenter@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The driver uses regmap and thus has to select it to avoid build errors such as the following. drivers/hwmon/aspeed-pwm-tacho.c:337:21: error: variable 'aspeed_pwm_tacho_regmap_config' has initializer but incomplete type Signed-off-by: Guenter Roeck Acked-by: Joel Stanley --- drivers/hwmon/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 22d5eafd6815..5ef2814345ef 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -343,6 +343,7 @@ config SENSORS_ASB100 config SENSORS_ASPEED tristate "ASPEED AST2400/AST2500 PWM and Fan tach driver" + select REGMAP help This driver provides support for ASPEED AST2400/AST2500 PWM and Fan Tacho controllers.