From patchwork Fri Dec 25 12:31:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58998 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp294482lbb; Fri, 25 Dec 2015 04:31:42 -0800 (PST) X-Received: by 10.98.8.82 with SMTP id c79mr36010902pfd.122.1451046702175; Fri, 25 Dec 2015 04:31:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u4si15133974pfa.154.2015.12.25.04.31.41; Fri, 25 Dec 2015 04:31:42 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753038AbbLYMbl (ORCPT + 4 others); Fri, 25 Dec 2015 07:31:41 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:33525 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752204AbbLYMbk (ORCPT ); Fri, 25 Dec 2015 07:31:40 -0500 Received: by mail-wm0-f42.google.com with SMTP id p187so199819784wmp.0 for ; Fri, 25 Dec 2015 04:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=C51ZVCjUA6fwMhZ1ful4gVboSa1oVbD9wfnyZ4ItOGo=; b=WO3RqZ4wLdnDLoaTDNwz5iRH4koboNflnOzwoVrBrZB8gpHhbXzTq6v6ydkyhSh61O N4KHtpeVhjzfZCA8f6bFODMg9gqV7RfDhPmpar1PXL8o19PYAy7ra1VsJsgXAbGfl9Gs 8zs87BcX/ML86jtXxMKcymwCOws289gzyc7rk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=C51ZVCjUA6fwMhZ1ful4gVboSa1oVbD9wfnyZ4ItOGo=; b=R8ov0YvQEYCeZh6XMqaxBRrj8OuLedw4yJiXG2hKvDIM2u+kiLj3lB8akGSHg5/GOY LP70+sdykYmDWLVnFK87pWLm/BJa+vb/emEc5VfjuD/okBVyYZYeXD9lDyoaC0/gn3Gh 6Vfe6A+Hj1YMM/mTkg4TctXkZn8CLS36FxUO5Y+Y6+k4rJgUujRkSZ2FlUisDmLQegpB J1nmQDfX76VWZI6uEQGE8E8Y3wJLNLApMY11LQscLkLJm8j5jusEShzd3ZbU5veygrLI N+f1P40K5zHtxcHlCTWOmtL9BdkPTeds2xC/kp/3r7//DEDHunjxH1GdNVNAWLTB3H1m 4cSA== X-Gm-Message-State: ALoCoQkPCcYiyYVMAtk2Sm4ja7IOjNe4QfvDl6XpkVIzPoq/BUw1nhK5Wtk45+g2d5/NO0cqIudkZSdLw3kojSU2T/VloUaN3Q== X-Received: by 10.194.110.35 with SMTP id hx3mr52380857wjb.0.1451046698895; Fri, 25 Dec 2015 04:31:38 -0800 (PST) Received: from localhost.localdomain (catv-80-99-35-196.catv.broadband.hu. [80.99.35.196]) by smtp.gmail.com with ESMTPSA id jm4sm44922387wjb.7.2015.12.25.04.31.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Dec 2015 04:31:38 -0800 (PST) From: Linus Walleij To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-gpio@vger.kernel.org, Linus Walleij , Stephen Boyd , Andy Gross , Mark Brown Subject: [PATCH] pinctrl: qcom: make PMIC drivers bool Date: Fri, 25 Dec 2015 13:31:10 +0100 Message-Id: <1451046670-11032-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org commit ab4256cfeab91569e1d96e7f0014538fe0845259 "pinctrl: qcom: pmic-gpio/mpp: of_irq_count() == npins" made the Qualcomm PMIC pin control drivers make use of of_irq_count() which is not an exported function, making modular builds fail. Fix this by marking the drivers as compiled-in/bool. Cc: Stephen Boyd Cc: Andy Gross Cc: Mark Brown Signed-off-by: Linus Walleij --- drivers/pinctrl/qcom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.4.3 -- 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/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index eeac8cba8a21..c658d9bce285 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -80,7 +80,7 @@ config PINCTRL_QDF2XXX Qualcomm Technologies QDF2xxx SOCs. config PINCTRL_QCOM_SPMI_PMIC - tristate "Qualcomm SPMI PMIC pin controller driver" + bool "Qualcomm SPMI PMIC pin controller driver" depends on GPIOLIB && OF && SPMI select REGMAP_SPMI select PINMUX @@ -93,7 +93,7 @@ config PINCTRL_QCOM_SPMI_PMIC devices are pm8841, pm8941 and pma8084. config PINCTRL_QCOM_SSBI_PMIC - tristate "Qualcomm SSBI PMIC pin controller driver" + bool "Qualcomm SSBI PMIC pin controller driver" depends on GPIOLIB && OF select PINMUX select PINCONF