diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-05-01 11:59:16 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-05-02 22:04:43 -0400 |
commit | 3b6eefc1c9381f4222de755c131c0718e9faac2a (patch) | |
tree | c70cf65861fde5ebd71136d6bfe040cc46ad5aa5 /drivers/ata | |
parent | e0e2674b92056c24c69940d5f405ea4aef5e4010 (diff) |
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.c | 2 |
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 = { | |||
638 | #endif | 638 | #endif |
639 | 639 | ||
640 | /* driver device registration */ | 640 | /* driver device registration */ |
641 | static struct platform_device_id pata_s3c_driver_ids[] = { | 641 | static const struct platform_device_id pata_s3c_driver_ids[] = { |
642 | { | 642 | { |
643 | .name = "s3c64xx-pata", | 643 | .name = "s3c64xx-pata", |
644 | .driver_data = TYPE_S3C64XX, | 644 | .driver_data = TYPE_S3C64XX, |