summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-11 07:21:24 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-11 07:21:24 -0700
commitcc7faa4de80a68d5a7a484046b9b42de961cdbef (patch)
tree768162db8f0f2da5a381ef34fbd7bda7af8c28e5 /linux-core
parentdd00aa5851ca7c5590ae0b0825dd84c027cfd420 (diff)
fix modeset cleanup for LVDS and reenable it in i915.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/intel_lvds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/intel_lvds.c b/linux-core/intel_lvds.c
index 8ecb204c..ec693275 100644
--- a/linux-core/intel_lvds.c
+++ b/linux-core/intel_lvds.c
@@ -314,7 +314,8 @@ out:
static void intel_lvds_destroy(struct drm_output *output)
{
- drm_output_destroy(output);
+ if (output->driver_private)
+ kfree(output->driver_private);
}
static const struct drm_output_funcs intel_lvds_output_funcs = {