# \[PATCH v2\] soc: mediatek: SCPSYS: use builtin\_platform\_driver

- From: Daniel Kurtz \<hidden\>
- Date: 2016-01-08 12:17:20 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2016/01/4655731
- Thread: https://ratatoskr.run/linux-mediatek/2015/12/4650549/t.md

```text
Hi Matthias,

Thanks for the patch...

On Wed, Dec 30, 2015 at 4:30 PM, Matthias Brugger
[ref] wrote:
>
> 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 <redacted>
> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

Reviewed-by: Daniel Kurtz <redacted>
Tested-by: Daniel Kurtz <redacted>
```
