]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/dma/ste_dma40.c
dmaengine: ste_dma40: Allow driver to be probe()able when DT is enabled
authorLee Jones <lee.jones@linaro.org>
Fri, 3 May 2013 14:32:11 +0000 (15:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:13:06 +0000 (21:13 +0200)
commit1814a1703ce2d6d4b88b5f62a52b137afebad990
tree0a035efe9458f9ebef3dc3a01e278540ab75276d
parentbb75d93b903afcd0904c83850835857fd9f8ef2d
dmaengine: ste_dma40: Allow driver to be probe()able when DT is enabled

When booting using Device Tree, devices aren't registered in the normal
way. Instead, they need to be provided with a compatible string which is
held in an OF Match Table for comparison during start-up. Here we provide
the compatible string and prepare the driver to not receive a platform
data pointer.

Acked-by: Vinod Koul <vnod.koul@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
[Fixed up whitespace error]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/dma/ste_dma40.c