Skip to content

Commit a191e48

Browse files
emilgoodethierryreding
authored andcommitted
drm/tegra: Include header drm/drm.h
Include definitions of used types by including drm/drm.h Sparse output: /usr/include/drm/tegra_drm.h:21: found __[us]{8,16,32,64} type without #include <linux/types.h> Signed-off-by: Emil Goode <emilgoode@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
1 parent a5ad7a6 commit a191e48

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/uapi/drm/tegra_drm.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#ifndef _UAPI_TEGRA_DRM_H_
1818
#define _UAPI_TEGRA_DRM_H_
1919

20+
#include <drm/drm.h>
21+
2022
struct drm_tegra_gem_create {
2123
__u64 size;
2224
__u32 flags;

0 commit comments

Comments
 (0)