projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
790d190
)
spi: spi-gpio: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 07:48:59 +0000
(16:48 +0900)
committer
Mark Brown
<broonie@linaro.org>
Wed, 7 May 2014 19:53:04 +0000
(20:53 +0100)
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-gpio.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-gpio.c
b/drivers/spi/spi-gpio.c
index 09823076df889d8b3a2928304713c7faa72651af..9f595535cf2742a834527c23caf852e4e1d130c0 100644
(file)
--- a/
drivers/spi/spi-gpio.c
+++ b/
drivers/spi/spi-gpio.c
@@
-340,7
+340,7
@@
done:
}
#ifdef CONFIG_OF
-static struct of_device_id spi_gpio_dt_ids[] = {
+static
const
struct of_device_id spi_gpio_dt_ids[] = {
{ .compatible = "spi-gpio" },
{}
};
This page took
0.024594 seconds
and
5
git commands to generate.