diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 19:40:25 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 15:00:23 -0400 |
commit | 47b61667937a11c7dd8bb81e7e0c3e6593d18e9a (patch) | |
tree | 6ffb3524049b4b99cf6937c27ffa4125474c6b7b /drivers/net/ethernet/ibm/emac/rgmii.c | |
parent | 486e957033623656298a07c39a8bf2fd81db285b (diff) |
IBM-EMAC: 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/ibm/emac/rgmii.c')
-rw-r--r-- | drivers/net/ethernet/ibm/emac/rgmii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/emac/rgmii.c b/drivers/net/ethernet/ibm/emac/rgmii.c index 457088fc5b06..206ccbbae7bb 100644 --- a/drivers/net/ethernet/ibm/emac/rgmii.c +++ b/drivers/net/ethernet/ibm/emac/rgmii.c @@ -305,7 +305,7 @@ static int rgmii_remove(struct platform_device *ofdev) return 0; } -static struct of_device_id rgmii_match[] = +static const struct of_device_id rgmii_match[] = { { .compatible = "ibm,rgmii", |