From patchwork Fri Jan 22 12:21:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12039267 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB3EDC433E0 for ; Fri, 22 Jan 2021 12:23:44 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7433723444 for ; Fri, 22 Jan 2021 12:23:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7433723444 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rNpG3+BDEQziiRzB+TTWwdhALyQ9ES9qzvaKyxGI0fg=; b=RuV4EgoGovUMUFiB9s99xbp6Q C1uc5Ux4Xc1XPOMc14PFYvNo3orqCo+89zQvSl6sfK8Qjjv7JrfLrRyokTKTyhWcROofvhm3gEh1c wyDsr3kwOEKPzV8nD7LToMhxQpu0UBheCgFpfbKc6a9a+Jj5xhsMeWmxBS8+4Qtd2iXcBoAc9K3+4 8tMc6mSINIuZhCd/lmxfp5I8UicGF8sAr5/kzOu6eFgmt0QUi160y+0ZHfnL/DQYhoiIRIjtEFGgv fiwRcJMtGxu3qzWI0NhsF33jGu9jzm254CukqfraGD4WGMOcAorUPIeMobtcVfqwuSutMov6DielX VPhJNzibg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2vS2-0001xY-SL; Fri, 22 Jan 2021 12:22:06 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2vRu-0001uk-0r for linux-arm-kernel@lists.infradead.org; Fri, 22 Jan 2021 12:21:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1611318117; x=1642854117; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=wWtTJIMWC1g5SNBwfFQV6VJAAcc5lnSYixiNCayZhp8=; b=dEnTdl9uP/XT7kUA6QyI9JY4gJJBTzaqiqgtU+YYyKE9Bf0t+YpwYUOW lxV+98Qgo/nAWI3vdWELCW57++l9Jyr6vpgjimeCIKO/s2rNO3e/k8p8D R0+B6S7h3PrO1cFdsxVz2v4jtvYkWg/p33rc5WHmBCSmVyPZu3kCKuYAK Dlz8ZoSrQFvp+w1mF+awZrAmQD+s6GhCuBBBKbvqoAFC12zda66L0y9uK /Oe1MZqkFqqnyQmasLb7KFsmOOe5QcAmRJqpjyGGedcTpl+VOFrU4eAPJ melkdDYINibnVXC3/XvUg+Wkx9sPFbC2X+ktZnFTiCKhWa9yfT0pf1XoL w==; IronPort-SDR: LMNcMZExVxPlwhmRYyQCeLTlZqEMRXYhQMKQC2w/osLv1OZHnV2Z9vANB0IqtEMCFxRmYpPIK4 BFd5fx9SJ75SoUOzSI2y3/aZCu155LGd5FvYr1u2kpdXeIdrjFiNazt3NJ4TJ0CxBfQFG3owVQ bh5LK8FjjMEN9VEnkCz2M3kTyoTpPexyo/tYUx4EgpKqA9+H7AeW/p6coZ1oNdQwaDVSW/dF5C GKoZW6FvFiplCoJv57h6Tl3jVcWckBDwZ7qGHqeunNLAUEwo/0gYKk7L1O1aaUEkWYEKEBfJoH 2Z4= X-IronPort-AV: E=Sophos;i="5.79,366,1602572400"; d="scan'208";a="106908946" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 22 Jan 2021 05:21:57 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Fri, 22 Jan 2021 05:21:57 -0700 Received: from m18063-ThinkPad-T460p.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Fri, 22 Jan 2021 05:21:52 -0700 From: Claudiu Beznea To: , , , Subject: [PATCH 3/7] drivers: soc: atmel: fix "__initconst should be placed after socs[]" warning Date: Fri, 22 Jan 2021 14:21:33 +0200 Message-ID: <1611318097-8970-4-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611318097-8970-1-git-send-email-claudiu.beznea@microchip.com> References: <1611318097-8970-1-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210122_072158_217848_FCF5445E X-CRM114-Status: GOOD ( 10.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Claudiu Beznea Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix checkpatch.pl warning: "__initconst should be placed after socs[]". Signed-off-by: Claudiu Beznea --- drivers/soc/atmel/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c index ef591b622583..9d10a526cd3c 100644 --- a/drivers/soc/atmel/soc.c +++ b/drivers/soc/atmel/soc.c @@ -30,7 +30,7 @@ #define AT91_CIDR_EXT BIT(31) #define AT91_CIDR_MATCH_MASK GENMASK(30, 5) -static const struct at91_soc __initconst socs[] = { +static const struct at91_soc socs[] __initconst = { #ifdef CONFIG_SOC_AT91RM9200 AT91_SOC(AT91RM9200_CIDR_MATCH, 0, "at91rm9200 BGA", "at91rm9200"), #endif