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 5E09FC433FE for ; Fri, 10 Dec 2021 13:58:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239102AbhLJOBj (ORCPT ); Fri, 10 Dec 2021 09:01:39 -0500 Received: from smtpbg587.qq.com ([113.96.223.105]:60543 "EHLO smtpbg587.qq.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238967AbhLJOBg (ORCPT ); Fri, 10 Dec 2021 09:01:36 -0500 X-QQ-mid: bizesmtp40t1639144536tvnd59ok Received: from wangx.lan (unknown [171.221.148.2]) by esmtp6.qq.com (ESMTP) with id ; Fri, 10 Dec 2021 21:55:29 +0800 (CST) X-QQ-SSF: 0100000000200070C000B00A0000000 X-QQ-FEAT: PdU/eI8FBMAIesJWzIvv6OITyZsnI+Id1P1RgWPlqUcRxIJkEHIEW9fPtRFBL 7cSMALBMF2ziOCBD6PwRpUUgRQ3OO3jA5A3q+ao4XJD0wXmtM33SRXyFj8L9gn5MrAS59ts yxRS0Ne5UiP3aZYYkiBnRGgrruZ8f59vftXdsNiFCxgAxFbg9SK1L7pMduIqcZ9re8+FDku aSonoMAiGANlzmYhbuAh/MaIDDhL+1m1e5/+/yC/Bi/4PQeOQeHXgtAR0jag8FGbJe6VoJe 0pr/iaD2IRPcv38+Xrt9HYAHtIBZ4r9U2zApNmvrxDEy/zFc/w33DNiuabHO6E2/VmlC+Og 6yKJZX4bflpaKIo4yI= X-QQ-GoodBg: 0 From: Xiang wangx To: linus.walleij@linaro.org Cc: rjui@broadcom.com, brgl@bgdev.pl, f.fainelli@gmail.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Xiang wangx Subject: [PATCH v2] gpio: bcm-kona: add const to of_device_id Date: Fri, 10 Dec 2021 21:55:27 +0800 Message-Id: <20211210135527.28194-1-wangxiang@cdjrlc.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybgspam:qybgspam3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct of_device_id should normally be const. Signed-off-by: Xiang wangx --- Changes since v1 * Change subject log drivers/gpio/gpio-bcm-kona.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c index d329a143f5ec..9cb3587d1441 100644 --- a/drivers/gpio/gpio-bcm-kona.c +++ b/drivers/gpio/gpio-bcm-kona.c @@ -505,7 +505,7 @@ static struct irq_chip bcm_gpio_irq_chip = { .irq_release_resources = bcm_kona_gpio_irq_relres, }; -static struct of_device_id const bcm_kona_gpio_of_match[] = { +static const struct of_device_id const bcm_kona_gpio_of_match[] = { { .compatible = "brcm,kona-gpio" }, {} }; -- 2.20.1