From: Alexander Aring Date: Sun, 26 Oct 2014 08:37:14 +0000 (+0100) Subject: mac802154: tx: add comment at sync xmit callback X-Git-Tag: v5.15~16721^2~28^2~129^2~67 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e7283a271afcd45713f2813c97de300565a0dd7;p=platform%2Fkernel%2Flinux-starfive.git mac802154: tx: add comment at sync xmit callback This patch adds a warning that xmit_sync callback is deprecated and should be removed soon. The 802.15.4 subsystem will not accept synced drivers anymore. Signed-off-by: Alexander Aring Signed-off-by: Marcel Holtmann --- diff --git a/include/net/mac802154.h b/include/net/mac802154.h index 57b1202..942dd53 100644 --- a/include/net/mac802154.h +++ b/include/net/mac802154.h @@ -117,6 +117,10 @@ struct ieee802154_hw { * synchronous 802.15.4 drivers. * This function should return zero or negative errno. * + * WARNING: + * This will be deprecated soon. We don't accept synced xmit callbacks + * drivers anymore. + * * xmit_async: * Handler that 802.15.4 module calls for each transmitted frame. * skb cntains the buffer starting from the IEEE 802.15.4 header.