--- zzzz-none-000/linux-3.10.107/sound/mips/hal2.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/sound/mips/hal2.c 2021-02-04 17:41:59.000000000 +0000 @@ -880,7 +880,7 @@ struct snd_hal2 *chip; int err; - err = snd_card_create(index, id, THIS_MODULE, 0, &card); + err = snd_card_new(&pdev->dev, index, id, THIS_MODULE, 0, &card); if (err < 0) return err; @@ -889,7 +889,6 @@ snd_card_free(card); return err; } - snd_card_set_dev(card, &pdev->dev); err = hal2_pcm_create(chip); if (err < 0) { @@ -930,7 +929,6 @@ .remove = hal2_remove, .driver = { .name = "sgihal2", - .owner = THIS_MODULE, } };