[media] staging: as102: Add missing function argument
authorSylwester Nawrocki <snjw23@gmail.com>
Tue, 8 Nov 2011 22:16:04 +0000 (19:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 16:46:05 +0000 (14:46 -0200)
Add missing dev argument in dev_err() call to correct an error
introduced in commit 880102898f19cf9f9ba36dc9d838b5476645ce00

Signed-off-by: Sylwester Nawrocki <snjw23@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/as102/as102_drv.c

index b8adfd291b293ffd8850e950f41a015ca2941657..beacb2cddb45d8eaff6a01a0840ac78ed9beb684 100644 (file)
@@ -220,7 +220,7 @@ int as102_dvb_register(struct as102_dev_t *as102_dev)
 
        ret = dvb_dmx_init(&as102_dev->dvb_dmx);
        if (ret < 0) {
-               dev_err("%s: dvb_dmx_init() failed: %d\n", __func__, ret);
+               dev_err(dev, "%s: dvb_dmx_init() failed: %d\n", __func__, ret);
                goto edmxinit;
        }