projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc4a2cc
)
ARM: SAMSUNG: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:06:35 +0000
(
00:06
+0900)
committer
Kukjin Kim
<kgene@kernel.org>
Fri, 5 Jun 2015 17:18:02 +0000
(
02:18
+0900)
The platform_device_id is not modified by the driver and core
uses it as const.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/plat-samsung/adc.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-samsung/adc.c
b/arch/arm/plat-samsung/adc.c
index
38444b9
..
efa6e85
100644
(file)
--- a/
arch/arm/plat-samsung/adc.c
+++ b/
arch/arm/plat-samsung/adc.c
@@
-475,7
+475,7
@@
static int s3c_adc_resume(struct device *dev)
#define s3c_adc_resume NULL
#endif
-static struct platform_device_id s3c_adc_driver_ids[] = {
+static
const
struct platform_device_id s3c_adc_driver_ids[] = {
{
.name = "s3c24xx-adc",
.driver_data = TYPE_ADCV1,