summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_samsung_cf.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-01 17:59:16 +0200
committerTejun Heo <tj@kernel.org>2015-05-03 04:04:43 +0200
commit3b6eefc1c9381f4222de755c131c0718e9faac2a (patch)
treec70cf65861fde5ebd71136d6bfe040cc46ad5aa5 /drivers/ata/pata_samsung_cf.c
parentata: ahci_st: fixup layering violations / drvdata errors (diff)
downloadlinux-3b6eefc1c9381f4222de755c131c0718e9faac2a.tar.xz
linux-3b6eefc1c9381f4222de755c131c0718e9faac2a.zip
libata: samsung_cf: Constify platform_device_id
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>
Diffstat (limited to 'drivers/ata/pata_samsung_cf.c')
-rw-r--r--drivers/ata/pata_samsung_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_samsung_cf.c b/drivers/ata/pata_samsung_cf.c
index fa44eb2872db..cbb5a471eb9d 100644
--- 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,