summaryrefslogtreecommitdiffstats
path: root/drivers/net/ieee802154/at86rf230.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-12-15 10:25:54 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-12-19 00:19:25 +0100
commitfc50c6e36de742229492117d8e005102a1d21900 (patch)
tree7463cded5fcc5888482637d40e47094dfa2fccde /drivers/net/ieee802154/at86rf230.c
parent5f5c5c23e3b71110c0215f9ea20e5434b68871f1 (diff)
downloadblackbird-op-linux-fc50c6e36de742229492117d8e005102a1d21900.tar.gz
blackbird-op-linux-fc50c6e36de742229492117d8e005102a1d21900.zip
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/at86rf230.c')
-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)
ieee802154_wake_queue(lp->hw);
}
-static void
+static inline void
at86rf230_async_error(struct at86rf230_local *lp,
struct at86rf230_state_change *ctx, int rc)
{
OpenPOWER on IntegriCloud