diff options
author | Mathias Krause <minipli@googlemail.com> | 2015-06-13 14:22:14 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-15 10:52:24 +0100 |
commit | 8422ddf762c6168a261b5ba07eeaa2f1238ba8c2 (patch) | |
tree | 281bb88020674c6014c0c230345450740a13e979 /drivers/spi/spi-pxa2xx.c | |
parent | 6356437e65c2de610ab2bde24211426ae9322934 (diff) | |
download | linux-8422ddf762c6168a261b5ba07eeaa2f1238ba8c2.tar.bz2 |
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>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
-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 f97cd42fbc22..7293d6d875c5 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 }, |