2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00

spi: pxa2xx: Constify ACPI device ids

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

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Mathias Krause 2015-06-13 14:22:14 +02:00 committed by Mark Brown
parent 6356437e65
commit 8422ddf762

View File

@ -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 },