summaryrefslogtreecommitdiffstats
path: root/drivers/dma/mv_xor.h
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-10-29 16:45:46 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-11-20 15:58:55 +0100
commita6b4a9d2c1063ffc52ca94b6c1b24f9b6d5b79c5 (patch)
treed35077f7e4a7d14b623372f3b8d2134d4984270b /drivers/dma/mv_xor.h
parent09f2b7864ce37483f4c4ecb30b0eed599f475035 (diff)
downloadlinux-a6b4a9d2c1063ffc52ca94b6c1b24f9b6d5b79c5.tar.gz
linux-a6b4a9d2c1063ffc52ca94b6c1b24f9b6d5b79c5.tar.bz2
linux-a6b4a9d2c1063ffc52ca94b6c1b24f9b6d5b79c5.zip
dma: mv_xor: split initialization/cleanup of XOR channels
Instead of doing the initialization/cleanup of the XOR channels directly in the ->probe() and ->remove() hooks, we create separate utility functions mv_xor_channel_add() and mv_xor_channel_remove(). This will allow to easily introduce in a future patch a different way of registering XOR channels: instead of having one platform_device per channel, we'll trigger the registration of all XOR channels of a given XOR engine directly from the XOR engine ->probe() function. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/dma/mv_xor.h')
0 files changed, 0 insertions, 0 deletions