diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 21:40:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 22:00:23 +0300 |
commit | 47b61667937a11c7dd8bb81e7e0c3e6593d18e9a (patch) | |
tree | 6ffb3524049b4b99cf6937c27ffa4125474c6b7b /drivers/net/ethernet/ibm/emac/mal.c | |
parent | 486e957033623656298a07c39a8bf2fd81db285b (diff) | |
download | linux-47b61667937a11c7dd8bb81e7e0c3e6593d18e9a.tar.xz |
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/mal.c')
-rw-r--r-- | drivers/net/ethernet/ibm/emac/mal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/emac/mal.c b/drivers/net/ethernet/ibm/emac/mal.c index dddaab11a4c7..fdb5cdb3cd15 100644 --- a/drivers/net/ethernet/ibm/emac/mal.c +++ b/drivers/net/ethernet/ibm/emac/mal.c @@ -753,7 +753,7 @@ static int mal_remove(struct platform_device *ofdev) return 0; } -static struct of_device_id mal_platform_match[] = +static const struct of_device_id mal_platform_match[] = { { .compatible = "ibm,mcmal", |