drm: remove unused "can_grow" parameter from drm_crtc_helper_initial_config
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 27 Mar 2009 20:05:19 +0000 (13:05 -0700)
committerDave Airlie <airlied@redhat.com>
Fri, 3 Apr 2009 00:21:44 +0000 (10:21 +1000)
Cleanup some leftovers from the X port.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/i915/i915_dma.c
include/drm/drm_crtc_helper.h

index 4c93b7b8560fe3862b95593b62da29338f27b4a6..a04639dc633dcbed29b950e660deab8b37ba8cea 100644 (file)
@@ -913,7 +913,6 @@ bool drm_helper_plugged_event(struct drm_device *dev)
 /**
  * drm_initial_config - setup a sane initial connector configuration
  * @dev: DRM device
- * @can_grow: this configuration is growable
  *
  * LOCKING:
  * Called at init time, must take mode config lock.
@@ -925,7 +924,7 @@ bool drm_helper_plugged_event(struct drm_device *dev)
  * RETURNS:
  * Zero if everything went ok, nonzero otherwise.
  */
-bool drm_helper_initial_config(struct drm_device *dev, bool can_grow)
+bool drm_helper_initial_config(struct drm_device *dev)
 {
        struct drm_connector *connector;
        int count = 0;
index 85549f615b1f23560f78831c550c3d1747a4358f..9648d79fe36df73adf57227bea9ade411028b3b2 100644 (file)
@@ -1049,7 +1049,7 @@ static int i915_load_modeset_init(struct drm_device *dev)
 
        intel_modeset_init(dev);
 
-       drm_helper_initial_config(dev, false);
+       drm_helper_initial_config(dev);
 
        return 0;
 
index 95f1a849e68f268226e3249a0753a6cb9cb02906..ec073d8288d9438005796a121dd6815d204d2bcc 100644 (file)
@@ -91,7 +91,7 @@ struct drm_connector_helper_funcs {
 extern int drm_helper_probe_single_connector_modes(struct drm_connector *connector, uint32_t maxX, uint32_t maxY);
 extern void drm_helper_disable_unused_functions(struct drm_device *dev);
 extern int drm_helper_hotplug_stage_two(struct drm_device *dev);
-extern bool drm_helper_initial_config(struct drm_device *dev, bool can_grow);
+extern bool drm_helper_initial_config(struct drm_device *dev);
 extern int drm_crtc_helper_set_config(struct drm_mode_set *set);
 extern bool drm_crtc_helper_set_mode(struct drm_crtc *crtc,
                                     struct drm_display_mode *mode,