Message ID | 20231012103543.3381326-1-m.szyprowski@samsung.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1125745vqb; Thu, 12 Oct 2023 03:36:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0otJ+8Rof3HtlNzMWUqnWICrSXNkIqDOh5PNMvbla5r1ceWMObWn+FgOQP4meKk/YzNkB X-Received: by 2002:a17:902:e885:b0:1c0:bf60:ba82 with SMTP id w5-20020a170902e88500b001c0bf60ba82mr26810892plg.5.1697106975952; Thu, 12 Oct 2023 03:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697106975; cv=none; d=google.com; s=arc-20160816; b=k+URSnVZhON8MSqi+Efih6SRV2rJKdw75r1aGh508kqyaP2iXBB6ELiuG981lrNFKw MS8HlqmeGkAgpMfiOTOh3kXd3dFNjcIa3Y9HI+fZ+j0EM6uGHtA3jMalqTXYgTMfSf1U OEN4EAqkZQqkVkFRyjpUCASz7sIWsWKL8FnzfopRSaXyl3SLkQ3ZNxh7hckYKl3FKNlO bX0zyuyeDr8J/5mqVhCPRP5ZmsgiX5XwxEOzHGQZ1DzFvKhWz2D/IZOECaknuHw0G/1X PDmp5+u+jhIV4FCzZKe5v4lIMq0NEDcPXoC3QyrSdkoSHptYhLBa4Iu3Pp33SV/Ng6hv 9wDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :dkim-filter; bh=pRocOWbLmFkX14j8M3e9FXIWgY1BV92Y54Jshph52MQ=; fh=YN85BvEl/oGQZ628i3v+LeUTxpH1SXQQduE4p9OAX0U=; b=QJmTBfAQQGUDpFQcTQuyRu7v8J847qZvow37P9c4vuNUn0Ui/vpKOWxFnCxAvrxA2T PauT7EYeF7v7pbWPlhXVzhfwT4Isra8utRlAPLoF0Bs1s52TsTG5PI6/6FmyU6sqsKiB vAckGGLkOh7ydyXIY7vguKjlty8EH9wIARcmhtyUj3HvBtDwpgL9MyrAH1isQXLnYEXi q4Rup7ywca1MCeHLR7952T1piWmNfplZw4lRZSuhgExCnknYzKZZ7aisHuW/mTVmm9+l ySB+7ADKyo+WSV03qHeqTxAYGiQ1Te5cQFKF3WtgG2Fbpi7GlafAy3UGigNgovzuY+4Q Fjmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=R0RYOkVl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id p5-20020a170902e74500b001c62d7e4831si1988332plf.588.2023.10.12.03.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 03:36:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=R0RYOkVl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2AC4D8023899; Thu, 12 Oct 2023 03:36:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343649AbjJLKf6 (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Thu, 12 Oct 2023 06:35:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235660AbjJLKf4 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Oct 2023 06:35:56 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D27ECF for <linux-kernel@vger.kernel.org>; Thu, 12 Oct 2023 03:35:54 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20231012103552euoutp0291693845260e18cf33ae482865d6c460~NVcg0f-EO0818608186euoutp02q for <linux-kernel@vger.kernel.org>; Thu, 12 Oct 2023 10:35:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20231012103552euoutp0291693845260e18cf33ae482865d6c460~NVcg0f-EO0818608186euoutp02q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1697106952; bh=pRocOWbLmFkX14j8M3e9FXIWgY1BV92Y54Jshph52MQ=; h=From:To:Cc:Subject:Date:References:From; b=R0RYOkVlS5jd0T3ErYhS0xURXI2jbAHFCbWpowwTsK4dn57TmEd5WKkKWs1QWE2tW f1GpB2GbN7ejZ68ztx74Q5C+iWq8To70Fm+6A3N2fs9vpJx2rByz8Z4PM9/nGaxo6k Fcbv91Sndjh5PUFyETuwtH4yOItgF2QnC2VR24Vg= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20231012103552eucas1p2b5f69a8dd430fbcbe529fe2168ae0f5c~NVcgQMWSW2556325563eucas1p2b; Thu, 12 Oct 2023 10:35:52 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 3F.F1.42423.80CC7256; Thu, 12 Oct 2023 11:35:52 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20231012103551eucas1p2422c1c7ace26714addeaadde8b645d4b~NVcf4gfvZ2496324963eucas1p2d; Thu, 12 Oct 2023 10:35:51 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20231012103551eusmtrp18c9206812519c6889542bdfcede1ba8d~NVcf3n8qD2245122451eusmtrp1R; Thu, 12 Oct 2023 10:35:51 +0000 (GMT) X-AuditID: cbfec7f2-a3bff7000002a5b7-41-6527cc08435e Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 5D.76.10549.70CC7256; Thu, 12 Oct 2023 11:35:51 +0100 (BST) Received: from AMDC4653.digital.local (unknown [106.120.51.32]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20231012103551eusmtip12ca3011d9adb466532462fccc090cf97~NVcfQs1Fy2518625186eusmtip1L; Thu, 12 Oct 2023 10:35:51 +0000 (GMT) From: Marek Szyprowski <m.szyprowski@samsung.com> To: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Jiucheng Xu <jiucheng.xu@amlogic.com>, Will Deacon <will@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Neil Armstrong <neil.armstrong@linaro.org>, Kevin Hilman <khilman@baylibre.com>, Jerome Brunet <jbrunet@baylibre.com>, Martin Blumenstingl <martin.blumenstingl@googlemail.com> Subject: [PATCH] perf/amlogic: add missing MODULE_DEVICE_TABLE Date: Thu, 12 Oct 2023 12:35:43 +0200 Message-Id: <20231012103543.3381326-1-m.szyprowski@samsung.com> X-M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3XK/7/qH9xk9VONswiw7Duc+aWDWK/tVYl mz41mzSr/difz0HR+ySZtp+bEMtzgnHPopp/x2TeFp7rMdiovOL347K3df6TNP2r7lYqRajO Cz58h32HEktxRqKhFnNRcSIA9c9qeSADAAA= X-CMS-MailID: 20231012103551eucas1p2422c1c7ace26714addeaadde8b645d4b X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20231012103551eucas1p2422c1c7ace26714addeaadde8b645d4b X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20231012103551eucas1p2422c1c7ace26714addeaadde8b645d4b References: <CGME20231012103551eucas1p2422c1c7ace26714addeaadde8b645d4b@eucas1p2.samsung.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 12 Oct 2023 03:36:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779545644224691544 X-GMAIL-MSGID: 1779545644224691544 |
Series |
perf/amlogic: add missing MODULE_DEVICE_TABLE
|
|
Commit Message
Marek Szyprowski
Oct. 12, 2023, 10:35 a.m. UTC
Add missing MODULE_DEVICE_TABLE macro to let this driver to be
automatically loaded as module.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
drivers/perf/amlogic/meson_g12_ddr_pmu.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 12/10/2023 12:35, Marek Szyprowski wrote: > Add missing MODULE_DEVICE_TABLE macro to let this driver to be > automatically loaded as module. > > Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> > --- > drivers/perf/amlogic/meson_g12_ddr_pmu.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/perf/amlogic/meson_g12_ddr_pmu.c b/drivers/perf/amlogic/meson_g12_ddr_pmu.c > index 8b643888d503..15d52ab3276a 100644 > --- a/drivers/perf/amlogic/meson_g12_ddr_pmu.c > +++ b/drivers/perf/amlogic/meson_g12_ddr_pmu.c > @@ -377,6 +377,7 @@ static const struct of_device_id meson_ddr_pmu_dt_match[] = { > }, > {} > }; > +MODULE_DEVICE_TABLE(of, meson_ddr_pmu_dt_match); > > static struct platform_driver g12_ddr_pmu_driver = { > .probe = g12_ddr_pmu_probe, Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
On Thu, 12 Oct 2023 12:35:43 +0200, Marek Szyprowski wrote: > Add missing MODULE_DEVICE_TABLE macro to let this driver to be > automatically loaded as module. > > Applied to will (for-next/perf), thanks! [1/1] perf/amlogic: add missing MODULE_DEVICE_TABLE https://git.kernel.org/will/c/32269e09b137 Cheers,
diff --git a/drivers/perf/amlogic/meson_g12_ddr_pmu.c b/drivers/perf/amlogic/meson_g12_ddr_pmu.c index 8b643888d503..15d52ab3276a 100644 --- a/drivers/perf/amlogic/meson_g12_ddr_pmu.c +++ b/drivers/perf/amlogic/meson_g12_ddr_pmu.c @@ -377,6 +377,7 @@ static const struct of_device_id meson_ddr_pmu_dt_match[] = { }, {} }; +MODULE_DEVICE_TABLE(of, meson_ddr_pmu_dt_match); static struct platform_driver g12_ddr_pmu_driver = { .probe = g12_ddr_pmu_probe,