mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
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 <linusw@kernel.org> Link: https://patch.msgid.link/20260430-pxa-gpio-swnodes-v3-1-5142e95f0eca@oss.qualcomm.com Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
This commit is contained in:
parent
254f49634e
commit
ab0a2d7de6
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user