commit | 17bba72f8f89a1a164faa0d0b3f1d850eba399ce | [log] [tgz] |
---|---|---|
author | Sascha Hauer <s.hauer@pengutronix.de> | Tue Aug 20 10:04:31 2013 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Aug 26 20:47:16 2013 +0530 |
tree | 482ea74df9cf34b1e9987829a5f497198cfbb844 | |
parent | 023bf55f1c21214cab411cf767d53c8717de6d21 [diff] |
dma: imx-sdma: Use struct for driver data Use a struct type instead of an enum type for distinguishing between different versions. This makes it simpler to handle multiple differences without cluttering the code with comparisons for certain devtypes. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>