diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-03-07 12:31:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-07 20:22:35 +0300 |
commit | f096ca63ca2a47a14892d1cf06cee99e78029541 (patch) | |
tree | 5aafcbf2d393f57f48c4f9c595324239a30f8ab4 /drivers/isdn | |
parent | 6466e715651f9f358e60c5ea4880e4731325827f (diff) | |
download | linux-f096ca63ca2a47a14892d1cf06cee99e78029541.tar.xz |
davinci_emac: always build in CONFIG_OF code
clang warns about what seems to be an unintended use of an obscure C
language feature where a forward declaration of an array remains usable
when the final definition is never seen:
drivers/net/ethernet/ti/davinci_emac.c:1694:34: error: tentative array definition assumed to have one element [-Werror]
static const struct of_device_id davinci_emac_of_match[];
There is no harm in always enabling the device tree matching code here,
and it makes the code behave in a more conventional way aside from
avoiding the warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions