Commit
10db4e1e4e9a910a26b94045660e5ba7e7c71419
Exists in
smarc_imx_lf-5.15.y
and in
37 other branches
8mp-imx_5.4.70_2.3.0, 8qm-imx_5.4.70_2.3.0, emb_imx_lf-5.15.y, emb_lf-6.1.y, imx_3.10.17_1.0.1_ga, imx_3.10.53_1.1.0_ga, imx_3.14.28_1.0.0_ga, imx_4.1.15_1.0.0_ga, pitx_8mp_lf-5.10.y, rt-smarc-imx_4.1.15_1.0.0_ga, rt_linux_5.15.71, smarc-8m-android-11.0.0_2.0.0, smarc-imx6_4.14.98_2.0.0_ga, smarc-imx6_4.9.88_2.0.0_ga, smarc-imx7_4.14.98_2.0.0_ga, smarc-imx7_4.9.11_1.0.0_ga, smarc-imx7_4.9.88_2.0.0_ga, smarc-imx_3.10.53_1.1.0_ga, smarc-imx_3.14.28_1.0.0_ga, smarc-imx_4.1.15_1.0.0_ga, smarc-imx_4.9.11_1.0.0_ga, smarc-imx_4.9.51_imx8m_ga, smarc-imx_4.9.88_2.0.0_ga, smarc-m6.0.1_2.1.0-ga, smarc-n7.1.2_2.0.0-ga, smarc-rel_imx_4.1.15_1.2.0_ga, smarc_8m_00d0_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.14.78_1.0.0_ga, smarc_8m_imx_4.14.98_2.0.0_ga, smarc_8m_imx_4.19.35_1.1.0, smarc_8mm_imx_4.14.78_1.0.0_ga, smarc_8mm_imx_4.14.98_2.0.0_ga, smarc_8mm_imx_4.19.35_1.1.0, smarc_8mm_imx_5.4.24_2.1.0, smarc_8mp_lf-5.10.y, smarc_8mq_imx_5.4.24_2.1.0, smarc_8mq_lf-5.10.y
headers: include linux/types.h where appropriate
This addresses some header check warnings. DRM headers which include
"drm.h" have been excluded, as they indirectly include types.h.
Signed-off-by: Bobby Powers <bobbypowers@gmail.com>
Cc: Chris Ball <cjb@laptop.org>
Cc: Dave Airlie <airlied@linux.ie>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing
4 changed files
with
8 additions
and
1 deletions
Side-by-side Diff
... |
... |
@@ -27,6 +27,8 @@ |
27
|
27 |
#ifndef _DRM_MODE_H |
28
|
28 |
#define _DRM_MODE_H |
29
|
29 |
|
|
30 |
+#include <linux/types.h> |
|
31 |
+ |
30
|
32 |
#define DRM_DISPLAY_INFO_LEN 32 |
31
|
33 |
#define DRM_CONNECTOR_NAME_LEN 32 |
32
|
34 |
#define DRM_DISPLAY_MODE_LEN 32 |
1
|
1 |
#ifndef LINUX_MMC_IOCTL_H |
2
|
2 |
#define LINUX_MMC_IOCTL_H |
|
3 |
+ |
|
4 |
+#include <linux/types.h> |
|
5 |
+ |
3
|
6 |
struct mmc_ioc_cmd { |
4
|
7 |
/* Implies direction of data. true = write, false = read */ |
5
|
8 |
int write_flag; |
... |
... |
@@ -23,7 +23,7 @@ |
23
|
23 |
#define SCSI_NETLINK_H |
24
|
24 |
|
25
|
25 |
#include <linux/netlink.h> |
26
|
|
- |
|
26 |
+#include <linux/types.h> |
27
|
27 |
|
28
|
28 |
/* |
29
|
29 |
* This file intended to be included by both kernel and user space |
... |
... |
@@ -51,6 +51,8 @@ |
51
|
51 |
#ifndef __SND_COMPRESS_PARAMS_H |
52
|
52 |
#define __SND_COMPRESS_PARAMS_H |
53
|
53 |
|
|
54 |
+#include <linux/types.h> |
|
55 |
+ |
54
|
56 |
/* AUDIO CODECS SUPPORTED */ |
55
|
57 |
#define MAX_NUM_CODECS 32 |
56
|
58 |
#define MAX_NUM_CODEC_DESCRIPTORS 32 |