0001
0002
0003
0004
0005 #ifndef __SOUND_HDA_I915_H
0006 #define __SOUND_HDA_I915_H
0007
0008 #include "hda_component.h"
0009
0010 #ifdef CONFIG_SND_HDA_I915
0011 void snd_hdac_i915_set_bclk(struct hdac_bus *bus);
0012 int snd_hdac_i915_init(struct hdac_bus *bus);
0013 #else
0014 static inline void snd_hdac_i915_set_bclk(struct hdac_bus *bus)
0015 {
0016 }
0017 static inline int snd_hdac_i915_init(struct hdac_bus *bus)
0018 {
0019 return -ENODEV;
0020 }
0021 #endif
0022 static inline int snd_hdac_i915_exit(struct hdac_bus *bus)
0023 {
0024 return snd_hdac_acomp_exit(bus);
0025 }
0026
0027 #endif