diff --git a/drivers/media/media-device.c b/drivers/media/media-device.c index c51e2e5636f3..fce91b543c14 100644 --- a/drivers/media/media-device.c +++ b/drivers/media/media-device.c @@ -537,9 +537,9 @@ static DEVICE_ATTR(model, S_IRUGO, show_model, NULL); * Registration/unregistration */ -static void media_device_release(struct media_devnode *mdev) +static void media_device_release(struct media_devnode *devnode) { - dev_dbg(mdev->parent, "Media device released\n"); + dev_dbg(devnode->parent, "Media device released\n"); } /**