]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ufs: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Thu, 2 May 2024 01:31:29 +0000 (19:31 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 7 May 2024 14:00:56 +0000 (08:00 -0600)
Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/ufs/cdns-platform.c
drivers/ufs/ti-j721e-ufs.c
drivers/ufs/ufs-pci.c
drivers/ufs/ufs-uclass.c
drivers/ufs/ufs.c
drivers/ufs/ufs.h

index d1f346937c5d04ec3ffbcfd93ec9bcfa3aef7259..510a6a6aa5dd4702dfdd01712114931a5ba407e0 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <ufs.h>
 #include <asm/io.h>
index 1860e0dca299eff26155c7755045c8c2aad15598..c5c08610ffd0422c9cf9d8e85b0396e6102cb29a 100644 (file)
@@ -5,7 +5,6 @@
 
 #include <asm/io.h>
 #include <clk.h>
-#include <common.h>
 #include <dm.h>
 #include <dm/device_compat.h>
 #include <linux/bitops.h>
index ad41358727a5c4c925e0aa96b89e7f0f2b4cd9fd..871f3f50f5caefdb4fc96c720810c337c482cf90 100644 (file)
@@ -4,7 +4,6 @@
  * Author: Bin Meng <bmeng@tinylab.org>
  */
 
-#include <common.h>
 #include <dm.h>
 #include <errno.h>
 #include <pci.h>
index 92fcdf4e6cb7008d9ec1d9810c74264ac127f733..334bfcfa06a429efcc04d099e7de978684c0490e 100644 (file)
@@ -7,7 +7,6 @@
 
 #define LOG_CATEGORY UCLASS_UFS
 
-#include <common.h>
 #include "ufs.h"
 #include <dm.h>
 
index e4400f319a785a601cdee1cbc51d71fc82639652..be64bf971f169ee50ae9029e09f8fa071d17b186 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <bouncebuf.h>
 #include <charset.h>
-#include <common.h>
 #include <dm.h>
 #include <log.h>
 #include <dm/device_compat.h>
index 816a5ce0cafc5f87a5ea1e864b6cac97789feddf..43042c294bba2f9db7e16c3d60c0062b87539f11 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef __UFS_H
 #define __UFS_H
 
+#include <linux/types.h>
 #include "unipro.h"
 
 struct udevice;