projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6356437
)
spi: pxa2xx: Constify ACPI device ids
author
Mathias Krause
<minipli@googlemail.com>
Sat, 13 Jun 2015 12:22:14 +0000
(14:22 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 15 Jun 2015 09:52:24 +0000
(10:52 +0100)
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>
drivers/spi/spi-pxa2xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-pxa2xx.c
b/drivers/spi/spi-pxa2xx.c
index f97cd42fbc227d770f0f6d225aceedb088905849..7293d6d875c5c692184d1c45aea151f063bb6cd0 100644
(file)
--- 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 },