aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-06-27 15:04:19 +0200
committerTakashi Iwai <tiwai@suse.de>2017-06-27 15:04:19 +0200
commit84359f87b89a63c1b8de67d38a4bd37f22cd4b1a (patch)
tree8f325a642b7123a6c94d43f177a4a976c55febba
parent80262db748634cf189b0d6408cb8172305a73965 (diff)
downloadhda-emu-84359f87b89a63c1b8de67d38a4bd37f22cd4b1a.tar.gz
Fix model generic binding
The call for generic driver init was missing, so -m generic didn't work. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f9439ce..d10d6c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -131,7 +131,7 @@ cat dist/sound/hda/*.c | grep '^module_init(' | \
fi
cat hda/patch_*.c | grep '^module_init(' | \
sed -e's/^module_init(\(.*\))/void call_init_\1(void);/g' >> kernel/init_hooks.h
-cat hda/patch_*.c | grep '^module_hda_codec_driver(' | \
+cat hda/*.c | grep '^module_hda_codec_driver(' | \
sed -e's/^module_hda_codec_driver(\(.*\))/void call_init_\1_init(void);/g' >> kernel/init_hooks.h
echo 'static void gather_codec_hooks(void) {' >> kernel/init_hooks.h
@@ -145,7 +145,7 @@ fi
cat hda/patch_*.c | grep '^module_init(' | \
sed -e's/^module_init(\(.*\))/call_init_\1();/g' >> kernel/init_hooks.h
-cat hda/patch_*.c | grep '^module_hda_codec_driver(' | \
+cat hda/*_*.c | grep '^module_hda_codec_driver(' | \
sed -e's/^module_hda_codec_driver(\(.*\))/call_init_\1_init();/g' >> kernel/init_hooks.h
echo '}' >> kernel/init_hooks.h