diff options
| author | Bin Liu <b-liu@ti.com> | 2018-05-21 09:42:10 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-05-22 06:03:24 -0400 |
| commit | 42e990ea80f23c58404f24c009da3ae3867a1fec (patch) | |
| tree | bbc0cb4bf5a4f182378963fec9e4dfeffbe6d740 /drivers/usb/musb/musb_core.h | |
| parent | 78fba982db768fd2cd3f05b03ea2b2b13af1cfbb (diff) | |
usb: musb: remove readl/writel from struct musb_platform_ops
Now Blackfin support is removed, we no longer need function pointers for
musb_readl() and musb_writel().
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/musb_core.h')
| -rw-r--r-- | drivers/usb/musb/musb_core.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 8a74cb2907f8..a4bf1e9e2d2c 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h | |||
| @@ -127,8 +127,6 @@ struct musb_io; | |||
| 127 | * @writeb: write 8 bits | 127 | * @writeb: write 8 bits |
| 128 | * @readw: read 16 bits | 128 | * @readw: read 16 bits |
| 129 | * @writew: write 16 bits | 129 | * @writew: write 16 bits |
| 130 | * @readl: read 32 bits | ||
| 131 | * @writel: write 32 bits | ||
| 132 | * @read_fifo: reads the fifo | 130 | * @read_fifo: reads the fifo |
| 133 | * @write_fifo: writes to fifo | 131 | * @write_fifo: writes to fifo |
| 134 | * @dma_init: platform specific dma init function | 132 | * @dma_init: platform specific dma init function |
| @@ -174,8 +172,6 @@ struct musb_platform_ops { | |||
| 174 | void (*writeb)(void __iomem *addr, unsigned offset, u8 data); | 172 | void (*writeb)(void __iomem *addr, unsigned offset, u8 data); |
| 175 | u16 (*readw)(const void __iomem *addr, unsigned offset); | 173 | u16 (*readw)(const void __iomem *addr, unsigned offset); |
| 176 | void (*writew)(void __iomem *addr, unsigned offset, u16 data); | 174 | void (*writew)(void __iomem *addr, unsigned offset, u16 data); |
| 177 | u32 (*readl)(const void __iomem *addr, unsigned offset); | ||
| 178 | void (*writel)(void __iomem *addr, unsigned offset, u32 data); | ||
| 179 | void (*read_fifo)(struct musb_hw_ep *hw_ep, u16 len, u8 *buf); | 175 | void (*read_fifo)(struct musb_hw_ep *hw_ep, u16 len, u8 *buf); |
| 180 | void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf); | 176 | void (*write_fifo)(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf); |
| 181 | struct dma_controller * | 177 | struct dma_controller * |
