diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 19:37:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 15:00:22 -0400 |
commit | 74847f231c8a429c8c5d382ac2dbb46766561ee0 (patch) | |
tree | 44cdd41067f61e18d243aebf3b44c599f456fe0e /drivers/net/ethernet/xilinx/ll_temac_main.c | |
parent | 73c7047464f26c00389b142cb1c35a695ff59777 (diff) |
net: xilinx: 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/xilinx/ll_temac_main.c')
-rw-r--r-- | drivers/net/ethernet/xilinx/ll_temac_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c index dbcbf0c5bcfa..690a4c36b316 100644 --- a/drivers/net/ethernet/xilinx/ll_temac_main.c +++ b/drivers/net/ethernet/xilinx/ll_temac_main.c @@ -1157,7 +1157,7 @@ static int temac_of_remove(struct platform_device *op) return 0; } -static struct of_device_id temac_of_match[] = { +static const struct of_device_id temac_of_match[] = { { .compatible = "xlnx,xps-ll-temac-1.01.b", }, { .compatible = "xlnx,xps-ll-temac-2.00.a", }, { .compatible = "xlnx,xps-ll-temac-2.02.a", }, |