Browse Source

can: peak: move header file to new can common subdir

The CAN-FD IP from PEAK-System runs into several kinds of PC CAN-FD
interfaces. Up to now, only the USB CAN-FD adapters were supported by
the Kernel. In order to prepare the adding of some new non-USB CAN-FD
interfaces, this patch moves - and rename - the IP definitions file
from its private (usb) sub-directory into a - newly created - CAN specific
one.

Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Stephane Grosjean 8 years ago
parent
commit
c3df7c5755
2 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/can/usb/peak_usb/pcan_usb_fd.c
  2. 0 0
      include/linux/can/dev/peak_canfd.h

+ 1 - 1
drivers/net/can/usb/peak_usb/pcan_usb_fd.c

@@ -19,10 +19,10 @@
 #include <linux/can.h>
 #include <linux/can/dev.h>
 #include <linux/can/error.h>
+#include <linux/can/dev/peak_canfd.h>
 
 #include "pcan_usb_core.h"
 #include "pcan_usb_pro.h"
-#include "pcan_ucan.h"
 
 MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB FD adapter");
 MODULE_SUPPORTED_DEVICE("PEAK-System PCAN-USB Pro FD adapter");

+ 0 - 0
drivers/net/can/usb/peak_usb/pcan_ucan.h → include/linux/can/dev/peak_canfd.h