aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/platform/s5p-jpeg/jpeg-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.c b/drivers/media/platform/s5p-jpeg/jpeg-core.c
index bf2d94bb0f6e..394775ae5774 100644
--- a/drivers/media/platform/s5p-jpeg/jpeg-core.c
+++ b/drivers/media/platform/s5p-jpeg/jpeg-core.c
@@ -288,7 +288,7 @@ static int s5p_jpeg_open(struct file *file)
288 struct s5p_jpeg_fmt *out_fmt; 288 struct s5p_jpeg_fmt *out_fmt;
289 int ret = 0; 289 int ret = 0;
290 290
291 ctx = kzalloc(sizeof *ctx, GFP_KERNEL); 291 ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
292 if (!ctx) 292 if (!ctx)
293 return -ENOMEM; 293 return -ENOMEM;
294 294