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:
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
|
blame
|
history
diff --git
a/arch/arm/plat-samsung/adc.c
b/arch/arm/plat-samsung/adc.c
index 38444b94ac427508dce316efc30c2d58b67219c6..efa6e85619ad824c2d9ea9a2bdb0b2c0eb9a3077 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,