diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-05 15:33:10 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:35 -0800 |
commit | 1242c70df56978e8abbf715a02fb1c55313f8471 (patch) | |
tree | e637dbef6b5cc3dac45b9e5e28737c2cae7ee0c8 /drivers/staging/rt2870/common/2870_rtmp_init.c | |
parent | 5a501b3011095c9afb396cdade5be8db359df977 (diff) |
Staging: rt2870: fix up netdev->priv usage
Now that netdev->priv is removed, fix the driver to use netdev->ml_priv
like it always should have been doing.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rt2870/common/2870_rtmp_init.c')
-rw-r--r-- | drivers/staging/rt2870/common/2870_rtmp_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rt2870/common/2870_rtmp_init.c b/drivers/staging/rt2870/common/2870_rtmp_init.c index 359c1820e6d..5d89a310d1e 100644 --- a/drivers/staging/rt2870/common/2870_rtmp_init.c +++ b/drivers/staging/rt2870/common/2870_rtmp_init.c @@ -763,7 +763,7 @@ Note: NDIS_STATUS CreateThreads( IN struct net_device *net_dev) { - PRTMP_ADAPTER pAd = (PRTMP_ADAPTER) net_dev->priv; + PRTMP_ADAPTER pAd = net_dev->ml_priv; POS_COOKIE pObj = (POS_COOKIE) pAd->OS_Cookie; pid_t pid_number = -1; |