diff options
Diffstat (limited to 'device.c')
-rw-r--r-- | device.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -254,7 +254,7 @@ void device_release(struct device_user *dep) return; device_broadcast_event(dev, DEV_EVENT_TEARDOWN); - if (!dep->hotplug) + if (!dev->external) dev->set_state(dev, false); device_broadcast_event(dev, DEV_EVENT_DOWN); } |