diff options
Diffstat (limited to 'include/sound/ac97_codec.h')
-rw-r--r-- | include/sound/ac97_codec.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h index cbe72e06c469..2857cf0472df 100644 --- a/include/sound/ac97_codec.h +++ b/include/sound/ac97_codec.h | |||
@@ -26,6 +26,7 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | #include <linux/bitops.h> | 28 | #include <linux/bitops.h> |
29 | #include <linux/device.h> | ||
29 | #include "pcm.h" | 30 | #include "pcm.h" |
30 | #include "control.h" | 31 | #include "control.h" |
31 | #include "info.h" | 32 | #include "info.h" |
@@ -523,6 +524,7 @@ struct _snd_ac97 { | |||
523 | /* jack-sharing info */ | 524 | /* jack-sharing info */ |
524 | unsigned char indep_surround; | 525 | unsigned char indep_surround; |
525 | unsigned char channel_mode; | 526 | unsigned char channel_mode; |
527 | struct device dev; | ||
526 | }; | 528 | }; |
527 | 529 | ||
528 | /* conditions */ | 530 | /* conditions */ |
@@ -602,4 +604,8 @@ struct ac97_enum { | |||
602 | unsigned short mask; | 604 | unsigned short mask; |
603 | const char **texts; | 605 | const char **texts; |
604 | }; | 606 | }; |
607 | |||
608 | /* ad hoc AC97 device driver access */ | ||
609 | extern struct bus_type ac97_bus_type; | ||
610 | |||
605 | #endif /* __SOUND_AC97_CODEC_H */ | 611 | #endif /* __SOUND_AC97_CODEC_H */ |