]> www.infradead.org Git - users/willy/linux.git/commitdiff
ALSA: vxpocket: Fix a typo at conversion to dev_*()
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 18:23:07 +0000 (20:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 18:23:41 +0000 (20:23 +0200)
There was a typo in the previous conversion to dev_*() that caused a
build error.  Fix it.

Fixes: 2acbb5e57230 ("ALSA: vxpocket: Use standard print API")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202408090110.t0mWbTyh-lkp@intel.com/
Link: https://patch.msgid.link/20240808182308.28418-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pcmcia/vx/vxpocket.c

index 5f72c73eac8532de4155354ebd6f2e4df4cbebbd..d2d5f64d63b4313a9457182f96eafb2de4beaf48 100644 (file)
@@ -268,7 +268,7 @@ static int vxpocket_probe(struct pcmcia_device *p_dev)
        err = snd_card_new(&p_dev->dev, index[i], id[i], THIS_MODULE,
                           0, &card);
        if (err < 0) {
-               dev_err(&pdev->dev, "vxpocket: cannot create a card instance\n");
+               dev_err(&p_dev->dev, "vxpocket: cannot create a card instance\n");
                return err;
        }