From patchwork Mon Jun 13 15:18:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102237 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1597266qgf; Mon, 13 Jun 2016 08:20:16 -0700 (PDT) X-Received: by 10.107.38.145 with SMTP id m139mr23984813iom.15.1465831216824; Mon, 13 Jun 2016 08:20:16 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qz3si18338777pab.82.2016.06.13.08.20.16; Mon, 13 Jun 2016 08:20:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424535AbcFMPUJ (ORCPT + 4 others); Mon, 13 Jun 2016 11:20:09 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:64716 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423957AbcFMPUI (ORCPT ); Mon, 13 Jun 2016 11:20:08 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0M2M3o-1bSlaX29JM-00s3ty; Mon, 13 Jun 2016 17:20:01 +0200 From: Arnd Bergmann To: Linus Walleij Cc: Arnd Bergmann , Laxman Dewangan , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] pinctrl: max77620: select PINMUX Date: Mon, 13 Jun 2016 17:18:35 +0200 Message-Id: <1465831250-2689101-2-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1465831250-2689101-1-git-send-email-arnd@arndb.de> References: <1465831250-2689101-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:6Dsdiw+DDMVjyuH2fV6Wu59p3tJb8dJeQ3rEBQBv3obC6ERi2KG +bODUJ2UFTKzkOJcl5iAksJxR5D0aUYPFjJNywFmaNRSclgPjKFS8FacPqqA1aBtryoSWtx MjvR2pP64vG4nltVCa0V3htRuOtVjbd7atLew/LpXrD/LOLzhCXoEpVLhgR1rnx5tXWJe6m a06N5irlSNoxJo/UMMfZA== X-UI-Out-Filterresults: notjunk:1; V01:K0:1LiGeret/pY=:Duo05p8MWYBBpiShL5YCDj 4pq7GDIkZRMbT67OdGmpUievzXjyO+yGl4lCCbroYX9SwrSL5fh2kGU4d6nJqF7vn0XPK61/m qWpUPdeHR6OOAftKYlD3Pew9X9kEwvMkDbacApeZjbkHmuglx/paqhwnd6EOVVJvgs0HP07Ao kVLjjM6YyHLGX1KAMmqa9Q9mvhHgzpFOB2xQeuAZ7GYbGcMKhO9RqR5NAt0ZUNyKNGcIDuvCr DjJLhq3m4jGaPv0D9VjmZ5BXVvwnV4lqCVib+riqhgFtIWnD2HqpwZByn1bAeazZdmpKFyEMF Lt/2BvRnxWrB+btNExPrs9oH0RRADrigIaQ6rBGnUDsvjlIV+TglajFXfrjPJLiIbR9iqf5W0 nDDAs+qlInATc24F6X5cufs2Ti5cwIzFaluiJ85OxBzhBr457AhHhxvBc3xnEp7LJq6baYKvF ljLIDbLBrgnjrV/D+8hUO8MmoGhLFN0lnrkrKUILBSZPzF/x2ySCQZ/TojgWvRcN0OnZ3PG0E aybHRriF+hB2eLewbPQ3yXFxuLzqWRACLC8CWgI2miyybZIxTTubFWuO4fTghuQcGVf/LRVd+ WUB8jDleUAgfOXRGTuVt+8THcUOEFwWA15MBg18TeRZxkGb8hzEsxAany8cAKQa51U/Uee/Cv tKvLxus0w5iTSYUyrqcdKSZSAwvxGObu1cM/sFRk+6tlAAFHmjXq7kmEsPfaFOkNY/lY= Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The recently added max77620 driver fails to build when CONFIG_PINMUX is not set: pinctrl/pinctrl-max77620.c:272:21: error: variable 'max77620_pinmux_ops' has initializer but incomplete type static const struct pinmux_ops max77620_pinmux_ops = { ^~~~~~~~~~ pinctrl/pinctrl-max77620.c:273:2: error: unknown field 'get_functions_count' specified in initializer This adds the Kconfig 'select' statement that was clearly meant to be there and is used in all other pinmux drivers. Signed-off-by: Arnd Bergmann --- drivers/pinctrl/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index ea25eeeceef1..78c9ed277a77 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -210,6 +210,7 @@ config PINCTRL_COH901 config PINCTRL_MAX77620 tristate "MAX77620/MAX20024 Pincontrol support" depends on MFD_MAX77620 + select PINMUX select GENERIC_PINCONF help Say Yes here to enable Pin control support for Maxim PMIC MAX77620.