net: ppp: select RING_BUFFER via Kconfig

PPP implementation uses ring_buffer API, but RING_BUFFER Kconfig option
was not selected so far. This resulted in linker errors about undefined
reference to `ring_buf_get_claim' and 'ring_buf_put'.

Add missing RING_BUFFER selection via Kconfig, so PPP driver is properly
built.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
This commit is contained in:
Marcin Niestroj 2020-08-01 02:33:41 +02:00 committed by Anas Nashif
parent c0d3ed0d1c
commit 4137d3380f

View file

@ -8,6 +8,7 @@ menuconfig NET_PPP
bool "Point-to-point (PPP) UART based driver"
depends on NET_L2_PPP
depends on NET_NATIVE
select RING_BUFFER
select UART_MUX if GSM_MUX
if NET_PPP