@@ -224,13 +224,13 @@ static u32 acpi_display_type(struct intel_connector *connector)
void intel_acpi_device_id_update(struct drm_i915_private *dev_priv)
{
- struct drm_device *drm_dev = &dev_priv->drm;
+ struct drm_device *dev = &dev_priv->drm;
struct intel_connector *connector;
struct drm_connector_list_iter conn_iter;
u8 display_index[16] = {};
/* Populate the ACPI IDs for all connectors for a given drm_device */
- drm_connector_list_iter_begin(drm_dev, &conn_iter);
+ drm_connector_list_iter_begin(dev, &conn_iter);
for_each_intel_connector_iter(connector, &conn_iter) {
u32 device_id, type;