]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc: use machine_subsys_initcall() for opal_hmi_handler_init()
authorLi Zhong <zhong@linux.vnet.ibm.com>
Tue, 12 Aug 2014 09:17:04 +0000 (17:17 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 Sep 2014 09:02:46 +0000 (19:02 +1000)
commitc1c8a92f7017519f343fa87a32e544c217d9d287
tree72d31a3e3cc4d6108e3ec2c5c8f99f4981ff4c0e
parent85101af13bb854a6572fa540df7c7201958624b9
powerpc: use machine_subsys_initcall() for opal_hmi_handler_init()

As opal_message_init() uses machine_early_initcall(powernv, ), and
opal_hmi_handler_init() depends on that early initcall, so it also needs
use machine_* to check the machine_id.

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
arch/powerpc/platforms/powernv/opal-hmi.c