Fix some #includes in CAN drivers (rebased for net-next-2.6)
authorHans J. Koch <hjk@linutronix.de>
Tue, 13 Apr 2010 00:03:25 +0000 (00:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 10:32:42 +0000 (03:32 -0700)
commit829e0015431537176e38812f88fffe1d3250083e
tree585fa8fafbf09d629262f78c3b7ab2f578f35021
parent5e10d4a7fc80e4ef310c07a6a547406fef50534a
Fix some #includes in CAN drivers (rebased for net-next-2.6)

In the current implementation, CAN drivers need to #include <linux/can.h>
_before_ they #include <linux/can/dev.h>, which is both ugly and
unnecessary.

Fix this by including <linux/can.h> in <linux/can/dev.h> and remove the
#include <linux/can.h> lines from drivers.

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
drivers/net/can/at91_can.c
drivers/net/can/bfin_can.c
drivers/net/can/mcp251x.c
drivers/net/can/mscan/mpc5xxx_can.c
drivers/net/can/mscan/mscan.c
drivers/net/can/sja1000/ems_pci.c
drivers/net/can/sja1000/kvaser_pci.c
drivers/net/can/sja1000/plx_pci.c
drivers/net/can/sja1000/sja1000.c
drivers/net/can/sja1000/sja1000_isa.c
drivers/net/can/sja1000/sja1000_of_platform.c
drivers/net/can/sja1000/sja1000_platform.c
drivers/net/can/ti_hecc.c
include/linux/can/dev.h