Message ID | 2bc01aa7942bc135234abd3d7d4b9a738778de56.1620304986.git.sean@mess.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | IR driver for USB-UIRT device | expand |
On Thu, May 06, 2021 at 01:44:53PM +0100, Sean Young wrote: > A following commit adds a new IR driver uirt which needs the ftdi defines; > the hardware uses an fdti usb serial port. You don't seem to use more than a couple of the FTDI defines in the driver so please copy those to your implementation instead of moving the header. Johan
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index c867592477c9..542073d2f0dd 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -41,7 +41,7 @@ #include <linux/serial.h> #include <linux/gpio/driver.h> #include <linux/usb/serial.h> -#include "ftdi_sio.h" +#include <linux/usb/ftdi_sio.h> #include "ftdi_sio_ids.h" #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>, Andreas Mohr, Johan Hovold <jhovold@gmail.com>" diff --git a/drivers/usb/serial/ftdi_sio.h b/include/linux/usb/ftdi_sio.h similarity index 100% rename from drivers/usb/serial/ftdi_sio.h rename to include/linux/usb/ftdi_sio.h
A following commit adds a new IR driver uirt which needs the ftdi defines; the hardware uses an fdti usb serial port. Signed-off-by: Sean Young <sean@mess.org> --- drivers/usb/serial/ftdi_sio.c | 2 +- {drivers/usb/serial => include/linux/usb}/ftdi_sio.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {drivers/usb/serial => include/linux/usb}/ftdi_sio.h (100%)