From patchwork Fri Oct 21 17:56:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Scott X-Patchwork-Id: 9389839 X-Patchwork-Delegate: agross@codeaurora.org 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 2E4D560780 for ; Fri, 21 Oct 2016 17:56:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26BB729EB1 for ; Fri, 21 Oct 2016 17:56:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1B76D2A18F; Fri, 21 Oct 2016 17:56:20 +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 A548829EB1 for ; Fri, 21 Oct 2016 17:56:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934754AbcJUR4S (ORCPT ); Fri, 21 Oct 2016 13:56:18 -0400 Received: from mail-yw0-f170.google.com ([209.85.161.170]:33254 "EHLO mail-yw0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934706AbcJUR4S (ORCPT ); Fri, 21 Oct 2016 13:56:18 -0400 Received: by mail-yw0-f170.google.com with SMTP id t192so107634285ywf.0 for ; Fri, 21 Oct 2016 10:56:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=C0ZdtwXqaJa6UNUqOiLiU0BTcOENLX6VGQaY1Du8xDY=; b=SYu/vAT9gmQ3f4Xd6gksr2ujUPERG0ykiNvn9QI8rtdKarcUuEHW+1d0CpchnmctRX xc2Oe8fLNkGwB9CDtpy8UDqkCYL+KFKuacBUTfVk8RfoGlVYHo3UKh8ICk84BCU7EhdN DWNwGMtbkwLzhEXDCnfrIbwki5bG1KFAuX9ac= 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=C0ZdtwXqaJa6UNUqOiLiU0BTcOENLX6VGQaY1Du8xDY=; b=M2CqCh9ncb2yIfJLW84F6w1FgliLpLVEgLE7j0r7OzXBkYCeEvWoMaMpOryTl9bPRj j3wsuLb/wHUIFR1xG3R6qtRFGo2ym9ZvNlNX6PTnvCY1xzd3Kxw+jv/S0fi9N7303kwU HMRQhqHV/L6dya7PuruwdANykL7VCGXXX8/l72EPvc+gSgVJK7sbaXzDHBYo19gFKeE9 YymiTT/6/ncsjePwLMu1H0MR0TpEzy6/tijewa99S8xqzw6QAHr0Szf9fmBCh2SW/6YG nXOLDsL5cf2Ub9eRPJ457OoRFLKvmMUEhpY/APEvaXkUEmLFjxok4zYSMR+eXCcOQh6H N8JQ== X-Gm-Message-State: AA6/9RmccGZ1Q3iD4rGjUQv1mb30ekxRYXxhfaPIBUAL1FjORVvd3sDKWGGg8FAHPnH82SlU X-Received: by 10.202.198.6 with SMTP id w6mr11560497oif.187.1477072577203; Fri, 21 Oct 2016 10:56:17 -0700 (PDT) Received: from localhost.localdomain (107-198-5-8.lightspeed.irvnca.sbcglobal.net. [107.198.5.8]) by smtp.googlemail.com with ESMTPSA id d143sm1107672oib.5.2016.10.21.10.56.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Oct 2016 10:56:16 -0700 (PDT) From: Michael Scott To: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Cc: Catalin Marinas , Will Deacon , Michael Scott Subject: [PATCH] arm64: qcom: enable GPIOLIB in Kconfig Date: Fri, 21 Oct 2016 10:56:08 -0700 Message-Id: <20161021175608.19073-1-michael.scott@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP While debugging a kernel image size issue, I discovered that if all non ARCH_QCOM configs in the ARM64 defconfig are disabled, the QCOM pinctrl drivers will not be built. The QCOM pinctrl drivers have a dependency on GPIOLIB which was being selected when other ARCH configs were enabled, but ARCH_QCOM doesn't select GPIOLIB directly. Let's select GPIOLIB here to ensure the pinctrl drivers are built for QCOM platforms. Signed-off-by: Michael Scott --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index cfbdf02..e9fc226 100644 --- a/arch/arm64/Kconfig.platforms +++ b/arch/arm64/Kconfig.platforms @@ -113,6 +113,7 @@ config ARCH_MVEBU config ARCH_QCOM bool "Qualcomm Platforms" + select GPIOLIB select PINCTRL help This enables support for the ARMv8 based Qualcomm chipsets.