From: Zhipeng Wang <zhipeng.wang_1@nxp.com>
This series makes the i.MX SCU power domain driver buildable as a
loadable module, which is required for Android devices using the
Generic Kernel Image (GKI) where SoC-specific drivers must be modules.
Patch 1 exports of_stdout (which the driver references to find the
console's power domain) from the OF core with EXPORT_SYMBOL_GPL().
Patch 2 converts CONFIG_IMX_SCU_PD from bool to tristate and adds the
necessary MODULE_DEVICE_TABLE() and #ifdef MODULE guards.
Because of the cross-subsystem dependency (patch 1 touches drivers/of,
patch 2 touches drivers/pmdomain), I would suggest taking the whole
series through one tree.
Zhipeng Wang (2):
of: export of_stdout symbol
pmdomain: imx: scu-pd: allow building as a module
drivers/of/base.c | 1 +
drivers/pmdomain/imx/Kconfig | 2 +-
drivers/pmdomain/imx/scu-pd.c | 6 ++++++
3 files changed, 8 insertions(+), 1 deletion(-)
--
2.34.1