diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:13:25 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:10:55 -0500 |
commit | 2358a4940b7f9b863fa8084960f40517985df8c1 (patch) | |
tree | 5991a7b52556e56f016567504027ab0d5a712e93 /audio | |
parent | 2f7bb8780af4a007e90045b4cc97f558e956adf9 (diff) |
Generate config-host.h from config-host.mak
Generate CONFIG_AUDIO_DRIVERS. Order is important here, because the
first driver in the list is the one used by default.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c index 694a83e4e..0a3830dc4 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -37,8 +37,13 @@ #define SW_NAME(sw) (sw)->name ? (sw)->name : "unknown" + +/* Order of CONFIG_AUDIO_DRIVERS is import. + The 1st one is the one used by default, that is the reason + that we generate the list. +*/ static struct audio_driver *drvtab[] = { - AUDIO_DRIVERS + CONFIG_AUDIO_DRIVERS &no_audio_driver, &wav_audio_driver }; |