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>
This commit is contained in:
parent
4a953b1f7e
commit
98eb4ce592
@ -9,6 +9,7 @@
|
||||
#include <common.h>
|
||||
#include <dm.h>
|
||||
#include <ufs.h>
|
||||
#include <asm/io.h>
|
||||
#include <dm/device_compat.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/err.h>
|
||||
|
@ -19,9 +19,10 @@
|
||||
#include <malloc.h>
|
||||
#include <hexdump.h>
|
||||
#include <scsi.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/dma-mapping.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/delay.h>
|
||||
|
||||
#include <linux/dma-mapping.h>
|
||||
|
||||
#include "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)
|
||||
|
Loading…
Reference in New Issue
Block a user