crtc: fixup allocation size
authorDave Airlie <airlied@redhat.com>
Fri, 4 Jan 2008 06:48:42 +0000 (17:48 +1100)
committerDave Airlie <airlied@redhat.com>
Fri, 4 Jan 2008 06:48:42 +0000 (17:48 +1100)
linux-core/drm_crtc.c

index dc8b146..b49fa69 100644 (file)
@@ -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;