spi: pxa2xx: Constify ACPI device ids
authorMathias Krause <minipli@googlemail.com>
Sat, 13 Jun 2015 12:22:14 +0000 (14:22 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2015 09:52:24 +0000 (10:52 +0100)
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>
drivers/spi/spi-pxa2xx.c

index f97cd42fbc227d770f0f6d225aceedb088905849..7293d6d875c5c692184d1c45aea151f063bb6cd0 100644 (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 },