From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: [PATCH 0/3] Make qcom pinctrl drivers tristate again Date: Wed, 6 Jan 2016 17:12:46 -0800 Message-ID: <1452129169-2014-1-git-send-email-sboyd@codeaurora.org> Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:60716 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751924AbcAGBMv (ORCPT ); Wed, 6 Jan 2016 20:12:51 -0500 Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Linus Walleij Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Greg Kroah-Hartman , Andy Gross One of my recent changes to the qcom pinctrl drivers introduced a module build failure due to of_irq_count() missing an export. Rob doesn't want us to export that API though, so this series introduces platform_irq_count() and uses it in the pinctrl drivers. Linus changed the Kconfig to bool so that the build failure went away, so I've reverted that patch here after we fix the build failure with the new API. Greg, please ack the first patch so it can go through Linus' tree. Cc: Rob Herring Cc: Greg Kroah-Hartman Cc: Andy Gross Stephen Boyd (3): driver-core: platform: Add platform_irq_count() pinctrl: qcom: Use platform_irq_count() instead of of_irq_count() Revert "pinctrl: qcom: make PMIC drivers bool" drivers/base/platform.c | 20 ++++++++++++++++++++ drivers/pinctrl/qcom/Kconfig | 4 ++-- drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4 +++- drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 4 +++- drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c | 9 ++++++--- drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c | 9 ++++++--- include/linux/platform_device.h | 1 + 7 files changed, 41 insertions(+), 10 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project