Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
[linux-2.6-block.git] / net / 6lowpan / 6lowpan_i.h
CommitLineData
b1815fd9
AA
1#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 */