summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-01-04 17:48:42 +1100
committerDave Airlie <airlied@redhat.com>2008-01-04 17:48:42 +1100
commitdf9cfeff37d40722df4e8a785478ac41246ca51f (patch)
treed8b92a30634b5b91025395f45fb64dada222b853
parent10937cf20b6814e4cf68114fab4619fad94eafcb (diff)
crtc: fixup allocation size
-rw-r--r--linux-core/drm_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_crtc.c b/linux-core/drm_crtc.c
index dc8b1462..b49fa697 100644
--- a/linux-core/drm_crtc.c
+++ b/linux-core/drm_crtc.c
@@ -1952,7 +1952,7 @@ struct drm_property *drm_property_create(struct drm_device *dev, int flags,
{
struct drm_property *property = NULL;
- property = kzalloc(sizeof(struct drm_output), GFP_KERNEL);
+ property = kzalloc(sizeof(struct drm_property), GFP_KERNEL);
if (!property)
return NULL;