crtc: fixup allocation size
parent
10937cf20b
commit
df9cfeff37
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue