diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-18 18:43:58 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-29 12:16:36 -0500 |
commit | 36cd6f6f20724d49aac1910e310f81a43e0cb657 (patch) | |
tree | 2e6e7d689d79dfb2da14684e1415cd3003cb89ec /hw/audio/cs4231a.c | |
parent | 8c444a1978fd9956c9712572d9ad0b83bbbc0a63 (diff) | |
download | qemu-36cd6f6f20724d49aac1910e310f81a43e0cb657.zip qemu-36cd6f6f20724d49aac1910e310f81a43e0cb657.tar.gz qemu-36cd6f6f20724d49aac1910e310f81a43e0cb657.tar.bz2 |
audio: remove the need for audio card CONFIG_* symbols
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1366303444-24620-3-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/audio/cs4231a.c')
-rw-r--r-- | hw/audio/cs4231a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/audio/cs4231a.c b/hw/audio/cs4231a.c index 5711b62..cc605e5 100644 --- a/hw/audio/cs4231a.c +++ b/hw/audio/cs4231a.c @@ -659,7 +659,7 @@ static int cs4231a_initfn (ISADevice *dev) return 0; } -int cs4231a_init (ISABus *bus) +static int cs4231a_init (ISABus *bus) { isa_create_simple (bus, "cs4231a"); return 0; @@ -692,6 +692,7 @@ static const TypeInfo cs4231a_info = { static void cs4231a_register_types (void) { type_register_static (&cs4231a_info); + isa_register_soundhw("cs4231a", "CS4231A", cs4231a_init); } type_init (cs4231a_register_types) |