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
1 changed files with 1 additions and 1 deletions

View File

@ -1265,7 +1265,7 @@ static void cleanup(struct spi_device *spi)
#ifdef CONFIG_ACPI #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 }, { "INT33C0", LPSS_LPT_SSP },
{ "INT33C1", LPSS_LPT_SSP }, { "INT33C1", LPSS_LPT_SSP },
{ "INT3430", LPSS_LPT_SSP }, { "INT3430", LPSS_LPT_SSP },