|
@@ -89,7 +89,8 @@ static const struct hdac_io_ops hdac_ext_default_io = {
|
|
|
*/
|
|
|
int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev,
|
|
|
const struct hdac_bus_ops *ops,
|
|
|
- const struct hdac_io_ops *io_ops)
|
|
|
+ const struct hdac_io_ops *io_ops,
|
|
|
+ const struct hdac_ext_bus_ops *ext_ops)
|
|
|
{
|
|
|
int ret;
|
|
|
static int idx;
|
|
@@ -102,6 +103,7 @@ int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev,
|
|
|
if (ret < 0)
|
|
|
return ret;
|
|
|
|
|
|
+ bus->ext_ops = ext_ops;
|
|
|
INIT_LIST_HEAD(&bus->hlink_list);
|
|
|
bus->idx = idx++;
|
|
|
|