diff options
Diffstat (limited to 'drivers/net/irda/sir-dev.h')
-rw-r--r-- | drivers/net/irda/sir-dev.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/drivers/net/irda/sir-dev.h b/drivers/net/irda/sir-dev.h index 6d5b1e2b1289..f50b9c1c0639 100644 --- a/drivers/net/irda/sir-dev.h +++ b/drivers/net/irda/sir-dev.h | |||
@@ -102,28 +102,29 @@ struct sir_driver { | |||
102 | 102 | ||
103 | /* exported */ | 103 | /* exported */ |
104 | 104 | ||
105 | extern int irda_register_dongle(struct dongle_driver *new); | 105 | int irda_register_dongle(struct dongle_driver *new); |
106 | extern int irda_unregister_dongle(struct dongle_driver *drv); | 106 | int irda_unregister_dongle(struct dongle_driver *drv); |
107 | 107 | ||
108 | extern struct sir_dev * sirdev_get_instance(const struct sir_driver *drv, const char *name); | 108 | struct sir_dev *sirdev_get_instance(const struct sir_driver *drv, |
109 | extern int sirdev_put_instance(struct sir_dev *self); | 109 | const char *name); |
110 | int sirdev_put_instance(struct sir_dev *self); | ||
110 | 111 | ||
111 | extern int sirdev_set_dongle(struct sir_dev *dev, IRDA_DONGLE type); | 112 | int sirdev_set_dongle(struct sir_dev *dev, IRDA_DONGLE type); |
112 | extern void sirdev_write_complete(struct sir_dev *dev); | 113 | void sirdev_write_complete(struct sir_dev *dev); |
113 | extern int sirdev_receive(struct sir_dev *dev, const unsigned char *cp, size_t count); | 114 | int sirdev_receive(struct sir_dev *dev, const unsigned char *cp, size_t count); |
114 | 115 | ||
115 | /* low level helpers for SIR device/dongle setup */ | 116 | /* low level helpers for SIR device/dongle setup */ |
116 | extern int sirdev_raw_write(struct sir_dev *dev, const char *buf, int len); | 117 | int sirdev_raw_write(struct sir_dev *dev, const char *buf, int len); |
117 | extern int sirdev_raw_read(struct sir_dev *dev, char *buf, int len); | 118 | int sirdev_raw_read(struct sir_dev *dev, char *buf, int len); |
118 | extern int sirdev_set_dtr_rts(struct sir_dev *dev, int dtr, int rts); | 119 | int sirdev_set_dtr_rts(struct sir_dev *dev, int dtr, int rts); |
119 | 120 | ||
120 | /* not exported */ | 121 | /* not exported */ |
121 | 122 | ||
122 | extern int sirdev_get_dongle(struct sir_dev *self, IRDA_DONGLE type); | 123 | int sirdev_get_dongle(struct sir_dev *self, IRDA_DONGLE type); |
123 | extern int sirdev_put_dongle(struct sir_dev *self); | 124 | int sirdev_put_dongle(struct sir_dev *self); |
124 | 125 | ||
125 | extern void sirdev_enable_rx(struct sir_dev *dev); | 126 | void sirdev_enable_rx(struct sir_dev *dev); |
126 | extern int sirdev_schedule_request(struct sir_dev *dev, int state, unsigned param); | 127 | int sirdev_schedule_request(struct sir_dev *dev, int state, unsigned param); |
127 | 128 | ||
128 | /* inline helpers */ | 129 | /* inline helpers */ |
129 | 130 | ||