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:
a2cb6a4
)
irda/au1k_ir: fix broken netdev_ops conversion
author
Alexander Beregalov
<a.beregalov@gmail.com>
Wed, 26 Aug 2009 03:39:18 +0000
(20:39 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 Aug 2009 03:39:18 +0000
(20:39 -0700)
This patch is based on commit
d2f3ad4
(pxaficp-ir: remove incorrect
net_device_ops). Do the same for au1k_ir.
Untested.
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/au1k_ir.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/irda/au1k_ir.c
b/drivers/net/irda/au1k_ir.c
index c4361d466597c50963c9a0dc594c6cd3b3e41b7e..ee1cff5c9b21cb1918589cbe555d1706402eac60 100644
(file)
--- a/
drivers/net/irda/au1k_ir.c
+++ b/
drivers/net/irda/au1k_ir.c
@@
-23,7
+23,6
@@
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/netdevice.h>
-#include <linux/etherdevice.h>
#include <linux/slab.h>
#include <linux/rtnetlink.h>
#include <linux/interrupt.h>
@@
-205,9
+204,6
@@
static const struct net_device_ops au1k_irda_netdev_ops = {
.ndo_start_xmit = au1k_irda_hard_xmit,
.ndo_tx_timeout = au1k_tx_timeout,
.ndo_do_ioctl = au1k_irda_ioctl,
- .ndo_change_mtu = eth_change_mtu,
- .ndo_validate_addr = eth_validate_addr,
- .ndo_set_mac_address = eth_mac_addr,
};
static int au1k_irda_net_init(struct net_device *dev)