pxaficp-ir: remove incorrect net_device_ops
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 24 Aug 2009 05:57:30 +0000 (22:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Aug 2009 05:57:30 +0000 (22:57 -0700)
commitd2f3ad4cedc00c8ee848e7abe9b2bbc93b9a8c2d
tree922c4d71350e9270752f2ad81327fe185ef4fa93
parent28e9fc592cb8c7a43e4d3147b38be6032a0e81bc
pxaficp-ir: remove incorrect net_device_ops

This patch fixes broken pxaficp-ir. The problem was in incorrect
net_device_ops being specified which prevented the driver from
operating. The symptoms were:
 - failing ifconfig for IrLAN, resulting in
SIOCSIFFLAGS: Cannot assign requested address
 - irattach working for IrCOMM, but the port stayed disabled

Moreover this patch corrects missing sysfs device link.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/pxaficp_ir.c