diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-05-11 10:25:48 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-11 19:52:49 -0400 |
commit | f8c1376c2202c9158ab908d730524a590bafdcb8 (patch) | |
tree | 8b6e59363f704622a3566e39a87dbb825766ee0f /drivers/usb | |
parent | 5f36e231e9dbffb5264612e5b5817ab574a5e5db (diff) |
usb: chipidea: remove unused field "regs" from ci13xxx
The old implementation used global hw_bank, the new implementation uses
udc-local hw_bank. This field seems to be a leftover from previous coding
experiments.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/chipidea/ci.h | 1 | ||||
-rw-r--r-- | drivers/usb/chipidea/ci13xxx_msm.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/ci.h b/drivers/usb/chipidea/ci.h index 56cb73b1e903..0f226b0d4761 100644 --- a/drivers/usb/chipidea/ci.h +++ b/drivers/usb/chipidea/ci.h | |||
@@ -80,7 +80,6 @@ struct hw_bank { | |||
80 | /* CI13XXX UDC descriptor & global resources */ | 80 | /* CI13XXX UDC descriptor & global resources */ |
81 | struct ci13xxx { | 81 | struct ci13xxx { |
82 | spinlock_t lock; /* ctrl register bank access */ | 82 | spinlock_t lock; /* ctrl register bank access */ |
83 | void __iomem *regs; /* registers address space */ | ||
84 | 83 | ||
85 | struct dma_pool *qh_pool; /* DMA pool for queue heads */ | 84 | struct dma_pool *qh_pool; /* DMA pool for queue heads */ |
86 | struct dma_pool *td_pool; /* DMA pool for transfer descs */ | 85 | struct dma_pool *td_pool; /* DMA pool for transfer descs */ |
diff --git a/drivers/usb/chipidea/ci13xxx_msm.c b/drivers/usb/chipidea/ci13xxx_msm.c index 9b09f0cd3d5a..958069ef95e3 100644 --- a/drivers/usb/chipidea/ci13xxx_msm.c +++ b/drivers/usb/chipidea/ci13xxx_msm.c | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #include "ci.h" | 16 | #include "ci.h" |
17 | 17 | ||
18 | #define MSM_USB_BASE (udc->regs) | 18 | #define MSM_USB_BASE (udc->hw_bank.abs) |
19 | 19 | ||
20 | static void ci13xxx_msm_notify_event(struct ci13xxx *udc, unsigned event) | 20 | static void ci13xxx_msm_notify_event(struct ci13xxx *udc, unsigned event) |
21 | { | 21 | { |