[alsa-devel] [PATCH] ALSA: ac97 - Include ac97_codec.h for ac97_bus_type declaration
This fixes a sparse warning caused by the lack of a connection with the prototype for ac97_bus_type.
Signed-off-by: Mark Brown broonie@opensource.wolfsonmicro.com --- sound/ac97_bus.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/ac97_bus.c b/sound/ac97_bus.c index 7fa37e1..a351dd0 100644 --- a/sound/ac97_bus.c +++ b/sound/ac97_bus.c @@ -15,6 +15,7 @@ #include <linux/init.h> #include <linux/device.h> #include <linux/string.h> +#include <sound/ac97_codec.h>
/* * Let drivers decide whether they want to support given codec from their
At Tue, 2 Dec 2008 15:15:50 +0000, Mark Brown wrote:
This fixes a sparse warning caused by the lack of a connection with the prototype for ac97_bus_type.
Signed-off-by: Mark Brown broonie@opensource.wolfsonmicro.com
Applied. Thanks.
Takashi
sound/ac97_bus.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/ac97_bus.c b/sound/ac97_bus.c index 7fa37e1..a351dd0 100644 --- a/sound/ac97_bus.c +++ b/sound/ac97_bus.c @@ -15,6 +15,7 @@ #include <linux/init.h> #include <linux/device.h> #include <linux/string.h> +#include <sound/ac97_codec.h>
/*
- Let drivers decide whether they want to support given codec from their
-- 1.5.6.5
participants (2)
-
Mark Brown
-
Takashi Iwai