Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4380436pxv; Tue, 27 Jul 2021 06:08:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySm3bwA0AvzGX9o2yCkvlSfvPkHawFKqOo9N7cnfjaWIWW3NL+UQC92Dn25yXVv2biIKNC X-Received: by 2002:a17:906:32cf:: with SMTP id k15mr688768ejk.68.1627391306822; Tue, 27 Jul 2021 06:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627391306; cv=none; d=google.com; s=arc-20160816; b=Jfc32RnpnsuJGgfINP5BLTews2XNJKCcveF+3xxg9AXx1f8HPLwzBTk/iHKpeuyplL gBGUa94Vs48fIO+LNk0ro9krzq10DWOxoUN/dfQnDVkr/5LbWd+rqA/CXgtg1k2w3Zxk jxXJRPyKAX6/RYhe2pq55TV/HnKpISyK7V42w6/k38dNCj5ap83nj73i5o23B1BBRrNI /2qETnU7b10HJvdf8Mf7ux2nmFbXWc+ymPv9BGE6HDuRVgogY4dHz/8WVIsQwetghEoa 6d6lvHt9rpZLghMwQZP3eONYCRw90tgLhG8Zld669H6p5XfmmEJj+X/KgbItkQtS3F+I d59w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=OiYzLfqBAn7LeGAb5d9lv9iVaeZrMeyBYNX/nOcX5A4=; b=k7xdsEYgds/gvRjQyKPBQlERjdfh+G0fRWwwd9YMi7yOWpN7LNtValxuUqgNBWZHCP zgPObN/mYV99ddGaQHEueFc6DayieNXyC97xOIY/7u8t2y6s1CcLsywpA6aGqR2ncW9R OD4tfaD/6Vh0sjM8JSLeWFi3cHQ3bn7fjVPfH0X1yCO9B31H+YHHBxcmF88GMSm5N5Rd bDkdhaFWIpaS3OMvXXQNSWO6yNnJGrj0VGDyIDvMqlXHxtjZJIaebwkPGmBJle4tzL6p B5HmpaQefI8SK0jYj31rOMdcuw4TL2jGOqtjiT8y1kUi8sEV+3r5QMa8VH0ctZiEPs0O Lgtw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si2573660ejl.292.2021.07.27.06.08.03; Tue, 27 Jul 2021 06:08:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236574AbhG0NGU (ORCPT + 99 others); Tue, 27 Jul 2021 09:06:20 -0400 Received: from smtpbg128.qq.com ([106.55.201.39]:35111 "EHLO smtpbg587.qq.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232106AbhG0NGT (ORCPT ); Tue, 27 Jul 2021 09:06:19 -0400 X-QQ-mid: bizesmtp36t1627391151tb3rx6qe Received: from ficus.lan (unknown [171.223.99.141]) by esmtp6.qq.com (ESMTP) with id ; Tue, 27 Jul 2021 21:05:50 +0800 (CST) X-QQ-SSF: 01000000002000B0C000B00A0000000 X-QQ-FEAT: WKaXkSLX6oMcnFHmi/bUi/JKgOUhJWvHZy4rPPiea5kL3CmU6xw7gYJmM+CGb WbPyvFq9FjHxXiDbY9f2t5EbshO0k2bn+6YY3BWzvfmNKcyaWr+vatfNb79AOQPnotbzMVw eqKLULw4i/uLXDS/Fky3Ct3rMXskrIj02k6MS2owUdwhtezf7bogjM61ViwE+3zAB6OSHIv OzAGAVyeirOTk1/jvJrrG9C66amaxbIlNDq6EVeL/BB/574FLiV2BRDyGn9W7DDy9XbIgrb RygyqT1hWNePBw9u020fAu98CYbxMrhIx0/DSdLFKfZFUBfbVYtWm+oDvC3xScK6qIDdMIl 2xwI1pxFtZ8DvP4LlPgQ5AYYzx6eA== X-QQ-GoodBg: 0 From: Jason Wang To: linux@armlinux.org.uk Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jason Wang Subject: [PATCH] ARM: scoop: move EXPORT_SYMBOLs to follow their funcs Date: Tue, 27 Jul 2021 21:05:47 +0800 Message-Id: <20210727130547.141310-1-wangborong@cdjrlc.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybgspam:qybgspam5 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Usually, EXPORT_SYMBOLs should immediately follow their functions or variables. Signed-off-by: Jason Wang --- arch/arm/common/scoop.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/common/scoop.c b/arch/arm/common/scoop.c index 6edb961bd6c1..746919c18bb1 100644 --- a/arch/arm/common/scoop.c +++ b/arch/arm/common/scoop.c @@ -49,6 +49,7 @@ void reset_scoop(struct device *dev) iowrite16(0x0000, sdev->base + SCOOP_ISR); /* 1C */ iowrite16(0x0000, sdev->base + SCOOP_IRM); } +EXPORT_SYMBOL(reset_scoop); static void __scoop_gpio_set(struct scoop_dev *sdev, unsigned offset, int value) @@ -126,15 +127,13 @@ unsigned short read_scoop_reg(struct device *dev, unsigned short reg) struct scoop_dev *sdev = dev_get_drvdata(dev); return ioread16(sdev->base + reg); } +EXPORT_SYMBOL(read_scoop_reg); void write_scoop_reg(struct device *dev, unsigned short reg, unsigned short data) { struct scoop_dev *sdev = dev_get_drvdata(dev); iowrite16(data, sdev->base + reg); } - -EXPORT_SYMBOL(reset_scoop); -EXPORT_SYMBOL(read_scoop_reg); EXPORT_SYMBOL(write_scoop_reg); #ifdef CONFIG_PM -- 2.32.0