From: Alexander Aring <alex.aring@gmail.com>
Date: Sat, 6 Jun 2015 15:30:51 +0000 (+0200)
Subject: mac802154: rearrange attribute in ieee802154_hw
X-Git-Tag: firefly_0821_release~176^2~1587^2~29^2~76
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=af69a34548cb01aefef76aeb3565cebc7a9fb0d6;p=firefly-linux-kernel-4.4.55.git

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>
---

diff --git a/include/net/mac802154.h b/include/net/mac802154.h
index 61d4b80bf766..d8e9e6f0e096 100644
--- a/include/net/mac802154.h
+++ b/include/net/mac802154.h
@@ -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;
 };