]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: at_hdmac: platform data move to use .id_table
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 17 Oct 2011 12:56:40 +0000 (14:56 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 10 Nov 2011 08:43:33 +0000 (14:13 +0530)
commit67348450b86cb1b42aa4dd55cf7cde19c2e53461
tree85bae4e8095d9cf41f539f401d179dcc9fde35b8
parent1ea6b8f48918282bdca0b32a34095504ee65bab5
dmaengine: at_hdmac: platform data move to use .id_table

We remove the use of platform data from DMA controller driver.
We now use of .id_table to distinguish between compatible
types. The two implementations allow to determine the
number of channels and the capabilities of the controller.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h