aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Kulhavy <petr@barix.com>2016-02-24 10:41:49 -0500
committerSekhar Nori <nsekhar@ti.com>2016-04-14 02:20:05 -0400
commit371a13d41599dd86e74625d542a6dc345ed1f312 (patch)
tree5cf3273964dbcd354ace6fe98bc7a3696f3babb0
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
ARM: DaVinci USB: removed deprecated properties from MUSB config
The following properties of the musb_hdrc_config structure are deprecated and no longer required/used by the MUSB driver: .dyn_fifo .soft_con .dma .dma_channels .eps_bits Signed-off-by: Petr Kulhavy <petr@barix.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>
-rw-r--r--arch/arm/mach-davinci/usb.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-davinci/usb.c b/arch/arm/mach-davinci/usb.c
index b0a6b522575f..6ed5a54ae74d 100644
--- a/arch/arm/mach-davinci/usb.c
+++ b/arch/arm/mach-davinci/usb.c
@@ -19,27 +19,11 @@
19#define DA8XX_USB1_BASE 0x01e25000 19#define DA8XX_USB1_BASE 0x01e25000
20 20
21#if IS_ENABLED(CONFIG_USB_MUSB_HDRC) 21#if IS_ENABLED(CONFIG_USB_MUSB_HDRC)
22static struct musb_hdrc_eps_bits musb_eps[] = {
23 { "ep1_tx", 8, },
24 { "ep1_rx", 8, },
25 { "ep2_tx", 8, },
26 { "ep2_rx", 8, },
27 { "ep3_tx", 5, },
28 { "ep3_rx", 5, },
29 { "ep4_tx", 5, },
30 { "ep4_rx", 5, },
31};
32
33static struct musb_hdrc_config musb_config = { 22static struct musb_hdrc_config musb_config = {
34 .multipoint = true, 23 .multipoint = true,
35 .dyn_fifo = true,
36 .soft_con = true,
37 .dma = true,
38 24
39 .num_eps = 5, 25 .num_eps = 5,
40 .dma_channels = 8,
41 .ram_bits = 10, 26 .ram_bits = 10,
42 .eps_bits = musb_eps,
43}; 27};
44 28
45static struct musb_hdrc_platform_data usb_data = { 29static struct musb_hdrc_platform_data usb_data = {