Commit 4588d7eb authored by Jani Nikula's avatar Jani Nikula

drm/i915/driver: rename driver to i915_drm_driver

As a name, "driver" is too generic and short to be easily located in a
file this size. Rename it to i915_drm_driver.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211111101304.13094-2-jani.nikula@intel.com
parent 58471f63
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
#include "intel_region_ttm.h" #include "intel_region_ttm.h"
#include "vlv_suspend.h" #include "vlv_suspend.h"
static const struct drm_driver driver; static const struct drm_driver i915_drm_driver;
static int i915_get_bridge_dev(struct drm_i915_private *dev_priv) static int i915_get_bridge_dev(struct drm_i915_private *dev_priv)
{ {
...@@ -769,7 +769,7 @@ i915_driver_create(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -769,7 +769,7 @@ i915_driver_create(struct pci_dev *pdev, const struct pci_device_id *ent)
struct intel_device_info *device_info; struct intel_device_info *device_info;
struct drm_i915_private *i915; struct drm_i915_private *i915;
i915 = devm_drm_dev_alloc(&pdev->dev, &driver, i915 = devm_drm_dev_alloc(&pdev->dev, &i915_drm_driver,
struct drm_i915_private, drm); struct drm_i915_private, drm);
if (IS_ERR(i915)) if (IS_ERR(i915))
return i915; return i915;
...@@ -1803,7 +1803,7 @@ static const struct drm_ioctl_desc i915_ioctls[] = { ...@@ -1803,7 +1803,7 @@ static const struct drm_ioctl_desc i915_ioctls[] = {
DRM_IOCTL_DEF_DRV(I915_GEM_VM_DESTROY, i915_gem_vm_destroy_ioctl, DRM_RENDER_ALLOW), DRM_IOCTL_DEF_DRV(I915_GEM_VM_DESTROY, i915_gem_vm_destroy_ioctl, DRM_RENDER_ALLOW),
}; };
static const struct drm_driver driver = { static const struct drm_driver i915_drm_driver = {
/* Don't use MTRRs here; the Xserver or userspace app should /* Don't use MTRRs here; the Xserver or userspace app should
* deal with them for Intel hardware. * deal with them for Intel hardware.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment