projects
/
GitHub
/
LineageOS
/
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:
f2483b0
)
mmc: s3cmci: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:49:20 +0000
(
00:49
+0900)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:06:51 +0000
(09:06 +0200)
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: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/s3cmci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/s3cmci.c
b/drivers/mmc/host/s3cmci.c
index 94cddf381ba3d72d1e9359afffb694f06dce6118..6291d5042ef2a5004212b1b14aff0d5a2f4c8613 100644
(file)
--- a/
drivers/mmc/host/s3cmci.c
+++ b/
drivers/mmc/host/s3cmci.c
@@
-1856,7
+1856,7
@@
static int s3cmci_remove(struct platform_device *pdev)
return 0;
}
-static struct platform_device_id s3cmci_driver_ids[] = {
+static
const
struct platform_device_id s3cmci_driver_ids[] = {
{
.name = "s3c2410-sdi",
.driver_data = 0,