summaryrefslogtreecommitdiffstats
path: root/sound/drivers/virmidi.c
diff options
context:
space:
mode:
authorLihua Yao <ylhuajnu@163.com>2018-08-15 20:59:46 +0800
committerTakashi Iwai <tiwai@suse.de>2018-08-19 18:34:31 +0200
commitc7b8170790c19293acd835dc50b8247ec207d4a3 (patch)
treefec30276f4c3b015f3746cd44cf057b7cf0f2f6e /sound/drivers/virmidi.c
parent82fd4b05d704623a0e4aa7fda48e272a9889337d (diff)
downloadtalos-obmc-linux-c7b8170790c19293acd835dc50b8247ec207d4a3.tar.gz
talos-obmc-linux-c7b8170790c19293acd835dc50b8247ec207d4a3.zip
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 'sound/drivers/virmidi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud