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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Hans J. Koch 2010-04-13 00:03:25 +00:00 • committed by David S. Miller
commit 829e001543
14 changed files with 1 additions and 13 deletions

View file

@ -14,6 +14,7 @@
#ifndef CAN_DEV_H
#define CAN_DEV_H
#include <linux/can.h>
#include <linux/can/netlink.h>
#include <linux/can/error.h>