summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-05-02 00:59:16 +0900
committerTejun Heo <tj@kernel.org>2015-05-02 22:04:43 -0400
commit3b6eefc1c9381f4222de755c131c0718e9faac2a (patch)
treec70cf65861fde5ebd71136d6bfe040cc46ad5aa5 /drivers/ata
parente0e2674b92056c24c69940d5f405ea4aef5e4010 (diff)
downloadlinux-3b6eefc1c9381f4222de755c131c0718e9faac2a.tar.gz
linux-3b6eefc1c9381f4222de755c131c0718e9faac2a.tar.bz2
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')
-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,