Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1792292ybt; Sat, 20 Jun 2020 23:05:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzehoszJM3l5hIVVgtaqhZGy3iY53RpTbR166KxU9m+7JEWlf1cu/apbRomD9iYPbA/JpBP X-Received: by 2002:a17:906:6686:: with SMTP id z6mr10190314ejo.258.1592719548136; Sat, 20 Jun 2020 23:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592719548; cv=none; d=google.com; s=arc-20160816; b=YCU30OBtavZHcowu8mMZ76DRJ3glqGX4Pd9io1rlehhf0O7jy8BVKqnlN4fbl4sRCZ IVqWt6/qUATXe3AtmfOCO1HpNDu/T/a2TG4z0tizh9BGPKpSND+GsNeAJUnxOWepO72O yOCGBjVfzgKE0IvWwqbuCZKlI/eHehPFC1Ds0OWRiTZlyNS102pf6FeYnJIj6Zm5GI8r RiBoGZU7pP6/pb90NMR+kA24IM/eVOY0zEVu0Us7/GD9aPRhFSd0u5U37KD1hJvSECLx WcNm70DPw2KDp3/AOvQMQWEy1YHG4ZHp4n5XZ1pTkO5rOx62ZwO6IIgr+CkXukGh2+xh 5lwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=E37Y5fbYX2B/AUZ69TRQLOn9ZrdWJ1PDTbytHbYw12I=; b=Sky8WRRhieALrRRuLm9s4tirRP/KpOfM1bLqWpji9Z4tip9UL0XLX7mPIc1OkWanh1 hey2xutmXf0nLjmV/u5T8dqX4bu0sfn/evhJJCX7fsPfKtB8zrYc0x+R7/G9S+61GC+I +0JhBBrnY4V7SuYY7Ve+QPx/n/2Xs9eMJnq5nhQJqIA4QWgYZEgqQafhfs2lFMs1HvFD nG5VX6pWsWgIDrR6Kg1PA6MJI4UUck9m2Ze4k59/GwUinEWYcS4YeeJxSCurrjF2XYyK 8ALdhNmA1LLsrl/buJYcmsQw+aqDsAedL7dHdv0MXPHOaEnuIPUg61UbBPJVhQ8Mz/Fn NBWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bEXtwFpl; 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 d11si7083693eds.416.2020.06.20.23.05.24; Sat, 20 Jun 2020 23:05:48 -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=bEXtwFpl; 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 S1729302AbgFUGDp (ORCPT + 99 others); Sun, 21 Jun 2020 02:03:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729282AbgFUGDo (ORCPT ); Sun, 21 Jun 2020 02:03:44 -0400 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 745EDC061795 for ; Sat, 20 Jun 2020 23:03:44 -0700 (PDT) Received: by mail-pl1-x642.google.com with SMTP id y18so6052480plr.4 for ; Sat, 20 Jun 2020 23:03:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=E37Y5fbYX2B/AUZ69TRQLOn9ZrdWJ1PDTbytHbYw12I=; b=bEXtwFplRNji+ZAlc70WTzC2kmlYpyz9O7mWigm5rajr5DgliPr3sad6SDrRGM7Kxf AwS4rnsGWi0suv+nLr/dTLjpe/5BBQWQ78Y/MLvC6fIzRiiGWDyDvxlIwAkT6yhVwCVd L5Nqmm9rZgD4hg6kOnjyoD90IV4D0fRF8b6QhEkYL4UND9cEbgOAMAO0KGNbHg/xJxzE G4QbwMr2XpUzZ00E4P0OlQSphxTK+8k6P8gtvtTANIoMPfCSKI8Lv2oSt70mXr3kVJnX mRNNXqZ5KQsa4qUoQjbNJsw5b0Ou9b7vS1uP2/0cXZscaYixyou2r2uvCkhkOuP7Lkp+ jjhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=E37Y5fbYX2B/AUZ69TRQLOn9ZrdWJ1PDTbytHbYw12I=; b=KMdBXeFodU9dyG5stDaS8T8p9mi5djmjb77zdlmJPEqBbAMa8A7smr/qiqwYbd3I5x uGt1DloB4OBOUZOLmzMF7bKYrN6FmXrE+Z4Fa4wE7/D2nnseR4vEiD+Zl+HiIOlIH1EF ioJ066ck8jv9LsL1+s2dya4dAQOuGrLWRgUV262xJ/rHzmN9OZJT8XR893yYHfwpdadL TjW272Wf0+L6T/6DQ4haS7qtVcP3RNk2sM3Sn9dsk/1/VEsnsX1lM1IfWjtXmZy6Hg8w tr9x+Vx/uFJi1n6xi9rRxyPADITu9vNK48v5LYiAPHybJChbgsio86l0e2Rp09KqE3FW 2kUQ== X-Gm-Message-State: AOAM532Vn8v8/t0Ymtp2207yYeBmHkVpVv/1NlSIZKptCMMjX6wQnqI6 B2uYz/DR62QqvLCpbkgTs9Y/9A== X-Received: by 2002:a17:90a:6ace:: with SMTP id b14mr12034953pjm.13.1592719423730; Sat, 20 Jun 2020 23:03:43 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 77sm10459560pfx.172.2020.06.20.23.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jun 2020 23:03:42 -0700 (PDT) Date: Sat, 20 Jun 2020 23:00:55 -0700 From: Bjorn Andersson To: John Stultz Cc: lkml , Andy Gross , 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: Re: [RFC][PATCH 4/5] pinctrl: qcom: Allow pinctrl-msm code to be loadable as a module Message-ID: <20200621060055.GA2421@builder.lan> References: <20200616061338.109499-1-john.stultz@linaro.org> <20200616061338.109499-5-john.stultz@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200616061338.109499-5-john.stultz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 15 Jun 23:13 PDT 2020, John Stultz wrote: > 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. > This means that we need a "depends on QCOM_SCM || QCOM_SCM=n" on all entries in the Kconfig that selects PINCTRL_MSM, or switch PINCTRL_MSM to be user selectable and make all the others depend on it. > 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"); It's the "Qualcomm Technologies, Inc. TLMM driver" > +MODULE_LICENSE("GPL v2"); > + Please don't retain my empty line at the end of this file :) Regards, Bjorn > -- > 2.17.1 >