Эх сурвалжийг харах

mac802154: rearrange attribute in ieee802154_hw

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>
Alexander Aring 10 жил өмнө
parent
commit
af69a34548

+ 1 - 1
include/net/mac802154.h

@@ -72,9 +72,9 @@ struct ieee802154_hw {
 	int	extra_tx_headroom;
 	int	extra_tx_headroom;
 	u32	flags;
 	u32	flags;
 	struct	device *parent;
 	struct	device *parent;
+	void	*priv;
 
 
 	/* filled by mac802154 core */
 	/* filled by mac802154 core */
-	void	*priv;
 	struct	wpan_phy *phy;
 	struct	wpan_phy *phy;
 };
 };