diff options
author | Simon Glass | 2020-07-19 10:15:54 -0600 |
---|---|---|
committer | Tom Rini | 2020-08-03 22:19:54 -0400 |
commit | 98eb4ce592d9109b53a75f1f0ff4cc470a597f1b (patch) | |
tree | 530558448c4f15c5763d4e015ed640acbb170dc7 /drivers/ufs/ufs.h | |
parent | 4a953b1f7e94f757799c9e6e4066976e92f41fd9 (diff) |
ufs: Drop dm.h header file
This header file should not be included in other header files. Remove it
and use a forward declaration instead.
Also drop asm/io.h
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ufs/ufs.h')
-rw-r--r-- | drivers/ufs/ufs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ufs/ufs.h b/drivers/ufs/ufs.h index e0bde937768..069888fdd90 100644 --- a/drivers/ufs/ufs.h +++ b/drivers/ufs/ufs.h @@ -2,11 +2,10 @@ #ifndef __UFS_H #define __UFS_H -#include <asm/io.h> -#include <dm.h> - #include "unipro.h" +struct udevice; + #define UFS_CDB_SIZE 16 #define UPIU_TRANSACTION_UIC_CMD 0x1F #define UIC_CMD_SIZE (sizeof(u32) * 4) |