提交 3b6eefc1 编写于 作者: K Krzysztof Kozlowski 提交者: Tejun Heo

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: NKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 e0e2674b
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册