mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
static void drm_unplug_minor(struct drm_minor *minor)
|
||||||
{
|
{
|
||||||
if (!minor || !device_is_registered(minor->kdev))
|
if (!minor || !minor->kdev)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#if defined(CONFIG_DEBUG_FS)
|
#if defined(CONFIG_DEBUG_FS)
|
||||||
|
|
Loading…
Reference in a new issue