mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
e6d0c13e9f
Now that all drivers have moved from modprobe loading to handling -EPROBE_DEFER, we can remove the argument again. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20231009115437.99976-14-maarten.lankhorst@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
28 lines
589 B
C
28 lines
589 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* HD-Audio helpers to sync with i915 driver
|
|
*/
|
|
#ifndef __SOUND_HDA_I915_H
|
|
#define __SOUND_HDA_I915_H
|
|
|
|
#include "hda_component.h"
|
|
|
|
#ifdef CONFIG_SND_HDA_I915
|
|
void snd_hdac_i915_set_bclk(struct hdac_bus *bus);
|
|
int snd_hdac_i915_init(struct hdac_bus *bus);
|
|
#else
|
|
static inline void snd_hdac_i915_set_bclk(struct hdac_bus *bus)
|
|
{
|
|
}
|
|
static inline int snd_hdac_i915_init(struct hdac_bus *bus)
|
|
{
|
|
return -ENODEV;
|
|
}
|
|
#endif
|
|
static inline int snd_hdac_i915_exit(struct hdac_bus *bus)
|
|
{
|
|
return snd_hdac_acomp_exit(bus);
|
|
}
|
|
|
|
#endif /* __SOUND_HDA_I915_H */
|