diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-06 08:40:47 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-03-12 11:18:26 +0100 |
commit | d3893a39eb0165809325071ab07984797d78e57a (patch) | |
tree | ad48738682ee38a743635bc79a99c62515f3998b /scripts/create_config | |
parent | a88afc649e53adc1cac00bb5803fbafdd4d99994 (diff) |
audio: add driver registry
Add registry for audio drivers, using the existing audio_driver struct.
Make all drivers register themself. The old list of audio_driver struct
pointers is now a list of audio driver names, specifying the priority
(aka probe order) in case no driver is explicitly asked for.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20180306074053.22856-2-kraxel@redhat.com
Diffstat (limited to 'scripts/create_config')
-rwxr-xr-x | scripts/create_config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create_config b/scripts/create_config index 603b826886..d727e5e36e 100755 --- a/scripts/create_config +++ b/scripts/create_config @@ -36,7 +36,7 @@ case $line in drivers=${line#*=} echo "#define CONFIG_AUDIO_DRIVERS \\" for drv in $drivers; do - echo " &${drv}_audio_driver,\\" + echo " \"${drv}\",\\" done echo "" ;; |