diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/musb/blackfin.c | 2 | ||||
-rw-r--r-- | drivers/usb/musb/tusb6010.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index 95d75c00404b..ae8c39617743 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c | |||
@@ -35,6 +35,7 @@ struct bfin_glue { | |||
35 | */ | 35 | */ |
36 | void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) | 36 | void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) |
37 | { | 37 | { |
38 | struct musb *musb = hw_ep->musb; | ||
38 | void __iomem *fifo = hw_ep->fifo; | 39 | void __iomem *fifo = hw_ep->fifo; |
39 | void __iomem *epio = hw_ep->regs; | 40 | void __iomem *epio = hw_ep->regs; |
40 | u8 epnum = hw_ep->epnum; | 41 | u8 epnum = hw_ep->epnum; |
@@ -98,6 +99,7 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *src) | |||
98 | */ | 99 | */ |
99 | void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) | 100 | void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *dst) |
100 | { | 101 | { |
102 | struct musb *musb = hw_ep->musb; | ||
101 | void __iomem *fifo = hw_ep->fifo; | 103 | void __iomem *fifo = hw_ep->fifo; |
102 | u8 epnum = hw_ep->epnum; | 104 | u8 epnum = hw_ep->epnum; |
103 | 105 | ||
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c index 2f683a67ebb4..b410357cf016 100644 --- a/drivers/usb/musb/tusb6010.c +++ b/drivers/usb/musb/tusb6010.c | |||
@@ -172,6 +172,7 @@ static inline void tusb_fifo_read_unaligned(void __iomem *fifo, | |||
172 | 172 | ||
173 | void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf) | 173 | void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf) |
174 | { | 174 | { |
175 | struct musb *musb = hw_ep->musb; | ||
175 | void __iomem *ep_conf = hw_ep->conf; | 176 | void __iomem *ep_conf = hw_ep->conf; |
176 | void __iomem *fifo = hw_ep->fifo; | 177 | void __iomem *fifo = hw_ep->fifo; |
177 | u8 epnum = hw_ep->epnum; | 178 | u8 epnum = hw_ep->epnum; |
@@ -221,6 +222,7 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf) | |||
221 | 222 | ||
222 | void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf) | 223 | void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf) |
223 | { | 224 | { |
225 | struct musb *musb = hw_ep->musb; | ||
224 | void __iomem *ep_conf = hw_ep->conf; | 226 | void __iomem *ep_conf = hw_ep->conf; |
225 | void __iomem *fifo = hw_ep->fifo; | 227 | void __iomem *fifo = hw_ep->fifo; |
226 | u8 epnum = hw_ep->epnum; | 228 | u8 epnum = hw_ep->epnum; |