From: Bartosz Golaszewski Date: Thu, 30 Apr 2026 12:57:18 +0000 (+0200) Subject: ARM: pxa: statify platform device definitions in spitz board file X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=ab0a2d7de6b8fa87a0aaa5113071d90099bf6545;p=thirdparty%2Fkernel%2Flinux.git ARM: pxa: statify platform device definitions in spitz board file The scoop devices are not used outside of this board file so make them static. Reviewed-by: Linus Walleij Link: https://patch.msgid.link/20260430-pxa-gpio-swnodes-v3-1-5142e95f0eca@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski --- diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index c0b1f7e6be874..3284b9f62be97 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c @@ -165,7 +165,7 @@ static struct scoop_config spitz_scoop_1_setup = { .gpio_base = SPITZ_SCP_GPIO_BASE, }; -struct platform_device spitz_scoop_1_device = { +static struct platform_device spitz_scoop_1_device = { .name = "sharp-scoop", .id = 0, .dev = { @@ -192,7 +192,7 @@ static struct scoop_config spitz_scoop_2_setup = { .gpio_base = SPITZ_SCP2_GPIO_BASE, }; -struct platform_device spitz_scoop_2_device = { +static struct platform_device spitz_scoop_2_device = { .name = "sharp-scoop", .id = 1, .dev = {