drm/usb: move usb support into a separate module
In order to satisfy all the various Kconfig options between USB and DRM, we need to split the USB code out into a separate module and export symbols to it. This fixes build problems in -next reported by sfr. Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -319,6 +319,7 @@ int drm_fill_in_dev(struct drm_device *dev,
|
||||
drm_lastclose(dev);
|
||||
return retcode;
|
||||
}
|
||||
EXPORT_SYMBOL(drm_fill_in_dev);
|
||||
|
||||
|
||||
/**
|
||||
@@ -397,6 +398,7 @@ err_idr:
|
||||
*minor = NULL;
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(drm_get_minor);
|
||||
|
||||
/**
|
||||
* Put a secondary minor number.
|
||||
@@ -428,6 +430,7 @@ int drm_put_minor(struct drm_minor **minor_p)
|
||||
*minor_p = NULL;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(drm_put_minor);
|
||||
|
||||
static void drm_unplug_minor(struct drm_minor *minor)
|
||||
{
|
||||
|
Reference in New Issue
Block a user