diff options
author | Randy Dunlap <[email protected]> | 2022-04-05 16:41:18 -0700 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-04-07 10:28:48 +0200 |
commit | 9dd7c46346ca4390f84a7ea9933005eb1b175c15 (patch) | |
tree | ad462a3dffb1d4d8e66753eec57811609b73a9d8 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9eb6f5c388060d8cef3c8b616cc31b765e022359 (diff) |
sound/oss/dmasound: fix build when drivers are mixed =y/=m
When CONFIG_DMASOUND_ATARI=m and CONFIG_DMASOUND_Q40=y (or vice versa),
dmasound_core.o can be built without dmasound_deinit() being defined,
causing a build error:
ERROR: modpost: "dmasound_deinit" [sound/oss/dmasound/dmasound_atari.ko] undefined!
Modify dmasound_core.c and dmasound.h so that dmasound_deinit() is
always available.
The mixed modes (=y/=m) also mean that several variables and structs
have to be declared in all cases.
Suggested-by: Arnd Bergmann <[email protected]>
Suggested-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: lore.kernel.org/r/[email protected]
Cc: Geert Uytterhoeven <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions