diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
commit | 4fb8af10d0fd09372d52966b76922b9e82bbc950 (patch) | |
tree | d240e4d40357583e3f3eb228dccf20122a5b31ed /drivers/net/irda/litelink-sir.c | |
parent | f44f82e8a20b98558486eb14497b2f71c78fa325 (diff) | |
parent | 64a99d2a8c3ed5c4e39f3ae1cc682aa8fd3977fc (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
Diffstat (limited to 'drivers/net/irda/litelink-sir.c')
-rw-r--r-- | drivers/net/irda/litelink-sir.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/irda/litelink-sir.c b/drivers/net/irda/litelink-sir.c index 73261c54bbfd..d6d9d2e5ad49 100644 --- a/drivers/net/irda/litelink-sir.c +++ b/drivers/net/irda/litelink-sir.c | |||
@@ -78,7 +78,7 @@ static int litelink_open(struct sir_dev *dev) | |||
78 | { | 78 | { |
79 | struct qos_info *qos = &dev->qos; | 79 | struct qos_info *qos = &dev->qos; |
80 | 80 | ||
81 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 81 | IRDA_DEBUG(2, "%s()\n", __func__); |
82 | 82 | ||
83 | /* Power up dongle */ | 83 | /* Power up dongle */ |
84 | sirdev_set_dtr_rts(dev, TRUE, TRUE); | 84 | sirdev_set_dtr_rts(dev, TRUE, TRUE); |
@@ -95,7 +95,7 @@ static int litelink_open(struct sir_dev *dev) | |||
95 | 95 | ||
96 | static int litelink_close(struct sir_dev *dev) | 96 | static int litelink_close(struct sir_dev *dev) |
97 | { | 97 | { |
98 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 98 | IRDA_DEBUG(2, "%s()\n", __func__); |
99 | 99 | ||
100 | /* Power off dongle */ | 100 | /* Power off dongle */ |
101 | sirdev_set_dtr_rts(dev, FALSE, FALSE); | 101 | sirdev_set_dtr_rts(dev, FALSE, FALSE); |
@@ -113,7 +113,7 @@ static int litelink_change_speed(struct sir_dev *dev, unsigned speed) | |||
113 | { | 113 | { |
114 | int i; | 114 | int i; |
115 | 115 | ||
116 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 116 | IRDA_DEBUG(2, "%s()\n", __func__); |
117 | 117 | ||
118 | /* dongle already reset by irda-thread - current speed (dongle and | 118 | /* dongle already reset by irda-thread - current speed (dongle and |
119 | * port) is the default speed (115200 for litelink!) | 119 | * port) is the default speed (115200 for litelink!) |
@@ -156,7 +156,7 @@ static int litelink_change_speed(struct sir_dev *dev, unsigned speed) | |||
156 | */ | 156 | */ |
157 | static int litelink_reset(struct sir_dev *dev) | 157 | static int litelink_reset(struct sir_dev *dev) |
158 | { | 158 | { |
159 | IRDA_DEBUG(2, "%s()\n", __FUNCTION__); | 159 | IRDA_DEBUG(2, "%s()\n", __func__); |
160 | 160 | ||
161 | /* probably the power-up can be dropped here, but with only | 161 | /* probably the power-up can be dropped here, but with only |
162 | * 15 usec delay it's not worth the risk unless somebody with | 162 | * 15 usec delay it's not worth the risk unless somebody with |