From: Stephane Grosjean Date: Thu, 19 Jan 2017 15:31:06 +0000 (+0100) Subject: can: peak: move header file to new can common subdir X-Git-Tag: v4.12-rc1~129^2~93^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c3df7c5755ee1a53cd56a4efcf3426334ab9eea4;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Marc Kleine-Budde --- diff --git a/drivers/net/can/usb/peak_usb/pcan_usb_fd.c b/drivers/net/can/usb/peak_usb/pcan_usb_fd.c index 64cba85230f84..175c205d3f139 100644 --- a/drivers/net/can/usb/peak_usb/pcan_usb_fd.c +++ b/drivers/net/can/usb/peak_usb/pcan_usb_fd.c @@ -19,10 +19,10 @@ #include #include #include +#include #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"); diff --git a/drivers/net/can/usb/peak_usb/pcan_ucan.h b/include/linux/can/dev/peak_canfd.h similarity index 100% rename from drivers/net/can/usb/peak_usb/pcan_ucan.h rename to include/linux/can/dev/peak_canfd.h