diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-03-27 13:05:19 -0700 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-04-03 10:21:44 +1000 |
commit | 7a1fb5d06d3936c0982e2cf8b53b046244a9aad6 (patch) | |
tree | e112cad9894f0376f9977ed231d1a513519792fd /drivers/gpu | |
parent | b94ee6528954b6838e88aa8cf74ed75acf8dfcff (diff) | |
download | linux-7a1fb5d06d3936c0982e2cf8b53b046244a9aad6.tar.gz linux-7a1fb5d06d3936c0982e2cf8b53b046244a9aad6.tar.bz2 linux-7a1fb5d06d3936c0982e2cf8b53b046244a9aad6.zip |
drm: remove unused "can_grow" parameter from drm_crtc_helper_initial_config
Cleanup some leftovers from the X port.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index 4c93b7b8560f..a04639dc633d 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -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; diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 85549f615b1f..9648d79fe36d 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -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; |