Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2212702ybt; Mon, 15 Jun 2020 23:16:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUJQH6eqTPMDgKHiJLGz6zCVx+EIqZLIEP23HU7+2D9jAHMKkDS6wq/th7PTusFeryVrx1 X-Received: by 2002:a17:907:33ce:: with SMTP id zk14mr1302183ejb.2.1592288165525; Mon, 15 Jun 2020 23:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592288165; cv=none; d=google.com; s=arc-20160816; b=MjPfw+hawcjHnfLKwGWQKmGK6GoH80AFoJMYuAFu7XiPTJarODg7Y59bKwIxJP4LBU u4gs3cPyyS0QQUKmwtUe08JPbeAVGQhwHp8BaJLATqD09Fiy9EZDnRoNfbblKPg8cl7e tJYh+mF1iWAF2JCAGvmv85a2iRSC8M8E/YalpKD6K3aYHRtz0wB8EMtf9nlLnS8VCp0L vF4RcASB2KXK3c0trQfQooiUE5eZawuMB1jEINjgYU4EKfBTw/Ni+/svFNvm/lYy1osR 1p3A0mhi5VkFJ7bwE3ECelY0m/escW3+US4xsohCQdsE4H0DgmPET8i4SK0nv5xCMK2p Soew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=tafn8tgvook2kdsU5HvJlEK8LMOFG+C0LcPeZd052n0=; b=gDexxYnBgJS5XbMQfQDOzHMwiNjHz/SgSTo9DXr9Xf9yaWOV1RM5Cdp9YBPLqpKVgb HhS3HB8weYX22zuYXiGChYgM6WTbSKi37yhVPnrNxggKcM+Tc1rxb+Gcf8O5/kE6uuty QOruQlHPeaYmup4hRAGbKRHZ7u0Xf6hkxiM7e29g2DIOXPFdMjwrGBL/levai2vt0fEw wI/Ttk0VafdrK8l/iYdMnH1iiaeHEFA+uyz2PMw0S3eXOAb2EV4N6z3W1/fLTp//JKti K8agT//w1GzIWVEzou5hk67Lf+VZbT86V6v3FIZHXGvhE6h94Dcj26OvjKFUAWpxJnWX HK4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xMAoHVNp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y16si9896331ejw.501.2020.06.15.23.15.43; Mon, 15 Jun 2020 23:16:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xMAoHVNp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727790AbgFPGNv (ORCPT + 99 others); Tue, 16 Jun 2020 02:13:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727119AbgFPGNs (ORCPT ); Tue, 16 Jun 2020 02:13:48 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D84BEC05BD43 for ; Mon, 15 Jun 2020 23:13:47 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id k6so2960524pll.9 for ; Mon, 15 Jun 2020 23:13:47 -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:in-reply-to:references; bh=tafn8tgvook2kdsU5HvJlEK8LMOFG+C0LcPeZd052n0=; b=xMAoHVNpffLY2lyTJD9QbeN8KTyRSaCCjkC1E0u2VIy0nIWcP5sclAiUAnyOV5gxo7 oUZ5I8XHEKUPI5HHxhiuB3+rhaj6tORHBTO43Z+tK6rGQ9KB52CJoor8yhS92yQgrJE5 UsjsHN6CB7p6Wvnm/t05rV2XL0Eo3w/Gkepsz9Lk2uCVqEdP/Onw398cCpRDh4z/aPsk 5kwkQUlYMQYiuf9ijlJaEIfoKmdY1YHHs4x+UsDUtjNA4biCYzwLJRQYBD8q1MHKJKT7 XGf7sL+4v7hVAdKG6ictgI5vbmId+R5Vnm1ZlDViPyMrg6hBsc/jbJsngf/Sj51SRZS+ AcAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=tafn8tgvook2kdsU5HvJlEK8LMOFG+C0LcPeZd052n0=; b=ptEP5+yZTgU/rzOUlJ+QagX0brCpF7JJwF071DncLY0SadfLGDOLL/x2Kig6gGBI/8 mXReZ0ttmtHeGG7ogPiFJrZIVEvSGEjyqJmMptv8QRRgPAbTnBFuYY3F17W8h7VoFgzU Rrfr4sNLQSOmXLGfwZk/6AzdTT9kss8K2I/hjeAV6Sz+0izFp2uhom4DFF7O2jjAezRD f0paJ2UqpH+OlS5H3dKHdTGTt2kQIsLZn1GLUKPwj9OP52xU8VkLapJSJ6f0dECByjk2 llRGSrr7Fn5TrfWHno509NX2/F78zSZaAy4EunwzhDYNAF0NVEBJo4MyBUTEFcaow5Yv Q5/Q== X-Gm-Message-State: AOAM531xkqFBeRibVQzCOFSDgjcKvxzyQjxE7ctlYOS8duS/d/UT/bnm Wiic/f74v/iu0//tW0XUpo7cPOqX4B8= X-Received: by 2002:a17:902:8f98:: with SMTP id z24mr796330plo.123.1592288027157; Mon, 15 Jun 2020 23:13:47 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:692:26ff:feda:3a81]) by smtp.gmail.com with ESMTPSA id i26sm15642032pfo.0.2020.06.15.23.13.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jun 2020 23:13:46 -0700 (PDT) From: John Stultz To: lkml Cc: John Stultz , Andy Gross , Bjorn Andersson , Joerg Roedel , Thomas Gleixner , Jason Cooper , Marc Zyngier , Linus Walleij , Lina Iyer , Saravana Kannan , Todd Kjos , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, iommu@lists.linux-foundation.org, linux-gpio@vger.kernel.org Subject: [RFC][PATCH 4/5] pinctrl: qcom: Allow pinctrl-msm code to be loadable as a module Date: Tue, 16 Jun 2020 06:13:37 +0000 Message-Id: <20200616061338.109499-5-john.stultz@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200616061338.109499-1-john.stultz@linaro.org> References: <20200616061338.109499-1-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tweaks to allow pinctrl-msm code to be loadable as a module. This is needed in order to support having the qcom-scm driver, which pinctrl-msm calls into, configured as a module. Cc: Andy Gross Cc: Bjorn Andersson Cc: Joerg Roedel Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: Linus Walleij Cc: Lina Iyer Cc: Saravana Kannan Cc: Todd Kjos Cc: Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org Cc: iommu@lists.linux-foundation.org Cc: linux-gpio@vger.kernel.org Signed-off-by: John Stultz --- drivers/pinctrl/qcom/Kconfig | 2 +- drivers/pinctrl/qcom/pinctrl-msm.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig index ff1ee159dca2..5a7e1bc621e6 100644 --- a/drivers/pinctrl/qcom/Kconfig +++ b/drivers/pinctrl/qcom/Kconfig @@ -2,7 +2,7 @@ if (ARCH_QCOM || COMPILE_TEST) config PINCTRL_MSM - bool + tristate select PINMUX select PINCONF select GENERIC_PINCONF diff --git a/drivers/pinctrl/qcom/pinctrl-msm.c b/drivers/pinctrl/qcom/pinctrl-msm.c index 83b7d64bc4c1..54a226f682e9 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.c +++ b/drivers/pinctrl/qcom/pinctrl-msm.c @@ -1355,3 +1355,6 @@ int msm_pinctrl_remove(struct platform_device *pdev) } EXPORT_SYMBOL(msm_pinctrl_remove); +MODULE_DESCRIPTION("Qualcomm Technologies, Inc. pinctrl-msm driver"); +MODULE_LICENSE("GPL v2"); + -- 2.17.1