Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Alexander Beregalov and committed by
David S. Miller
4484b9c8 730a9cfc

-4
-4
drivers/net/irda/sa1100_ir.c
··· 24 24 #include <linux/init.h> 25 25 #include <linux/errno.h> 26 26 #include <linux/netdevice.h> 27 - #include <linux/etherdevice.h> 28 27 #include <linux/slab.h> 29 28 #include <linux/rtnetlink.h> 30 29 #include <linux/interrupt.h> ··· 880 881 .ndo_stop = sa1100_irda_stop, 881 882 .ndo_start_xmit = sa1100_irda_hard_xmit, 882 883 .ndo_do_ioctl = sa1100_irda_ioctl, 883 - .ndo_change_mtu = eth_change_mtu, 884 - .ndo_validate_addr = eth_validate_addr, 885 - .ndo_set_mac_address = eth_mac_addr, 886 884 }; 887 885 888 886 static int sa1100_irda_probe(struct platform_device *pdev)