diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-05-09 17:47:52 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-09-21 08:38:22 +0200 |
commit | 2785968cd122b22b289db565b7438f2200984044 (patch) | |
tree | ea4e89483c87179f626df4d048124f33f8227c46 | |
parent | 0012e5c9315c33fe8d62cb8cb87a95484d7761c1 (diff) |
can: headers: make header files self contained
This patch adds the missing #include-s to the dev.h and led.h, so that they can
be used without including further header files.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | include/linux/can/dev.h | 3 | ||||
-rw-r--r-- | include/linux/can/led.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/can/dev.h b/include/linux/can/dev.h index c3a9c8fc60fa..56dcadd83716 100644 --- a/include/linux/can/dev.h +++ b/include/linux/can/dev.h @@ -14,9 +14,10 @@ #define _CAN_DEV_H #include <linux/can.h> -#include <linux/can/netlink.h> #include <linux/can/error.h> #include <linux/can/led.h> +#include <linux/can/netlink.h> +#include <linux/netdevice.h> /* * CAN mode diff --git a/include/linux/can/led.h b/include/linux/can/led.h index 146de4506d21..2746f7c2f87d 100644 --- a/include/linux/can/led.h +++ b/include/linux/can/led.h @@ -11,6 +11,7 @@ #include <linux/if.h> #include <linux/leds.h> +#include <linux/netdevice.h> enum can_led_event { CAN_LED_EVENT_OPEN, |