can: constify of_device_id array

of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
Fabian Frederick
2015-03-17 19:40:24 +01:00
提交者 David S. Miller
父节点 d8a7dadbdf
当前提交 486e957033
修改 5 个文件,包含 5 行新增5 行删除

查看文件

@@ -254,7 +254,7 @@ static int cc770_platform_remove(struct platform_device *pdev)
return 0;
}
static struct of_device_id cc770_platform_table[] = {
static const struct of_device_id cc770_platform_table[] = {
{.compatible = "bosch,cc770"}, /* CC770 from Bosch */
{.compatible = "intc,82527"}, /* AN82527 from Intel CP */
{},