summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-12-15 04:25:54 -0500
committerMarcel Holtmann <marcel@holtmann.org>2014-12-18 18:19:25 -0500
commitfc50c6e36de742229492117d8e005102a1d21900 (patch)
tree7463cded5fcc5888482637d40e47094dfa2fccde /drivers/net/ieee802154
parent5f5c5c23e3b71110c0215f9ea20e5434b68871f1 (diff)
at86rf230: make at86rf230_async_error inline
This patch makes the at86rf230_async_error inline. This function is small enough to handle inline. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Reviewed-by: Stefan Schmidt <s.schmidt@samsung.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r--drivers/net/ieee802154/at86rf230.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c
index 59209f35ec6b..8fee326a6b96 100644
--- a/drivers/net/ieee802154/at86rf230.c
+++ b/drivers/net/ieee802154/at86rf230.c
@@ -450,7 +450,7 @@ at86rf230_async_error_recover(void *context)
450 ieee802154_wake_queue(lp->hw); 450 ieee802154_wake_queue(lp->hw);
451} 451}
452 452
453static void 453static inline void
454at86rf230_async_error(struct at86rf230_local *lp, 454at86rf230_async_error(struct at86rf230_local *lp,
455 struct at86rf230_state_change *ctx, int rc) 455 struct at86rf230_state_change *ctx, int rc)
456{ 456{