diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-12-03 21:13:37 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-03 21:13:37 -0800 |
commit | 97341249c4c30cf0eea5439ce2f36ee887e640fe (patch) | |
tree | 8176bb5bccd687c3bbac23fb0be8203d983cc518 /drivers/message/fusion/mptlan.h | |
parent | 0eade1f930fa3ba6461b34baf3ed8fa7c4abc40f (diff) |
mptlan: Kill directly reference of netdev->priv
Simply replace netdev->priv with netdev_priv().
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/message/fusion/mptlan.h')
-rw-r--r-- | drivers/message/fusion/mptlan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptlan.h b/drivers/message/fusion/mptlan.h index 33927ee7dc3b..c171afa93239 100644 --- a/drivers/message/fusion/mptlan.h +++ b/drivers/message/fusion/mptlan.h @@ -122,7 +122,7 @@ MODULE_DESCRIPTION(LANAME); #define dlprintk(x) #endif -#define NETDEV_TO_LANPRIV_PTR(d) ((struct mpt_lan_priv *)(d)->priv) +#define NETDEV_TO_LANPRIV_PTR(d) ((struct mpt_lan_priv *)netdev_priv(d)) #define NETDEV_PTR_TO_IOC_NAME_s(d) (NETDEV_TO_LANPRIV_PTR(d)->mpt_dev->name) #define IOC_AND_NETDEV_NAMES_s_s(d) NETDEV_PTR_TO_IOC_NAME_s(d), (d)->name |