diff options
author | Hans J. Koch <hjk@linutronix.de> | 2010-04-12 20:03:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 06:32:42 -0400 |
commit | 829e0015431537176e38812f88fffe1d3250083e (patch) | |
tree | 585fa8fafbf09d629262f78c3b7ab2f578f35021 /include/linux/can | |
parent | 5e10d4a7fc80e4ef310c07a6a547406fef50534a (diff) |
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>
Diffstat (limited to 'include/linux/can')
-rw-r--r-- | include/linux/can/dev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/can/dev.h b/include/linux/can/dev.h index 6e5a7f00223d..cc0bb4961669 100644 --- a/include/linux/can/dev.h +++ b/include/linux/can/dev.h | |||
@@ -14,6 +14,7 @@ | |||
14 | #ifndef CAN_DEV_H | 14 | #ifndef CAN_DEV_H |
15 | #define CAN_DEV_H | 15 | #define CAN_DEV_H |
16 | 16 | ||
17 | #include <linux/can.h> | ||
17 | #include <linux/can/netlink.h> | 18 | #include <linux/can/netlink.h> |
18 | #include <linux/can/error.h> | 19 | #include <linux/can/error.h> |
19 | 20 | ||