aboutsummaryrefslogtreecommitdiffstats
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
parentata: ahci_st: fixup layering violations / drvdata errors (diff)
downloadlinux-dev-3b6eefc1c9381f4222de755c131c0718e9faac2a.tar.xz
linux-dev-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,