OSDN Git Service

usb: gadget: udc: atmel: Remove obsolete include
authorRomain Izard <romain.izard.pro@gmail.com>
Fri, 11 May 2018 10:19:55 +0000 (12:19 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 May 2018 07:24:47 +0000 (10:24 +0300)
The include defines the private platform_data structure used with AVR
platforms. It has no user since 7c55984e191f. Remove it.

Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/atmel_usba_udc.c
include/linux/usb/atmel_usba_udc.h [deleted file]

index 0fe3d0f..b9623e2 100644 (file)
@@ -20,7 +20,6 @@
 #include <linux/ctype.h>
 #include <linux/usb/ch9.h>
 #include <linux/usb/gadget.h>
-#include <linux/usb/atmel_usba_udc.h>
 #include <linux/delay.h>
 #include <linux/of.h>
 #include <linux/irq.h>
diff --git a/include/linux/usb/atmel_usba_udc.h b/include/linux/usb/atmel_usba_udc.h
deleted file mode 100644 (file)
index 9bb00df..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * Platform data definitions for Atmel USBA gadget driver.
- */
-#ifndef __LINUX_USB_USBA_H
-#define __LINUX_USB_USBA_H
-
-struct usba_ep_data {
-       char    *name;
-       int     index;
-       int     fifo_size;
-       int     nr_banks;
-       int     can_dma;
-       int     can_isoc;
-};
-
-struct usba_platform_data {
-       int                     vbus_pin;
-       int                     vbus_pin_inverted;
-       int                     num_ep;
-       struct usba_ep_data     ep[0];
-};
-
-#endif /* __LINUX_USB_USBA_H */