gtp: change NET_UDP_TUNNEL dependency to select
authorMatteo Croce <mcroce@redhat.com>
Sat, 16 Mar 2019 00:00:50 +0000 (01:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Mar 2019 23:54:42 +0000 (16:54 -0700)
commitc22da36688d6298f2e546dcc43fdc1ad35036467
tree3690e7a4763923f4b95c61b77bf2f2ae119c1108
parente5dcc0c3223c45c94100f05f28d8ef814db3d82c
gtp: change NET_UDP_TUNNEL dependency to select

Similarly to commit a7603ac1fc8c ("geneve: change NET_UDP_TUNNEL
dependency to select"), GTP has a dependency on NET_UDP_TUNNEL which
makes impossible to compile it if no other protocol depending on
NET_UDP_TUNNEL is selected.

Fix this by changing the depends to a select, and drop NET_IP_TUNNEL from
the select list, as it already depends on NET_UDP_TUNNEL.

Signed-off-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig