From: Sylwester Nawrocki Date: Tue, 8 Nov 2011 22:16:04 +0000 (-0300) Subject: [media] staging: as102: Add missing function argument X-Git-Tag: firefly_0821_release~3680^2~2904^2~676 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1ec9a35e1cfaff6983977b5db4ed2f81a0e63920;p=firefly-linux-kernel-4.4.55.git [media] staging: as102: Add missing function argument Add missing dev argument in dev_err() call to correct an error introduced in commit 880102898f19cf9f9ba36dc9d838b5476645ce00 Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/staging/media/as102/as102_drv.c b/drivers/staging/media/as102/as102_drv.c index b8adfd291b29..beacb2cddb45 100644 --- a/drivers/staging/media/as102/as102_drv.c +++ b/drivers/staging/media/as102/as102_drv.c @@ -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; }