diff options
author | Mathias Krause <minipli@googlemail.com> | 2015-06-13 12:22:14 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-15 09:52:24 (GMT) |
commit | 8422ddf762c6168a261b5ba07eeaa2f1238ba8c2 (patch) | |
tree | 281bb88020674c6014c0c230345450740a13e979 | |
parent | 6356437e65c2de610ab2bde24211426ae9322934 (diff) | |
download | linux-8422ddf762c6168a261b5ba07eeaa2f1238ba8c2.tar.xz |
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>
-rw-r--r-- | drivers/spi/spi-pxa2xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pxa2xx.c b/drivers/spi/spi-pxa2xx.c index f97cd42f..7293d6d 100644 --- a/drivers/spi/spi-pxa2xx.c +++ b/drivers/spi/spi-pxa2xx.c @@ -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 }, |