diff options
author | Christian Gromm <[email protected]> | 2020-04-24 17:16:34 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-04-28 15:04:09 +0200 |
commit | 5e56bc06e18dfc8a66180fa369384b36e2ab621a (patch) | |
tree | e71499f0004bd5b5fa3769732d9f9eef4834e037 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 522587e7c008c24f19ef5ef34806268992c5e5a6 (diff) |
most: core: use function subsys_initcall()
This patch replaces function module_init() with subsys_initcall().
It is needed to ensure that the core module of the driver is
initialized before a component tries to register with the core. This
leads to a NULL pointer dereference if the driver is configured as
in-tree.
Signed-off-by: Christian Gromm <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions