net: lldp: Allow generation of documentation

No need to hide the symbols in the header file if CONFIG_NET_LLDP
is not enabled. This also allows the documentation to be generated
properly.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2019-02-26 09:56:06 +02:00 committed by Anas Nashif
commit 52dc50dc6b
6 changed files with 27 additions and 9 deletions

View file

@ -14,7 +14,10 @@ LOG_MODULE_REGISTER(net_ethernet, CONFIG_NET_L2_ETHERNET_LOG_LEVEL);
#include <net/ethernet.h>
#include <net/ethernet_mgmt.h>
#include <net/gptp.h>
#if defined(CONFIG_NET_LLDP)
#include <net/lldp.h>
#endif
#include "arp.h"
#include "eth_stats.h"