Commit 2785968c authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

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: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 0012e5c9
...@@ -14,9 +14,10 @@ ...@@ -14,9 +14,10 @@
#define _CAN_DEV_H #define _CAN_DEV_H
#include <linux/can.h> #include <linux/can.h>
#include <linux/can/netlink.h>
#include <linux/can/error.h> #include <linux/can/error.h>
#include <linux/can/led.h> #include <linux/can/led.h>
#include <linux/can/netlink.h>
#include <linux/netdevice.h>
/* /*
* CAN mode * CAN mode
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <linux/if.h> #include <linux/if.h>
#include <linux/leds.h> #include <linux/leds.h>
#include <linux/netdevice.h>
enum can_led_event { enum can_led_event {
CAN_LED_EVENT_OPEN, CAN_LED_EVENT_OPEN,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment