mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 14:12:07 +02:00
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()
This commit is contained in:
commit
cd1177f250
|
|
@ -338,7 +338,7 @@ static int drm_get_minor(struct drm_device *dev, struct drm_minor **minor,
|
|||
*/
|
||||
static void drm_unplug_minor(struct drm_minor *minor)
|
||||
{
|
||||
if (!minor || !device_is_registered(minor->kdev))
|
||||
if (!minor || !minor->kdev)
|
||||
return;
|
||||
|
||||
#if defined(CONFIG_DEBUG_FS)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user