diff options
Diffstat (limited to 'drivers/net/irda/old_belkin-sir.c')
-rw-r--r-- | drivers/net/irda/old_belkin-sir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/irda/old_belkin-sir.c b/drivers/net/irda/old_belkin-sir.c index 8c22c7374a23..75714bc71030 100644 --- a/drivers/net/irda/old_belkin-sir.c +++ b/drivers/net/irda/old_belkin-sir.c | |||
@@ -92,7 +92,7 @@ static int old_belkin_open(struct sir_dev *dev) | |||
92 | { | 92 | { |
93 | struct qos_info *qos = &dev->qos; | 93 | struct qos_info *qos = &dev->qos; |
94 | 94 | ||
95 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 95 | IRDA_DEBUG(2, "%s()\n", __func__); |
96 | 96 | ||
97 | /* Power on dongle */ | 97 | /* Power on dongle */ |
98 | sirdev_set_dtr_rts(dev, TRUE, TRUE); | 98 | sirdev_set_dtr_rts(dev, TRUE, TRUE); |
@@ -110,7 +110,7 @@ static int old_belkin_open(struct sir_dev *dev) | |||
110 | 110 | ||
111 | static int old_belkin_close(struct sir_dev *dev) | 111 | static int old_belkin_close(struct sir_dev *dev) |
112 | { | 112 | { |
113 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 113 | IRDA_DEBUG(2, "%s()\n", __func__); |
114 | 114 | ||
115 | /* Power off dongle */ | 115 | /* Power off dongle */ |
116 | sirdev_set_dtr_rts(dev, FALSE, FALSE); | 116 | sirdev_set_dtr_rts(dev, FALSE, FALSE); |
@@ -125,7 +125,7 @@ static int old_belkin_close(struct sir_dev *dev) | |||
125 | */ | 125 | */ |
126 | static int old_belkin_change_speed(struct sir_dev *dev, unsigned speed) | 126 | static int old_belkin_change_speed(struct sir_dev *dev, unsigned speed) |
127 | { | 127 | { |
128 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 128 | IRDA_DEBUG(2, "%s()\n", __func__); |
129 | 129 | ||
130 | dev->speed = 9600; | 130 | dev->speed = 9600; |
131 | return (speed==dev->speed) ? 0 : -EINVAL; | 131 | return (speed==dev->speed) ? 0 : -EINVAL; |
@@ -139,7 +139,7 @@ static int old_belkin_change_speed(struct sir_dev *dev, unsigned speed) | |||
139 | */ | 139 | */ |
140 | static int old_belkin_reset(struct sir_dev *dev) | 140 | static int old_belkin_reset(struct sir_dev *dev) |
141 | { | 141 | { |
142 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 142 | IRDA_DEBUG(2, "%s()\n", __func__); |
143 | 143 | ||
144 | /* This dongles speed "defaults" to 9600 bps ;-) */ | 144 | /* This dongles speed "defaults" to 9600 bps ;-) */ |
145 | dev->speed = 9600; | 145 | dev->speed = 9600; |