diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c index 42ac3490b5f85145067437f70d7ceaaa2f92377b..8c828fee4f5a71ce9680155eb7d3c466e1d9606f 100644 --- a/drivers/media/rc/rc-main.c +++ b/drivers/media/rc/rc-main.c @@ -1480,6 +1480,8 @@ static int rc_dev_uevent(struct device *device, struct kobj_uevent_env *env) ADD_HOTPLUG_VAR("NAME=%s", dev->rc_map.name); if (dev->driver_name) ADD_HOTPLUG_VAR("DRV_NAME=%s", dev->driver_name); + if (dev->device_name) + ADD_HOTPLUG_VAR("DEV_NAME=%s", dev->device_name); return 0; }