summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/intel_lvds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/intel_lvds.c b/linux-core/intel_lvds.c
index cf9294ee..8d65c161 100644
--- a/linux-core/intel_lvds.c
+++ b/linux-core/intel_lvds.c
@@ -387,7 +387,7 @@ void intel_lvds_init(struct drm_device *dev)
u32 lvds;
int pipe;
- intel_output = kmalloc(sizeof(struct intel_output), GFP_KERNEL);
+ intel_output = kzalloc(sizeof(struct intel_output), GFP_KERNEL);
if (!intel_output) {
return;
}