Message ID | 20221219182958.476231-14-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp2550699wrn; Mon, 19 Dec 2022 10:34:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf7noa58LvptutWHcVdzWOmqlWTeLzKeOu98fulBn3jSzisr3vZNwvo2s77X5F7qMjstIkcr X-Received: by 2002:a05:6a20:8c09:b0:ad:f68e:bc with SMTP id j9-20020a056a208c0900b000adf68e00bcmr23989345pzh.40.1671474883154; Mon, 19 Dec 2022 10:34:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671474883; cv=none; d=google.com; s=arc-20160816; b=ehI1aGap30IT0sD4m7A7PQTHy6TEgBKWV7Os8I8UG8y6ma2ArillwYmyQWol80N6Ab xRFpF1JNHyacqhE4McYRu2NviVj8NY+hm5p+9ur2QhGzmO5HcuG6qNhIs3t68iGAtmjZ bn1tBFRTlYLJLltxAGZ/xO/svxUD9ncxh+1StyzeBruQAtwvgtPTeXk8fXwuSeroMua6 LQTwBWIUR/4bMTia+9Zdf8tVd4mHwf/UGWaMt5tabggqbtXhKu822+6wyIveLYCxe3SC x83/qoFhpioCvzOg3NqD6CFJ0Ejt2yCSicuup1BE5tRC8dd9kDh9UVavTfPiqwU2l0zx n8Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/mWLM+xjtkcHtTlHLK0FQlJaaC6ncfnZviWhmaPi0lM=; b=Z6P/E6h1ppx/cyJmAgBJOsWasY30bhQmP/gajtv3QMeD8a94NnBIUWfCgC3vyE+oyB wHcvWzreGPk+t772VAva8JxzhKjCzpls5lUItjz1UA2f9Hg5fghUOA4+yaKwLnNRTaae jdPTT/YElFO5HOCvpiiYuU/l6EeVLFgYlzy8Sh1ejantdpHpWHXucNtUNmcleW51bciJ WXXC242QVmGSad4M17bV+OWf5qqeUNJBiYF3b9Sniqo3ALONpT5QNk1lakE3t7ebQ6hl HK4AEzX7UGhojl6z4WXmH4t9d09lTlmxJKWFFE9Zs1xctSvSNAaHZUWxhaDQLRiP8E2e CIiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qZ0DvYBL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w70-20020a638249000000b0043a20e51026si11646910pgd.8.2022.12.19.10.34.29; Mon, 19 Dec 2022 10:34:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qZ0DvYBL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232518AbiLSSdu (ORCPT <rfc822;abdi.embedded@gmail.com> + 99 others); Mon, 19 Dec 2022 13:33:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232405AbiLSScx (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 19 Dec 2022 13:32:53 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD3BD140F4 for <linux-kernel@vger.kernel.org>; Mon, 19 Dec 2022 10:31:40 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id t2so9890131ply.2 for <linux-kernel@vger.kernel.org>; Mon, 19 Dec 2022 10:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/mWLM+xjtkcHtTlHLK0FQlJaaC6ncfnZviWhmaPi0lM=; b=qZ0DvYBLrUPKCItDG/754HTBRDZshK7oQme3AAh5u9MJcyEo9DpFvFWLCor+S5AkX+ OhTdL8gEbszkP7lyRdCbap2/6+1yQrFS3x9xCvH4+RGMPXfFnn1SCf0lv9y/mZ5JsTW4 b8nv6GP929ZKxgu+tEFRKz7wor582zzTRHERLtFa4NSOdFJToPXKQxbmB+Y5o3KXEbfw Zp3TwqN4C22wdmth7phpaCUnjJL89Y/xuiornJ8jZ5J4OfNWZrNZgiQ8Yk2fg+TYVX+X 69f/U1j+SPZJrRLtpaN245C9QOLBdAPE76PCnHA3s73j0fWvewj0XSXW3MVKDxO8tBEs qxLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/mWLM+xjtkcHtTlHLK0FQlJaaC6ncfnZviWhmaPi0lM=; b=6nMmlt0gh+obT759YqDdoipLeclaWwKiBypn7xohEh57CPXVIU5wuADI6KDmgRiw83 2LQogOG/Wa0p1CjIA3tR0Nas0qn6XEAw23IEthP/h+9WMg6zZXQhGR1MxbkbA7uOd2x5 Gr9VNcEjdx7R+Ppn7GHZsLpEmqlcIybgIpcAyur+mHci8zMEJEAhQM80gcaleYx2hmW+ rX/85heM7VWNIiGVG93n0qhW6MMDZMZf9Y0UQ2KE+1f0XOv0SqVwBDM2j1Xm8otw3R09 SFwKCFfHQJjp5WIEUsM2asr1sp2w1i4FDzXb66iMOxITVuoyr9aWncW0IHUCK1kwgjSV YgrA== X-Gm-Message-State: ANoB5pkJob+aIySR4qx3Cy59lsqb+kKLuxrRgkKM5nQ/VGSIGdc5y3Uw 2SwS0AEIEKpg2MUqfVSwGYJS X-Received: by 2002:a17:902:9a43:b0:187:16c2:d52c with SMTP id x3-20020a1709029a4300b0018716c2d52cmr40519635plv.50.1671474699946; Mon, 19 Dec 2022 10:31:39 -0800 (PST) Received: from localhost.localdomain ([220.158.159.17]) by smtp.gmail.com with ESMTPSA id d2-20020a170903230200b00186e34524e3sm7480979plh.136.2022.12.19.10.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 10:31:38 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, bp@alien8.de, tony.luck@intel.com Cc: quic_saipraka@quicinc.com, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, linux-edac@vger.kernel.org, quic_ppareek@quicinc.com, luca.weiss@fairphone.com, ahalaney@redhat.com, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH v3 13/15] EDAC/qcom: Add platform_device_id table for module autoloading Date: Mon, 19 Dec 2022 23:59:56 +0530 Message-Id: <20221219182958.476231-14-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221219182958.476231-1-manivannan.sadhasivam@linaro.org> References: <20221219182958.476231-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752668447471155151?= X-GMAIL-MSGID: =?utf-8?q?1752668447471155151?= |
Series |
Qcom: LLCC/EDAC: Fix base address used for LLCC banks
|
|
Commit Message
Manivannan Sadhasivam
Dec. 19, 2022, 6:29 p.m. UTC
platform_device_id table needs to be added so that the driver can be
autoloaded when the associated platform device gets registered.
Reported-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
drivers/edac/qcom_edac.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/edac/qcom_edac.c b/drivers/edac/qcom_edac.c index 97a27e42dd61..9e77fa84e84f 100644 --- a/drivers/edac/qcom_edac.c +++ b/drivers/edac/qcom_edac.c @@ -397,12 +397,19 @@ static int qcom_llcc_edac_remove(struct platform_device *pdev) return 0; } +static const struct platform_device_id qcom_llcc_edac_id_table[] = { + { .name = "qcom_llcc_edac" }, + {} +}; +MODULE_DEVICE_TABLE(platform, qcom_llcc_edac_id_table); + static struct platform_driver qcom_llcc_edac_driver = { .probe = qcom_llcc_edac_probe, .remove = qcom_llcc_edac_remove, .driver = { .name = "qcom_llcc_edac", }, + .id_table = qcom_llcc_edac_id_table, }; module_platform_driver(qcom_llcc_edac_driver);