diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2015-10-13 13:29:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 07:22:08 +0300 |
commit | 4c97ad993d763904fc1c9e0bdc3a6dba062802a2 (patch) | |
tree | 65019ab05cba45b85a4c523ecb2b6d581069cf01 /drivers/dma/hsu/hsu.h | |
parent | 47f82f1adf701b31d1816bf45118f8e83c02588e (diff) | |
download | linux-4c97ad993d763904fc1c9e0bdc3a6dba062802a2.tar.xz |
dmaengine: hsu: remove platform data
There are no platforms where it's not possible to calculate
the number of channels based on IO space length, and since
that is the only purpose for struct hsu_dma_platform_data,
removing it.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma/hsu/hsu.h')
-rw-r--r-- | drivers/dma/hsu/hsu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/hsu/hsu.h b/drivers/dma/hsu/hsu.h index eeb9fff66967..f06579c6d548 100644 --- a/drivers/dma/hsu/hsu.h +++ b/drivers/dma/hsu/hsu.h @@ -107,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) |