aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/irda
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/irda')
-rw-r--r--include/net/irda/ircomm_tty.h14
-rw-r--r--include/net/irda/irda.h21
-rw-r--r--include/net/irda/irda_device.h2
-rw-r--r--include/net/irda/irlap_event.h2
-rw-r--r--include/net/irda/irlap_frame.h4
5 files changed, 21 insertions, 22 deletions
diff --git a/include/net/irda/ircomm_tty.h b/include/net/irda/ircomm_tty.h
index 80ffde3bb164..0224402260a7 100644
--- a/include/net/irda/ircomm_tty.h
+++ b/include/net/irda/ircomm_tty.h
@@ -105,13 +105,13 @@ struct ircomm_tty_cb {
105void ircomm_tty_start(struct tty_struct *tty); 105void ircomm_tty_start(struct tty_struct *tty);
106void ircomm_tty_check_modem_status(struct ircomm_tty_cb *self); 106void ircomm_tty_check_modem_status(struct ircomm_tty_cb *self);
107 107
108extern int ircomm_tty_tiocmget(struct tty_struct *tty); 108int ircomm_tty_tiocmget(struct tty_struct *tty);
109extern int ircomm_tty_tiocmset(struct tty_struct *tty, 109int ircomm_tty_tiocmset(struct tty_struct *tty, unsigned int set,
110 unsigned int set, unsigned int clear); 110 unsigned int clear);
111extern int ircomm_tty_ioctl(struct tty_struct *tty, 111int ircomm_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
112 unsigned int cmd, unsigned long arg); 112 unsigned long arg);
113extern void ircomm_tty_set_termios(struct tty_struct *tty, 113void ircomm_tty_set_termios(struct tty_struct *tty,
114 struct ktermios *old_termios); 114 struct ktermios *old_termios);
115 115
116#endif 116#endif
117 117
diff --git a/include/net/irda/irda.h b/include/net/irda/irda.h
index 3bed61d379a8..a059465101ff 100644
--- a/include/net/irda/irda.h
+++ b/include/net/irda/irda.h
@@ -112,20 +112,19 @@ do { if(!(expr)) { \
112struct net_device; 112struct net_device;
113struct packet_type; 113struct packet_type;
114 114
115extern void irda_proc_register(void); 115void irda_proc_register(void);
116extern void irda_proc_unregister(void); 116void irda_proc_unregister(void);
117 117
118extern int irda_sysctl_register(void); 118int irda_sysctl_register(void);
119extern void irda_sysctl_unregister(void); 119void irda_sysctl_unregister(void);
120 120
121extern int irsock_init(void); 121int irsock_init(void);
122extern void irsock_cleanup(void); 122void irsock_cleanup(void);
123 123
124extern int irda_nl_register(void); 124int irda_nl_register(void);
125extern void irda_nl_unregister(void); 125void irda_nl_unregister(void);
126 126
127extern int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, 127int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev,
128 struct packet_type *ptype, 128 struct packet_type *ptype, struct net_device *orig_dev);
129 struct net_device *orig_dev);
130 129
131#endif /* NET_IRDA_H */ 130#endif /* NET_IRDA_H */
diff --git a/include/net/irda/irda_device.h b/include/net/irda/irda_device.h
index 94c852d47d0f..11417475a6c3 100644
--- a/include/net/irda/irda_device.h
+++ b/include/net/irda/irda_device.h
@@ -162,7 +162,7 @@ typedef struct {
162 int irq, irq2; /* Interrupts used */ 162 int irq, irq2; /* Interrupts used */
163 int dma, dma2; /* DMA channel(s) used */ 163 int dma, dma2; /* DMA channel(s) used */
164 int fifo_size; /* FIFO size */ 164 int fifo_size; /* FIFO size */
165 int irqflags; /* interrupt flags (ie, IRQF_SHARED|IRQF_DISABLED) */ 165 int irqflags; /* interrupt flags (ie, IRQF_SHARED) */
166 int direction; /* Link direction, used by some FIR drivers */ 166 int direction; /* Link direction, used by some FIR drivers */
167 int enabled; /* Powered on? */ 167 int enabled; /* Powered on? */
168 int suspended; /* Suspended by APM */ 168 int suspended; /* Suspended by APM */
diff --git a/include/net/irda/irlap_event.h b/include/net/irda/irlap_event.h
index 4c90824c50fb..f9d88da97af2 100644
--- a/include/net/irda/irlap_event.h
+++ b/include/net/irda/irlap_event.h
@@ -126,6 +126,6 @@ void irlap_do_event(struct irlap_cb *self, IRLAP_EVENT event,
126 struct sk_buff *skb, struct irlap_info *info); 126 struct sk_buff *skb, struct irlap_info *info);
127void irlap_print_event(IRLAP_EVENT event); 127void irlap_print_event(IRLAP_EVENT event);
128 128
129extern int irlap_qos_negotiate(struct irlap_cb *self, struct sk_buff *skb); 129int irlap_qos_negotiate(struct irlap_cb *self, struct sk_buff *skb);
130 130
131#endif 131#endif
diff --git a/include/net/irda/irlap_frame.h b/include/net/irda/irlap_frame.h
index 6b1dc4f8eca5..57173ae398ae 100644
--- a/include/net/irda/irlap_frame.h
+++ b/include/net/irda/irlap_frame.h
@@ -163,7 +163,7 @@ void irlap_resend_rejected_frame(struct irlap_cb *self, int command);
163void irlap_send_ui_frame(struct irlap_cb *self, struct sk_buff *skb, 163void irlap_send_ui_frame(struct irlap_cb *self, struct sk_buff *skb,
164 __u8 caddr, int command); 164 __u8 caddr, int command);
165 165
166extern int irlap_insert_qos_negotiation_params(struct irlap_cb *self, 166int irlap_insert_qos_negotiation_params(struct irlap_cb *self,
167 struct sk_buff *skb); 167 struct sk_buff *skb);
168 168
169#endif 169#endif