diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 14:40:24 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 15:00:23 -0400 |
commit | 486e957033623656298a07c39a8bf2fd81db285b (patch) | |
tree | f1c176dcdf6af8607dfc72e5960567bc047bf3f6 /drivers/net/can/cc770 | |
parent | d8a7dadbdfde042c07599e8ac90c7718aef76da7 (diff) |
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>
Diffstat (limited to 'drivers/net/can/cc770')
-rw-r--r-- | drivers/net/can/cc770/cc770_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/cc770/cc770_platform.c b/drivers/net/can/cc770/cc770_platform.c index b1e8851d3cc4..866e5e12fdd2 100644 --- a/drivers/net/can/cc770/cc770_platform.c +++ b/drivers/net/can/cc770/cc770_platform.c | |||
@@ -254,7 +254,7 @@ static int cc770_platform_remove(struct platform_device *pdev) | |||
254 | return 0; | 254 | return 0; |
255 | } | 255 | } |
256 | 256 | ||
257 | static struct of_device_id cc770_platform_table[] = { | 257 | static const struct of_device_id cc770_platform_table[] = { |
258 | {.compatible = "bosch,cc770"}, /* CC770 from Bosch */ | 258 | {.compatible = "bosch,cc770"}, /* CC770 from Bosch */ |
259 | {.compatible = "intc,82527"}, /* AN82527 from Intel CP */ | 259 | {.compatible = "intc,82527"}, /* AN82527 from Intel CP */ |
260 | {}, | 260 | {}, |