aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Beregalov <a.beregalov@gmail.com>2009-08-25 20:39:37 -0700
committerDavid S. Miller <davem@davemloft.net>2009-08-25 20:39:37 -0700
commit4484b9c8b4976acee181d377f8ba571109d1a2be (patch)
tree6be6360c2a724a07a3d72c4546e8db6ba12eb1ad
parent730a9cfc2dcead5538c0c96a046000d97140b0c0 (diff)
downloadkernel_samsung_aries-4484b9c8b4976acee181d377f8ba571109d1a2be.zip
kernel_samsung_aries-4484b9c8b4976acee181d377f8ba571109d1a2be.tar.gz
kernel_samsung_aries-4484b9c8b4976acee181d377f8ba571109d1a2be.tar.bz2
irda/sa1100_ir: fix broken netdev_ops conversion
This patch is based on commit d2f3ad4 (pxaficp-ir: remove incorrect net_device_ops). Do the same for sa1100_ir. Untested. Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/irda/sa1100_ir.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/irda/sa1100_ir.c b/drivers/net/irda/sa1100_ir.c
index 2aeb2e6..b039cb0 100644
--- a/drivers/net/irda/sa1100_ir.c
+++ b/drivers/net/irda/sa1100_ir.c
@@ -24,7 +24,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>
@@ -881,9 +880,6 @@ static const struct net_device_ops sa1100_irda_netdev_ops = {
.ndo_stop = sa1100_irda_stop,
.ndo_start_xmit = sa1100_irda_hard_xmit,
.ndo_do_ioctl = sa1100_irda_ioctl,
- .ndo_change_mtu = eth_change_mtu,
- .ndo_validate_addr = eth_validate_addr,
- .ndo_set_mac_address = eth_mac_addr,
};
static int sa1100_irda_probe(struct platform_device *pdev)