ARM: DaVinci USB: removed deprecated properties from MUSB config
authorPetr Kulhavy <petr@barix.com>
Wed, 24 Feb 2016 15:41:49 +0000 (16:41 +0100)
committerSekhar Nori <nsekhar@ti.com>
Thu, 14 Apr 2016 06:20:05 +0000 (11:50 +0530)
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>
arch/arm/mach-davinci/usb.c

index b0a6b52..6ed5a54 100644 (file)
 #define DA8XX_USB1_BASE        0x01e25000
 
 #if IS_ENABLED(CONFIG_USB_MUSB_HDRC)
-static struct musb_hdrc_eps_bits musb_eps[] = {
-       { "ep1_tx", 8, },
-       { "ep1_rx", 8, },
-       { "ep2_tx", 8, },
-       { "ep2_rx", 8, },
-       { "ep3_tx", 5, },
-       { "ep3_rx", 5, },
-       { "ep4_tx", 5, },
-       { "ep4_rx", 5, },
-};
-
 static struct musb_hdrc_config musb_config = {
        .multipoint     = true,
-       .dyn_fifo       = true,
-       .soft_con       = true,
-       .dma            = true,
 
        .num_eps        = 5,
-       .dma_channels   = 8,
        .ram_bits       = 10,
-       .eps_bits       = musb_eps,
 };
 
 static struct musb_hdrc_platform_data usb_data = {