Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mathias Krause and committed by
Mark Brown
8422ddf7 6356437e

+1 -1
+1 -1
drivers/spi/spi-pxa2xx.c
··· 1265 1265 1266 1266 #ifdef CONFIG_ACPI 1267 1267 1268 - static struct acpi_device_id pxa2xx_spi_acpi_match[] = { 1268 + static const struct acpi_device_id pxa2xx_spi_acpi_match[] = { 1269 1269 { "INT33C0", LPSS_LPT_SSP }, 1270 1270 { "INT33C1", LPSS_LPT_SSP }, 1271 1271 { "INT3430", LPSS_LPT_SSP },