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:
parent
35e744ff1c
commit
52dc50dc6b
6 changed files with 27 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue