Skip to content

Commit

Permalink
can: headers: make header files self contained
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marc Kleine-Budde committed Sep 21, 2015
1 parent 0012e5c commit 2785968
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/linux/can/dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions include/linux/can/led.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include <linux/if.h>
#include <linux/leds.h>
#include <linux/netdevice.h>

enum can_led_event {
CAN_LED_EVENT_OPEN,
Expand Down

0 comments on commit 2785968

Please sign in to comment.