diff options
author | David Howells <dhowells@redhat.com> | 2012-10-13 05:46:48 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-10-13 05:46:48 -0400 |
commit | 607ca46e97a1b6594b29647d98a32d545c24bdff (patch) | |
tree | 30f4c0784bfddb57332cdc0678bd06d1e77fa185 /include/linux/isdn_divertif.h | |
parent | 08cce05c5a91f5017f4edc9866cf026908c73f9f (diff) |
UAPI: (Scripted) Disintegrate include/linux
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'include/linux/isdn_divertif.h')
-rw-r--r-- | include/linux/isdn_divertif.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/include/linux/isdn_divertif.h b/include/linux/isdn_divertif.h index a5a50f523807..19ab361f9f07 100644 --- a/include/linux/isdn_divertif.h +++ b/include/linux/isdn_divertif.h | |||
@@ -9,26 +9,12 @@ | |||
9 | * of the GNU General Public License, incorporated herein by reference. | 9 | * of the GNU General Public License, incorporated herein by reference. |
10 | * | 10 | * |
11 | */ | 11 | */ |
12 | |||
13 | #ifndef _LINUX_ISDN_DIVERTIF_H | 12 | #ifndef _LINUX_ISDN_DIVERTIF_H |
14 | #define _LINUX_ISDN_DIVERTIF_H | 13 | #define _LINUX_ISDN_DIVERTIF_H |
15 | 14 | ||
16 | /***********************************************************/ | ||
17 | /* magic value is also used to control version information */ | ||
18 | /***********************************************************/ | ||
19 | #define DIVERT_IF_MAGIC 0x25873401 | ||
20 | #define DIVERT_CMD_REG 0x00 /* register command */ | ||
21 | #define DIVERT_CMD_REL 0x01 /* release command */ | ||
22 | #define DIVERT_NO_ERR 0x00 /* return value no error */ | ||
23 | #define DIVERT_CMD_ERR 0x01 /* invalid cmd */ | ||
24 | #define DIVERT_VER_ERR 0x02 /* magic/version invalid */ | ||
25 | #define DIVERT_REG_ERR 0x03 /* module already registered */ | ||
26 | #define DIVERT_REL_ERR 0x04 /* module not registered */ | ||
27 | #define DIVERT_REG_NAME isdn_register_divert | ||
28 | |||
29 | #ifdef __KERNEL__ | ||
30 | #include <linux/isdnif.h> | 15 | #include <linux/isdnif.h> |
31 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | #include <uapi/linux/isdn_divertif.h> | ||
32 | 18 | ||
33 | /***************************************************************/ | 19 | /***************************************************************/ |
34 | /* structure exchanging data between isdn hl and divert module */ | 20 | /* structure exchanging data between isdn hl and divert module */ |
@@ -46,6 +32,4 @@ typedef struct | |||
46 | /* function register */ | 32 | /* function register */ |
47 | /*********************/ | 33 | /*********************/ |
48 | extern int DIVERT_REG_NAME(isdn_divert_if *); | 34 | extern int DIVERT_REG_NAME(isdn_divert_if *); |
49 | #endif | ||
50 | |||
51 | #endif /* _LINUX_ISDN_DIVERTIF_H */ | 35 | #endif /* _LINUX_ISDN_DIVERTIF_H */ |