From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752650AbcAGBMx (ORCPT ); Wed, 6 Jan 2016 20:12:53 -0500 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 From: Stephen Boyd 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 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> X-Mailer: git-send-email 2.6.3.369.g91ad409 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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