1
0
Fork 0

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>
hifive-unleashed-5.1
Krzysztof Kozlowski 2015-05-02 00:59:16 +09:00 committed by Tejun Heo
parent e0e2674b92
commit 3b6eefc1c9
1 changed files with 1 additions and 1 deletions

View File

@ -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,