projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
[powerpc.git]
/
drivers
/
net
/
3c501.c
diff --git
a/drivers/net/3c501.c
b/drivers/net/3c501.c
index
11d170a
..
4bee99b
100644
(file)
--- a/
drivers/net/3c501.c
+++ b/
drivers/net/3c501.c
@@
-735,7
+735,6
@@
static void el_receive(struct net_device *dev)
else
{
skb_reserve(skb,2); /* Force 16 byte alignment */
else
{
skb_reserve(skb,2); /* Force 16 byte alignment */
- skb->dev = dev;
/*
* The read increments through the bytes. The interrupt
* handler will fix the pointer when it returns to
/*
* The read increments through the bytes. The interrupt
* handler will fix the pointer when it returns to
@@
-922,7
+921,7
@@
int __init init_module(void)
* and then free up the resources we took when the card was found.
*/
* and then free up the resources we took when the card was found.
*/
-void cleanup_module(void)
+void
__exit
cleanup_module(void)
{
struct net_device *dev = dev_3c501;
unregister_netdev(dev);
{
struct net_device *dev = dev_3c501;
unregister_netdev(dev);