From patchwork Tue Nov 22 08:40:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiucheng Xu X-Patchwork-Id: 24203 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2085489wrr; Tue, 22 Nov 2022 00:56:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf4QJeBMG2ESNgvh0VGUuR1EyH8wW5bCSHw+piLHSK5QX6qVA0kiNMN+J4d63dNVanrv+VC8 X-Received: by 2002:aa7:db18:0:b0:467:e2dd:b593 with SMTP id t24-20020aa7db18000000b00467e2ddb593mr2920954eds.378.1669107399737; Tue, 22 Nov 2022 00:56:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669107399; cv=none; d=google.com; s=arc-20160816; b=pjOWYlilyHlhFUVMjgiaQWZlDzUGt01LqVN75n/A5mBIP7teAqHIoY52mPEuqS1YrU /oMds8HBKe/4snf/MXd8gzzIGrbLetQK+j8vBZBgy0i9gtghShrzwG7gQWo7smjWZ3tj 7fCXRUQhog7nqRohsmuOY/i41IExKlMZwCO2fKyc9Rf5K1LXzJ3qailS3W+hOlRMWs3K vIrbn7j4SdmJKxd7r1vFxAmudG0zdnCwOmpbDNjomx3RoMQP6fFKH8UTgaMGwcRiAnqu qSmCFTM979w7NzagD7+0aXSf57DY0OtkCgqTl2IsdASWcXK7B76d7VBWEUOnOttnPGku +G9Q== 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 :message-id:date:subject:cc:to:from; bh=9qcKVlbPhSILa6WKswfAWZweYNI/QvKixySJ44xCCpE=; b=rnk9dMX55RfKif/ti5Jmop6f+hXJEFaM7j1JOcp2tZJeMGlnNRd6Oiddj4ykVHCElX EE9hNP0VM8UhoGz+8t6BK9sMDj4tuGz2TUcXwDPglN+B0zYd6rnOCjBcNRZRo8P1SO4t eUO7YJIMOknfsxCkmaWRW1RqmSTmwlzgV+/FtEo8Y4bp4iEUFadmZW9Mvad10riJXk4M xh903z42V/loUAoRSF4dJlpooHvCa7+ZqcxUDhCOy8qde8NqzIOaT3tH9WBqu/gULaWN UvGmdQYxx4sxTfhO+ss+FVLax07rCwcXZjwXHIPWVk4wA7DS9CB1XRPhedTYqXoS0Bqz /sbQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw42-20020a1709066a2a00b007aea7b8f70dsi11638004ejc.478.2022.11.22.00.56.16; Tue, 22 Nov 2022 00:56:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232898AbiKVIlk (ORCPT + 99 others); Tue, 22 Nov 2022 03:41:40 -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 X-Originating-IP: [10.88.11.200] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750185961043092483?= X-GMAIL-MSGID: =?utf-8?q?1750185961043092483?= 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/amlogic/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 @@ */ #include +#include #include #include #include