Skip to content

Commit cd1177f

Browse files
committed
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
Pull drm regression fix from Dave Airlie: "Forgot this one liner was necessary to fix module reload issues introduced earlier in the drm pull" * 'drm-next' of git://people.freedesktop.org/~airlied/linux: drm: check for !kdev in drm_unplug_minor()
2 parents 6c0514d + a348335 commit cd1177f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/drm_stub.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ static int drm_get_minor(struct drm_device *dev, struct drm_minor **minor,
338338
*/
339339
static void drm_unplug_minor(struct drm_minor *minor)
340340
{
341-
if (!minor || !device_is_registered(minor->kdev))
341+
if (!minor || !minor->kdev)
342342
return;
343343

344344
#if defined(CONFIG_DEBUG_FS)

0 commit comments

Comments
 (0)