diff options
author | Lihua Yao <ylhuajnu@163.com> | 2018-08-15 20:59:46 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-08-19 18:34:31 +0200 |
commit | c7b8170790c19293acd835dc50b8247ec207d4a3 (patch) | |
tree | fec30276f4c3b015f3746cd44cf057b7cf0f2f6e /drivers/of | |
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>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions