summaryrefslogtreecommitdiffstats
path: root/include/linux/if_frad.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/if_frad.h')
-rw-r--r--include/linux/if_frad.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/if_frad.h b/include/linux/if_frad.h
index 6dcbed815..4f1a1e2f3 100644
--- a/include/linux/if_frad.h
+++ b/include/linux/if_frad.h
@@ -24,8 +24,11 @@
#ifndef _FRAD_H_
#define _FRAD_H_
+#include <linux/config.h>
#include <linux/if.h>
+#if defined(CONFIG_DLCI) || defined(CONFIG_DLCI_MODULE)
+
/* Structures and constants associated with the DLCI device driver */
struct dlci_add
@@ -189,6 +192,10 @@ struct frad_local
int register_frad(const char *name);
int unregister_frad(const char *name);
+int (*dlci_ioctl_hook)(unsigned int, void *);
+
#endif __KERNEL__
+#endif /* CONFIG_DLCI || CONFIG_DLCI_MODULE */
+
#endif