Skip to contentSkip to conversation

ALSA: ac97 - Include ac97_codec.h for ac97_bus_type declaration

PATCH Applied Mark Brown 2 participants 2 messages Dec 2, 2008 Sound

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---
 sound/ac97_bus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/ac97_bus.c +1 -0
index 7fa37e1..a351dd0 100644
@@ -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
Signature · 1 line
1.5.6.5
Applied
#1 lore raw

At Tue, 2 Dec 2008 15:15:50 +0000,

Quoted 5 lines · Mark Brown

This fixes a sparse warning caused by the lack of a connection with the prototype for ac97_bus_type.

Applied. Thanks.

Takashi

Quoted 19 lines
---
 sound/ac97_bus.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/ac97_bus.c +1 -0
index 7fa37e1..a351dd0 100644
@@ -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
Signature · 1 line
1.5.6.5