soc: mediatek: SCPSYS: use builtin_platform_driver
authorMatthias Brugger <matthias.bgg@gmail.com>
Wed, 30 Dec 2015 08:30:40 +0000 (09:30 +0100)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 25 Jan 2016 17:59:41 +0000 (18:59 +0100)
commitbe29523da38f959799fddceb25d052e498ab625a
tree329414556b92288035ec8df91d2dba4459e46d39
parent5b0fb1ea134b9f53f7ccd606e26283f40e0f8208
soc: mediatek: SCPSYS: use builtin_platform_driver

SCPSYS can't be built as module. Use builtin_platform_driver instead.
For this probe must not be __init and the data accessed can't be
__initconst. Remove this macros. To make the impact as small as possible,
fold scp_domain_data into scp_domain via a pointer.

Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Reported-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
drivers/soc/mediatek/mtk-scpsys.c
This page took 0.0252 seconds and 5 git commands to generate.