From 36cd6f6f20724d49aac1910e310f81a43e0cb657 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 18 Apr 2013 18:43:58 +0200 Subject: audio: remove the need for audio card CONFIG_* symbols Signed-off-by: Paolo Bonzini Message-id: 1366303444-24620-3-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori --- hw/audio/gus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/audio/gus.c') diff --git a/hw/audio/gus.c b/hw/audio/gus.c index 0604d6eac3..a91921c77d 100644 --- a/hw/audio/gus.c +++ b/hw/audio/gus.c @@ -293,7 +293,7 @@ static int gus_initfn (ISADevice *dev) return 0; } -int GUS_init (ISABus *bus) +static int GUS_init (ISABus *bus) { isa_create_simple (bus, "gus"); return 0; @@ -327,6 +327,7 @@ static const TypeInfo gus_info = { static void gus_register_types (void) { type_register_static (&gus_info); + isa_register_soundhw("gus", "Gravis Ultrasound GF1", GUS_init); } type_init (gus_register_types) -- cgit v1.2.1