gma500: remove references to drm_display_info raw_edid field
authorJani Nikula <jani.nikula@intel.com>
Fri, 24 Aug 2012 06:42:44 +0000 (09:42 +0300)
committerDave Airlie <airlied@gmail.com>
Fri, 24 Aug 2012 07:00:37 +0000 (17:00 +1000)
Another reference to raw_edid field of struct drm_display_info was added in
gma500 while the whole field was being removed, causing build
failure. Remove the hopefully last references to raw_edid.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
drivers/gpu/drm/gma500/cdv_intel_dp.c

index 9bacce3..c9abc06 100644 (file)
@@ -1554,7 +1554,6 @@ cdv_intel_dp_detect(struct drm_connector *connector, bool force)
                edid = drm_get_edid(connector, &intel_dp->adapter);
                if (edid) {
                        intel_dp->has_audio = drm_detect_monitor_audio(edid);
-                       connector->display_info.raw_edid = NULL;
                        kfree(edid);
                }
        }
@@ -1634,8 +1633,6 @@ cdv_intel_dp_detect_audio(struct drm_connector *connector)
        edid = drm_get_edid(connector, &intel_dp->adapter);
        if (edid) {
                has_audio = drm_detect_monitor_audio(edid);
-
-               connector->display_info.raw_edid = NULL;
                kfree(edid);
        }
        if (edp)