summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/dma/hsu/hsu.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/dma/hsu/hsu.h')
-rw-r--r--kernel/drivers/dma/hsu/hsu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/dma/hsu/hsu.h b/kernel/drivers/dma/hsu/hsu.h
index 0275233cf..f06579c6d 100644
--- a/kernel/drivers/dma/hsu/hsu.h
+++ b/kernel/drivers/dma/hsu/hsu.h
@@ -78,7 +78,6 @@ struct hsu_dma_chan {
struct virt_dma_chan vchan;
void __iomem *reg;
- spinlock_t lock;
/* hardware configuration */
enum dma_transfer_direction direction;
@@ -108,6 +107,7 @@ struct hsu_dma {
/* channels */
struct hsu_dma_chan *chan;
+ unsigned short nr_channels;
};
static inline struct hsu_dma *to_hsu_dma(struct dma_device *ddev)