include: Add missing <linux/types.h>
authorTom Rini <trini@konsulko.com>
Thu, 2 May 2024 01:30:24 +0000 (19:30 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:41 +0000 (08:00 -0600)
These files have many "Linux" style types in them, add <linux/types.h>

Signed-off-by: Tom Rini <trini@konsulko.com>
include/display.h
include/fuse.h
include/i2c_eeprom.h
include/libata.h
include/ram.h
include/sm.h

index 3d01217..e8d8aaa 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _DISPLAY_H
 #define _DISPLAY_H
 
+#include <linux/types.h>
+
 struct udevice;
 struct display_timing;
 
index d48dcdf..4519821 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef _FUSE_H_
 #define _FUSE_H_
 
+#include <linux/types.h>
+
 /*
  * Read/Sense/Program/Override interface:
  *   bank:    Fuse bank
index cba991e..1fe32d2 100644 (file)
@@ -7,6 +7,7 @@
 #define __I2C_EEPROM
 
 #include <linux/errno.h>
+#include <linux/types.h>
 
 struct udevice;
 
index a55e931..fa39d21 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef __LIBATA_H__
 #define __LIBATA_H__
 
+#include <linux/types.h>
 
 enum {
        /* various global constants */
index 2fc971d..3600bb5 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __RAM_H
 #define __RAM_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 struct ram_info {
index afa9c89..fbc156a 100644 (file)
@@ -19,7 +19,7 @@
  * implementation of the driver you are using.
  */
 
-#include <asm/types.h>
+#include <linux/types.h>
 #include <asm/ptrace.h>
 
 struct udevice;