From: Mathias Krause Date: Sat, 13 Jun 2015 12:22:14 +0000 (+0200) Subject: spi: pxa2xx: Constify ACPI device ids X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8422ddf762c6168a261b5ba07eeaa2f1238ba8c2;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Mark Brown --- 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 },