diff options
author | Arnd Bergmann <[email protected]> | 2019-12-10 20:59:24 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-12-10 17:21:50 -0500 |
commit | 07b67280037303845f480590986549b266cb3ad6 (patch) | |
tree | 431fd67bdf160e1d82a9a666396f04903ba85c29 /drivers/fpga | |
parent | 1f00534a764aed160652770e0c0a63657c231fde (diff) |
drm/amd/display: include linux/slab.h where needed
Calling kzalloc() and related functions requires the
linux/slab.h header to be included:
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_resource.c: In function 'dcn21_ipp_create':
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_resource.c:679:3: error: implicit declaration of function 'kzalloc'; did you mean 'd_alloc'? [-Werror=implicit-function-declaration]
kzalloc(sizeof(struct dcn10_ipp), GFP_KERNEL);
A lot of other headers also miss a direct include in this file,
but this is the only one that causes a problem for now.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions