projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f994a
)
spi: fsl-spi: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 3 Jun 2014 12:03:59 +0000
(21:03 +0900)
committer
Mark Brown
<broonie@linaro.org>
Fri, 6 Jun 2014 11:37:41 +0000
(12:37 +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-fsl-spi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-fsl-spi.c
b/drivers/spi/spi-fsl-spi.c
index 98ccd231bf009bdb1ac48a10ed8324b6620a3c63..9452f6740997b1970e8645e4cd141010b5389b38 100644
(file)
--- a/
drivers/spi/spi-fsl-spi.c
+++ b/
drivers/spi/spi-fsl-spi.c
@@
-58,7
+58,7
@@
static struct fsl_spi_match_data of_fsl_spi_grlib_config = {
.type = TYPE_GRLIB,
};
-static struct of_device_id of_fsl_spi_match[] = {
+static
const
struct of_device_id of_fsl_spi_match[] = {
{
.compatible = "fsl,spi",
.data = &of_fsl_spi_fsl_config,