OSDN Git Service

net: compile renesas directory if NET_VENDOR_RENESAS is configured
authorKazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Tue, 25 Aug 2015 08:03:20 +0000 (18:03 +1000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2015 23:03:54 +0000 (16:03 -0700)
commit83bc805bff89854e4c81c67633a52ce1015b1502
tree2a3e61b4fee62f0f1d640cec47b4e5eb1238bf07
parentd4257295ba1b389c693b79de857a96e4b7cd8ac0
net: compile renesas directory if NET_VENDOR_RENESAS is configured

Currently the renesas ethernet driver directory is compiled if SH_ETH is
configured rather than NET_VENDOR_RENESAS. Although incorrect that was
quite harmless as until recently as SH_ETH configured the only driver in
the renesas directory. However, as of c156633f1353 ("Renesas Ethernet AVB
driver proper") the renesas directory includes another driver, configured
by RAVB, and it makes little sense for it to have a hidden dependency on
SH_ETH.

Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
[horms: rewrote changelog]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/Makefile