]> Git Repo - linux.git/commit - sound/ac97/snd_ac97_compat.c
ALSA: ac97: fix device initialization in the compat layer
authorLihua Yao <[email protected]>
Wed, 15 Aug 2018 12:59:46 +0000 (20:59 +0800)
committerTakashi Iwai <[email protected]>
Sun, 19 Aug 2018 16:34:31 +0000 (18:34 +0200)
commitc7b8170790c19293acd835dc50b8247ec207d4a3
treefec30276f4c3b015f3746cd44cf057b7cf0f2f6e
parent82fd4b05d704623a0e4aa7fda48e272a9889337d
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 <[email protected]>
Tested-by: Robert Jarzmik <[email protected]>
Acked-by: Robert Jarzmik <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/ac97/snd_ac97_compat.c
This page took 0.057154 seconds and 4 git commands to generate.