]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 3d01217644118a58786c96962dc761ffbd786910..e8d8aaa15fbcbf0b2bcaeec0d612ad66346d28c3 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef _DISPLAY_H
 #define _DISPLAY_H
 
+#include <linux/types.h>
+
 struct udevice;
 struct display_timing;
 
index d48dcdfa64744abeca62447755680cd37143cccc..4519821af7ea7437f6cddfe3b02c8ced418f1c7f 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 cba991e3574f7402639428c8af54d41ddb4c486d..1fe32d2dd687aa9f3b4f6add7bcbcfbe749f77c5 100644 (file)
@@ -7,6 +7,7 @@
 #define __I2C_EEPROM
 
 #include <linux/errno.h>
+#include <linux/types.h>
 
 struct udevice;
 
index a55e9315a73010070c83694c6cb49caac1cc8c83..fa39d21a44a0e8336beb12ca824f84fab61876c6 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef __LIBATA_H__
 #define __LIBATA_H__
 
+#include <linux/types.h>
 
 enum {
        /* various global constants */
index 2fc971df465a55783871ee02983343fab74acca8..3600bb57a6cfbd6d6adabd68c10f3b156216c6be 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef __RAM_H
 #define __RAM_H
 
+#include <linux/types.h>
+
 struct udevice;
 
 struct ram_info {
index afa9c89055e5c404086ca3bfe2110bfa78809285..fbc156ad68a75e1e50417150a410fa19daed34d6 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;