diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-02-14 17:57:48 -0500 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-02-14 18:08:39 -0500 |
commit | 3e544ef9357493422909064de35f3e289d92f1fe (patch) | |
tree | fcaa7b183be66ac555ee56192fd3c5b5d723c063 /drivers/net/ieee802154 | |
parent | ff0fcc2987b42857d233e8a72c7476fb1e520110 (diff) |
at86rf230: assign wait_for_completion_timeout to appropriately typed var
return type of wait_for_completion_timeout is unsigned long not int.
As rc is used here only for wait_for_completion_timeout the type is simply
changed to unsigned long.
Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index 7b051eacb7f1..cbfc8c5b6a34 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -689,7 +689,7 @@ at86rf230_sync_state_change_complete(void *context) | |||
689 | static int | 689 | static int |
690 | at86rf230_sync_state_change(struct at86rf230_local *lp, unsigned int state) | 690 | at86rf230_sync_state_change(struct at86rf230_local *lp, unsigned int state) |
691 | { | 691 | { |
692 | int rc; | 692 | unsigned long rc; |
693 | 693 | ||
694 | at86rf230_async_state_change(lp, &lp->state, state, | 694 | at86rf230_async_state_change(lp, &lp->state, state, |
695 | at86rf230_sync_state_change_complete, | 695 | at86rf230_sync_state_change_complete, |