commit | c7b8170790c19293acd835dc50b8247ec207d4a3 | [log] [tgz] |
---|---|---|
author | Lihua Yao <ylhuajnu@163.com> | Wed Aug 15 20:59:46 2018 +0800 |
committer | Takashi Iwai <tiwai@suse.de> | Sun Aug 19 18:34:31 2018 +0200 |
tree | fec30276f4c3b015f3746cd44cf057b7cf0f2f6e | |
parent | 82fd4b05d704623a0e4aa7fda48e272a9889337d [diff] |
ALSA: ac97: fix device initialization in the compat layer ac97->dev is an object of 'struct device' type. It should be initialized via device_initialize() or device_register(). Fixes: 74426fbff66e ("ALSA: ac97: add an ac97 bus") Signed-off-by: Lihua Yao <ylhuajnu@163.com> Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>