mac802154: rearrange attribute in ieee802154_hw
authorAlexander Aring <alex.aring@gmail.com>
Sat, 6 Jun 2015 15:30:51 +0000 (17:30 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 7 Jun 2015 07:13:32 +0000 (09:13 +0200)
This patch removes the priv attribute in ieee802154_hw to the right
section which is commented by attributes which needs to be filled by
driver layer.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Reviewed-by: Varka Bhadram <varkabhadram@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/mac802154.h

index 61d4b80bf766ca918598afaafae21e10cf297f7e..d8e9e6f0e096c8bdfae9044b1c4ebf068b7e26f9 100644 (file)
@@ -72,9 +72,9 @@ struct ieee802154_hw {
        int     extra_tx_headroom;
        u32     flags;
        struct  device *parent;
+       void    *priv;
 
        /* filled by mac802154 core */
-       void    *priv;
        struct  wpan_phy *phy;
 };