diff options
| author | Randy Dunlap <[email protected]> | 2017-03-06 15:32:22 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-03-22 11:24:40 -0300 |
| commit | 586fd401065a789405a7baca699aadcee4c71336 (patch) | |
| tree | f436d506db0322b990e9d421951894134ebf925a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4e42e5f2f513ba0f6987a3d28643eff5773564ea (diff) | |
[media] media/platform/mtk-jpeg: add slab.h to fix build errors
Include <linux/slab.h> to fix these build errors:
../drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c: In function 'mtk_jpeg_open':
../drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1017:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration]
ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
../drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1017:6: warning: assignment makes pointer from integer without a cast [enabled by default]
ctx = kzalloc(sizeof(*ctx), GFP_KERNEL);
../drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1047:2: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
kfree(ctx);
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Ming Hsiu Tsai <[email protected]>
Cc: Rick Chang <[email protected]>
Cc: Bin Liu <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions