mtd: samsung: 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: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
0abe75d225
commit
b94665322b
|
@ -1083,7 +1083,7 @@ static const struct dev_pm_ops s3c_pm_ops = {
|
|||
.resume = s3c_pm_ops_resume,
|
||||
};
|
||||
|
||||
static struct platform_device_id s3c_onenand_driver_ids[] = {
|
||||
static const struct platform_device_id s3c_onenand_driver_ids[] = {
|
||||
{
|
||||
.name = "s3c6400-onenand",
|
||||
.driver_data = TYPE_S3C6400,
|
||||
|
|
Loading…
Reference in New Issue