[PATCH v2 0/2] soc: ti: Convert K3 SoC info driver to module

Nicolas Frayer nfrayer at baylibre.com
Mon Oct 10 06:15:36 PDT 2022


In order for the TI K3 SoC info driver to be built as a module, the
following 2 changes have been made:
- Convert memory allocations to devm and added the remove callback
- Added necessary code to build the driver as a module

v1->v2:
- Some drivers using socinfo do not handle deferred probe when socinfo
is built as a module. So defaulting socinfo to built-in until the deferred
probe is handled correctly by those drivers.

Nicolas Frayer (2):
  soc: ti: Convert allocations to devm
  soc: ti: Add module build support

 arch/arm64/Kconfig.platforms |  1 -
 drivers/soc/ti/Kconfig       |  3 ++-
 drivers/soc/ti/k3-socinfo.c  | 47 +++++++++++++++++++-----------------
 3 files changed, 27 insertions(+), 24 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list