Skip to content

Commit

Permalink
libata: samsung_cf: Constify platform_device_id
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Krzysztof Kozlowski authored and Tejun Heo committed May 3, 2015
1 parent e0e2674 commit 3b6eefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_samsung_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3b6eefc

Please sign in to comment.