diff options
author | Cezary Rojewski <[email protected]> | 2020-10-07 15:57:00 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-10-08 21:16:48 +0100 |
commit | f38d43dafb0ccd85034fe22647d353ee8be03ab6 (patch) | |
tree | fba908948447f00b314251827e1a7917704fadfb /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 6db282c8a9edcbf84e699e45ec087baf07be2236 (diff) |
ASoC: Intel: catpt: Fix compilation when CONFIG_MODULES is disabled
module_is_live() is available only when CONFIG_MODULES is enabled.
Replace its usage with try_module_get() which is present regardless of
said config's status.
Fixes: 7a10b66a5df9 ("ASoC: Intel: catpt: Device driver lifecycle")
Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: Cezary Rojewski <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions