Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp20005pxb; Tue, 12 Apr 2022 15:36:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3RH5N0lx0jXZXucjQcwpBUhInzRxlpqrepqkvK5aNS3b6jGZ5+unjfeZPRqCjrGH4jT4x X-Received: by 2002:a62:cd83:0:b0:4fa:7410:6d86 with SMTP id o125-20020a62cd83000000b004fa74106d86mr6815045pfg.52.1649802997185; Tue, 12 Apr 2022 15:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649802997; cv=none; d=google.com; s=arc-20160816; b=aj++bFBEt4FaWq/D59CCr8kzd7gQGhYEWk6yMudsQa2QzLH5jAz4XDkqm1wS68rtkC fvbnpXK3lbBgyYKO+45OQK6Su0Vqv+m6C2XS121fUOQpzzw87t7KdtBVogbpoM9TftfJ GXq6di1q4ffvMrRifQlrUNruyATiH6kn/As95W0OOyHXLUug11Tna8qxVZSLkzze4tCt 8j6byTaQTeQbWHYekYtbvNxCgNhP+BaXGv/3tmGEC+Ds43DxilWg1i7+DlNr+I0A01LX W0bQ8AxfIYQm2/Al6gcUGFEZF7pkc0udXkm9KIntDoAPgrUfamch+4DC2sAF0oeHVvLs merw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=XMkyb6U22eVnNL7TEkYzIf/lCVfO5BZjV/i/7bGW49M=; b=qF3K+hlTLjYCDkkNx9rEuYiTpuGMzEUblfx7taSRnhNB0Er8TF8TMPSgj3he4qFCMO JYtj23VTv9+GGnxQHe0LenoRV6UX46kaLa+W4YhMw5OyPXZzuCzb/vK0Z0hMH5qSPoOI 6w6ErRhIh28s9xZzAEb7pWgkjick6cYDQm11uhS4zE0t5CnFh12igDrkg112E2i9TpXE Q8l9h1NEriipcvTJzzjsR9U5B/y526KLjFivQZ049VOghDQH6h/eJejEdhKCnq/SAssj dTYYPnfvsLM3HRTiZxNXHU5E4ad5humwrHdh7CyTy7LARvta3r/+w6ZiHgEaC6xeYzmV pd2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=F8PGjbQh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id g12-20020a656ccc000000b0039d575fbd82si2329252pgw.742.2022.04.12.15.36.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:36:37 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=F8PGjbQh; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D640972CE; Tue, 12 Apr 2022 14:14:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239078AbiDKE3l (ORCPT + 99 others); Mon, 11 Apr 2022 00:29:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236240AbiDKE3i (ORCPT ); Mon, 11 Apr 2022 00:29:38 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E8661B7BE; Sun, 10 Apr 2022 21:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649651245; x=1681187245; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=XMkyb6U22eVnNL7TEkYzIf/lCVfO5BZjV/i/7bGW49M=; b=F8PGjbQhRpUn8sEaLN+zGq3Kht9KxRensfKJu4lEjBhYJq3FDl3qu5Bt shGVghQO5MLgS5K5eFc0WHAba7BPm4NCuABro03ZSmIXoXb2DMJRNfgYx R0/9qUfnk5U7owDUCxbSdUpA8md1E2igwO7AMSjQIyDc8/EF9JkYg42M3 E=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 10 Apr 2022 21:27:24 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2022 21:27:24 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Sun, 10 Apr 2022 21:27:23 -0700 Received: from [10.79.138.7] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Sun, 10 Apr 2022 21:27:20 -0700 Message-ID: Date: Mon, 11 Apr 2022 09:57:17 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH 3/3] soc: qcom: llcc: Add MODULE_DEVICE_TABLE() Content-Language: en-US To: Bjorn Andersson , Andy Gross , Konrad Dybcio , Luca Weiss CC: Rob Herring , Krzysztof Kozlowski , , , References: <20220408213336.581661-1-bjorn.andersson@linaro.org> <20220408213336.581661-3-bjorn.andersson@linaro.org> From: Sai Prakash Ranjan In-Reply-To: <20220408213336.581661-3-bjorn.andersson@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/9/2022 3:03 AM, Bjorn Andersson wrote: > The llcc-qcom driver can be compiled as a module, but lacks > MODULE_DEVICE_TABLE() and will therefore not be loaded automatically. > Fix this. > > Fixes: a3134fb09e0b ("drivers: soc: Add LLCC driver") > Signed-off-by: Bjorn Andersson > --- > drivers/soc/qcom/llcc-qcom.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c > index a76d58195637..918bfd0df0e2 100644 > --- a/drivers/soc/qcom/llcc-qcom.c > +++ b/drivers/soc/qcom/llcc-qcom.c > @@ -809,6 +809,7 @@ static const struct of_device_id qcom_llcc_of_match[] = { > { .compatible = "qcom,sm8450-llcc", .data = &sm8450_cfg }, > { } > }; > +MODULE_DEVICE_TABLE(of, qcom_llcc_of_match); > > static struct platform_driver qcom_llcc_driver = { > .driver = { Reviewed-by: Sai Prakash Ranjan Thanks, Sai