summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/mmp/hw
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/mmp/hw')
-rw-r--r--drivers/video/fbdev/mmp/hw/mmp_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c
index 9f912ea0bfce..fcdbb2df137f 100644
--- a/drivers/video/fbdev/mmp/hw/mmp_ctrl.c
+++ b/drivers/video/fbdev/mmp/hw/mmp_ctrl.c
@@ -406,7 +406,7 @@ static int path_init(struct mmphw_path_plat *path_plat,
dev_info(ctrl->dev, "%s: %s\n", __func__, config->name);
/* init driver data */
- path_info = kzalloc(sizeof(struct mmp_path_info), GFP_KERNEL);
+ path_info = kzalloc(sizeof(*path_info), GFP_KERNEL);
if (!path_info)
return 0;