From nobody Wed Apr 15 23:33:49 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D8EBC4332F for ; Tue, 22 Nov 2022 08:41:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232630AbiKVIll (ORCPT ); Tue, 22 Nov 2022 03:41:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232445AbiKVIli (ORCPT ); Tue, 22 Nov 2022 03:41:38 -0500 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C52940926 for ; Tue, 22 Nov 2022 00:40:39 -0800 (PST) Received: from droid01-xa.amlogic.com (10.88.11.200) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Tue, 22 Nov 2022 16:40:36 +0800 From: Jiucheng Xu To: Jiucheng Xu , Will Deacon , Mark Rutland , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl CC: Jianxin Pan , Kelvin Zhang , Chris Healy , Chris Healy , , , Subject: [PATCH v2] perf/amlogic: Fix build error for x86_64 allmodconfig Date: Tue, 22 Nov 2022 16:40:28 +0800 Message-ID: <20221122084028.572494-1-jiucheng.xu@amlogic.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.88.11.200] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The driver misses including . It causes compiling error "implicit declaration of function 'readl' and 'writel'" when make X86_64 allmodconfig. Fixs: '2016e2113d35b ("perf/amlogic: Add support for Amlogic meson G12 SoC DDR PMU driver")' Signed-off-by: Jiucheng Xu Reviewed-by: Neil Armstrong --- Changes v1 -> v2: - Add the "Reviewed-by" tag --- 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/amlogi= c/meson_g12_ddr_pmu.c index c07c34f03cce..932802abd18c 100644 --- a/drivers/perf/amlogic/meson_g12_ddr_pmu.c +++ b/drivers/perf/amlogic/meson_g12_ddr_pmu.c @@ -4,6 +4,7 @@ */ =20 #include +#include #include #include #include --=20 2.25.1