summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/via
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-17 19:40:28 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-17 15:00:24 -0400
commit2c71ec9963f897663f9dd2c88d0e75710768c481 (patch)
tree951c8c9ff6a3e8ef76454264bdd0862cc7625286 /drivers/net/ethernet/via
parentd2b75a3f7d3e08c7d8a2fe9cb60d164ba7a2d91a (diff)
downloadlinux-2c71ec9963f897663f9dd2c88d0e75710768c481.tar.gz
linux-2c71ec9963f897663f9dd2c88d0e75710768c481.tar.bz2
linux-2c71ec9963f897663f9dd2c88d0e75710768c481.zip
via-velocity: 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-velocity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/via/via-velocity.c b/drivers/net/ethernet/via/via-velocity.c
index c20206f83cc1..ae68afd50a15 100644
--- a/drivers/net/ethernet/via/via-velocity.c
+++ b/drivers/net/ethernet/via/via-velocity.c
@@ -392,7 +392,7 @@ MODULE_DEVICE_TABLE(pci, velocity_pci_id_table);
* Describe the OF device identifiers that we support in this
* device driver. Used for devicetree nodes.
*/
-static struct of_device_id velocity_of_ids[] = {
+static const struct of_device_id velocity_of_ids[] = {
{ .compatible = "via,velocity-vt6110", .data = &chip_info_table[0] },
{ /* Sentinel */ },
};