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:
e0e2674
)
libata: samsung_cf: Constify platform_device_id
author
Krzysztof Kozlowski
<k.kozlowski.k@gmail.com>
Fri, 1 May 2015 15:59:16 +0000
(
00:59
+0900)
committer
Tejun Heo
<tj@kernel.org>
Sun, 3 May 2015 02:04:43 +0000
(22:04 -0400)
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: Tejun Heo <tj@kernel.org>
drivers/ata/pata_samsung_cf.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_samsung_cf.c
b/drivers/ata/pata_samsung_cf.c
index fa44eb2872db9164dced31d3fb8f3b217740e5db..cbb5a471eb9d05c39b15ea1ab6c87fa1e4ee7464 100644
(file)
--- a/
drivers/ata/pata_samsung_cf.c
+++ b/
drivers/ata/pata_samsung_cf.c
@@
-638,7
+638,7
@@
static const struct dev_pm_ops pata_s3c_pm_ops = {
#endif
/* driver device registration */
-static struct platform_device_id pata_s3c_driver_ids[] = {
+static
const
struct platform_device_id pata_s3c_driver_ids[] = {
{
.name = "s3c64xx-pata",
.driver_data = TYPE_S3C64XX,