crtc: fixup allocation size

main
Dave Airlie 2008-01-04 17:48:42 +11:00
parent 10937cf20b
commit df9cfeff37
1 changed files with 1 additions and 1 deletions

View File

@ -1952,7 +1952,7 @@ struct drm_property *drm_property_create(struct drm_device *dev, int flags,
{ {
struct drm_property *property = NULL; struct drm_property *property = NULL;
property = kzalloc(sizeof(struct drm_output), GFP_KERNEL); property = kzalloc(sizeof(struct drm_property), GFP_KERNEL);
if (!property) if (!property)
return NULL; return NULL;