mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
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>
This commit is contained in:
parent
0012e5c931
commit
2785968cd1
@ -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
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
#include <linux/if.h>
|
||||
#include <linux/leds.h>
|
||||
#include <linux/netdevice.h>
|
||||
|
||||
enum can_led_event {
|
||||
CAN_LED_EVENT_OPEN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user