mfd: mt6397: IRQ domain should initialize before mfd_add_devices()
authorHenry Chen <henryc.chen@mediatek.com>
Fri, 15 Apr 2016 08:30:29 +0000 (16:30 +0800)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 07:20:22 +0000 (08:20 +0100)
commit1387ff53568ba409eef072087fa02359b3a3551b
tree2121874c67d445da08c37de45f9112824cea46ed
parentba5776ab6f09800dd9ba8442185139661e065529
mfd: mt6397: IRQ domain should initialize before mfd_add_devices()

Some sub driver like RTC module need irq domain from parent to create
irq mapping when driver initialize. so move mt6397_irq_init() before
mfd_add_devices().

Acked-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mt6397-core.c