diff options
Diffstat (limited to 'include/linux/irda.h')
| -rw-r--r-- | include/linux/irda.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/irda.h b/include/linux/irda.h index 00bdad0e8515..a014c3252311 100644 --- a/include/linux/irda.h +++ b/include/linux/irda.h | |||
| @@ -26,12 +26,9 @@ | |||
| 26 | #define KERNEL_IRDA_H | 26 | #define KERNEL_IRDA_H |
| 27 | 27 | ||
| 28 | #include <linux/types.h> | 28 | #include <linux/types.h> |
| 29 | #include <linux/socket.h> | ||
| 29 | 30 | ||
| 30 | /* Please do *not* add any #include in this file, this file is | 31 | /* Note that this file is shared with user space. */ |
| 31 | * included as-is in user space. | ||
| 32 | * Please fix the calling file to properly included needed files before | ||
| 33 | * this one, or preferably to include <net/irda/irda.h> instead. | ||
| 34 | * Jean II */ | ||
| 35 | 32 | ||
| 36 | /* Hint bit positions for first hint byte */ | 33 | /* Hint bit positions for first hint byte */ |
| 37 | #define HINT_PNP 0x01 | 34 | #define HINT_PNP 0x01 |
| @@ -125,7 +122,7 @@ enum { | |||
| 125 | #define LSAP_ANY 0xff | 122 | #define LSAP_ANY 0xff |
| 126 | 123 | ||
| 127 | struct sockaddr_irda { | 124 | struct sockaddr_irda { |
| 128 | sa_family_t sir_family; /* AF_IRDA */ | 125 | __kernel_sa_family_t sir_family; /* AF_IRDA */ |
| 129 | __u8 sir_lsap_sel; /* LSAP selector */ | 126 | __u8 sir_lsap_sel; /* LSAP selector */ |
| 130 | __u32 sir_addr; /* Device address */ | 127 | __u32 sir_addr; /* Device address */ |
| 131 | char sir_name[25]; /* Usually <service>:IrDA:TinyTP */ | 128 | char sir_name[25]; /* Usually <service>:IrDA:TinyTP */ |
