projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c849d25
)
Staging: cxt1e1: use netdev_priv to fix build
author
Randy Dunlap
<randy.dunlap@oracle.com>
Fri, 30 Apr 2010 17:07:12 +0000
(10:07 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 18:35:57 +0000
(11:35 -0700)
Fix cxt1e1 build error:
drivers/staging/cxt1e1/linux.c:1195: error: 'struct net_device' has no member named 'priv'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Bob Beers <bob.beers@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/cxt1e1/linux.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/cxt1e1/linux.c
b/drivers/staging/cxt1e1/linux.c
index 23e184da9723b09ce032f64022277dadc7fa0eb2..aee7018f9d3f5164b2b255796b4322ea88657a66 100644
(file)
--- a/
drivers/staging/cxt1e1/linux.c
+++ b/
drivers/staging/cxt1e1/linux.c
@@
-1192,7
+1192,7
@@
c4_add_dev (hdw_info_t * hi, int brdno, unsigned long f0, unsigned long f1,
hi->devname, irq1);
unregister_netdev (ndev);
free_irq (irq0, ndev);
- OS_kfree (n
dev->priv
);
+ OS_kfree (n
etdev_priv(ndev)
);
OS_kfree (ndev);
error_flag = EIO;
return 0;