Skip to content

Commit

Permalink
ufs: Remove <common.h> and add needed includes
Browse files Browse the repository at this point in the history
Remove <common.h> from this driver directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <[email protected]>
  • Loading branch information
trini committed May 7, 2024
1 parent 8f9f759 commit 5771d4e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion drivers/ufs/cdns-platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
*/

#include <clk.h>
#include <common.h>
#include <dm.h>
#include <ufs.h>
#include <asm/io.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/ufs/ti-j721e-ufs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion drivers/ufs/ufs-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* Author: Bin Meng <[email protected]>
*/

#include <common.h>
#include <dm.h>
#include <errno.h>
#include <pci.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/ufs/ufs-uclass.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#define LOG_CATEGORY UCLASS_UFS

#include <common.h>
#include "ufs.h"
#include <dm.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/ufs/ufs.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include <bouncebuf.h>
#include <charset.h>
#include <common.h>
#include <dm.h>
#include <log.h>
#include <dm/device_compat.h>
Expand Down
1 change: 1 addition & 0 deletions drivers/ufs/ufs.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#ifndef __UFS_H
#define __UFS_H

#include <linux/types.h>
#include "unipro.h"

struct udevice;
Expand Down

0 comments on commit 5771d4e

Please sign in to comment.