summaryrefslogtreecommitdiffstats
path: root/include/net/ax25.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ax25.h')
-rw-r--r--include/net/ax25.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h
index 525786901..0957d1aae 100644
--- a/include/net/ax25.h
+++ b/include/net/ax25.h
@@ -339,7 +339,12 @@ extern int ax25_uid_get_info(char *, char **, off_t, int);
extern void ax25_uid_free(void);
/* sysctl_net_ax25.c */
+#ifdef CONFIG_SYSCTL
extern void ax25_register_sysctl(void);
extern void ax25_unregister_sysctl(void);
+#else
+extern inline void ax25_register_sysctl(void) {};
+extern inline void ax25_unregister_sysctl(void) {};
+#endif /* CONFIG_SYSCTL */
#endif