diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 19:40:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 15:00:23 -0400 |
commit | d2b75a3f7d3e08c7d8a2fe9cb60d164ba7a2d91a (patch) | |
tree | 85afecdb84e21c69f25660a69a3378be264423ea /drivers/net/ethernet/via | |
parent | abae1e0718c1026b76011a1bf7f9f28799be9092 (diff) |
net: via-rhine: 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/ethernet/via')
-rw-r--r-- | drivers/net/ethernet/via/via-rhine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c index 8fb807ea1caa..de2850497c09 100644 --- a/drivers/net/ethernet/via/via-rhine.c +++ b/drivers/net/ethernet/via/via-rhine.c @@ -288,7 +288,7 @@ MODULE_DEVICE_TABLE(pci, rhine_pci_tbl); * The .data field is currently only used to store quirks */ static u32 vt8500_quirks = rqWOL | rqForceReset | rq6patterns; -static struct of_device_id rhine_of_tbl[] = { +static const struct of_device_id rhine_of_tbl[] = { { .compatible = "via,vt8500-rhine", .data = &vt8500_quirks }, { } /* terminate list */ }; |