From patchwork Tue Nov 22 07:50:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiucheng Xu X-Patchwork-Id: 24180 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2066925wrr; Tue, 22 Nov 2022 00:04:16 -0800 (PST) X-Google-Smtp-Source: AA0mqf718Zy8VIRBNWCOE/W2+OqexaOBCCK9XuHC/j77gwDrumwJkGREldSuV0YA2weMrKmB/tfQ X-Received: by 2002:a17:902:9004:b0:17c:9a37:72fb with SMTP id a4-20020a170902900400b0017c9a3772fbmr15353437plp.82.1669104256287; Tue, 22 Nov 2022 00:04:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669104256; cv=none; d=google.com; s=arc-20160816; b=WcXvnXx03g0XWRoK20eHw6uLURkhciYamsC+60nXxlqyiO0K5e/hBNy1tV0kx003cN 2m6lLwECIKggCMBRnP9rq7zrfrn+tr6STS12PmI2pI1ftmQ56knpqIv+1ZKc/byIQO05 e1IFbQZiNpAgoP9Dpn2dSuHmetAX9bEgcx8EGvk5+E1+gBUfC0aTNoe4K+9sEfac84X0 Ri6rB9je3CzTlsTy7b2Hat6jAuGWLpoIiuEPsc22wAvqFhwrdZLPliWeYxb8cG8xtOpk 2dDfM9qCarlAQu3K/s/6Y0ZoXkx5uNaoCE0sGPSvjtQxdWwxSMdZ6cHOvh3NK/IPrFpU Nq6Q== 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=2NHgtBS0oOUKUZR5z+9sLMzLodLWyafEX7vgsgvz+Kk=; b=KSSd6CVFmDTFa0B7t0wO8rE0ICPWW8ph7gx++Cwn7rbYbM2itw7S8+MOR4yLf+nGmS CYV1/oh+BawuiXR2o/H6Xum9YejEjFmSG0/sECQ+7lJprq8wSDN2npyDID33CxVVz4cC GWhQdpJvsc9b47nTBYEUHTnVv4czpMIE9IbCcxvwzyVhUZ7YaQtb9EkUei+2W3bs3HrF 3OPnLq6BLlV0VC+JSAryXRmBHfU9BZcXCe7OE6q53oLruLSP8ylFKr+caU24sut7XtVR xwYkqS1suHC8EtNOwivSqg7hRDWl/ef2BfUZd6SYB2xAoVFKAR6TdMRqgA0JA3ZDofYt N8Gw== 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 f16-20020a63f110000000b00462f17e560csi13716476pgi.878.2022.11.22.00.03.51; Tue, 22 Nov 2022 00:04:16 -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 S232660AbiKVHwJ (ORCPT + 99 others); Tue, 22 Nov 2022 02:52:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232628AbiKVHv5 (ORCPT ); Tue, 22 Nov 2022 02:51:57 -0500 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3655B326FE for ; Mon, 21 Nov 2022 23:51:03 -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 15:51:00 +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] perf/amlogic: Fix build error for x86_64 allmodconfig Date: Tue, 22 Nov 2022 15:50:02 +0800 Message-ID: <20221122075002.4052972-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?1750182664382798673?= X-GMAIL-MSGID: =?utf-8?q?1750182664382798673?= 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 --- 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