linux-mips
[Top] [All Lists]

[PATCH 1/2] irda/au1k_ir: fix broken netdev_ops conversion

To: davem@davemloft.net, netdev@vger.kernel.org, linux-mips@linux-mips.org
Subject: [PATCH 1/2] irda/au1k_ir: fix broken netdev_ops conversion
From: Alexander Beregalov <a.beregalov@gmail.com>
Date: Mon, 24 Aug 2009 18:54:27 +0400
Cc: Alexander Beregalov <a.beregalov@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=0FAt29Lw5oen9vZHjGWdbpbuWY43AxC9kCzRs43ORRA=; b=n+neJoWAeHwaw/E8ojmD6mka+m/X/F33Q8matJdXDXoDD3ABsmj3pQBtmp0OGQYnyt zOCkzpHD6KGuDfFRpoxATBM9kmdFAQa19frD6V82e09v9q0kCyLMffXcpynan0+O+3eE HiuqGPU3rWepNnEvGs47RiEgu55HK5+gVvSVc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=mZIIT2nkznP+hKSUSzYxr5bPeXVmsdpMxCuhHCWnFo8RT23bg6+ANfUkTWQ+93hfSJ MtQJvWQAGSN1suLubCXXQSFlNx4YuQWQtSHGz3q7AQ+oZ2gU26n5kWxd4UtEGwWwdQV2 DMck/rOFoxRBir8ZRbXo6IhXUohX+AZd9PQUA=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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>
---
 drivers/net/irda/au1k_ir.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/net/irda/au1k_ir.c b/drivers/net/irda/au1k_ir.c
index c4361d4..ee1cff5 100644
--- 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)
-- 
1.6.4


<Prev in Thread] Current Thread [Next in Thread>