blob: d16bb4b14aa1d8e99fb1c8d215987cf333c5486d [file] [log] [blame]
Alexander Aringb1815fd2015-12-09 22:46:30 +01001#ifndef __6LOWPAN_I_H
2#define __6LOWPAN_I_H
3
4#include <linux/netdevice.h>
5
6#ifdef CONFIG_6LOWPAN_DEBUGFS
7int lowpan_dev_debugfs_init(struct net_device *dev);
8void lowpan_dev_debugfs_exit(struct net_device *dev);
9
10int __init lowpan_debugfs_init(void);
11void lowpan_debugfs_exit(void);
12#else
13static inline int lowpan_dev_debugfs_init(struct net_device *dev)
14{
15 return 0;
16}
17
18static inline void lowpan_dev_debugfs_exit(struct net_device *dev) { }
19
20static inline int __init lowpan_debugfs_init(void)
21{
22 return 0;
23}
24
25static inline void lowpan_debugfs_exit(void) { }
26#endif /* CONFIG_6LOWPAN_DEBUGFS */
27
28#endif /* __6LOWPAN_I_H */