Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8422ddf7 authored by Mathias Krause's avatar Mathias Krause Committed by Mark Brown
Browse files

spi: pxa2xx: Constify ACPI device ids



Constify the ACPI device ID array, it doesn't need to be writable at
runtime.

Signed-off-by: default avatarMathias Krause <minipli@googlemail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6356437e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1265,7 +1265,7 @@ static void cleanup(struct spi_device *spi)

#ifdef CONFIG_ACPI

static struct acpi_device_id pxa2xx_spi_acpi_match[] = {
static const struct acpi_device_id pxa2xx_spi_acpi_match[] = {
	{ "INT33C0", LPSS_LPT_SSP },
	{ "INT33C1", LPSS_LPT_SSP },
	{ "INT3430", LPSS_LPT_SSP },