ata: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-05-01 19:30:28 -06:00
parent 7921be7243
commit 05033cd52b
15 changed files with 3 additions and 15 deletions

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
*/
#include <common.h>
#include <ahci.h>
#include <scsi.h>
#include <dm.h>

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_AHCI
#include <common.h>
#include <ahci.h>
#include <dm.h>

View File

@@ -8,10 +8,10 @@
*
* This driver provides a SCSI interface to SATA.
*/
#include <common.h>
#include <blk.h>
#include <cpu_func.h>
#include <log.h>
#include <time.h>
#include <linux/bitops.h>
#include <linux/delay.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2016 Stefan Roese <sr@denx.de>
*/
#include <common.h>
#include <ahci.h>
#include <dm.h>
#include <log.h>

View File

@@ -1,4 +1,3 @@
#include <common.h>
#include <ahci.h>
#include <dm.h>
#include <log.h>

View File

@@ -8,7 +8,6 @@
* Author: Mugunthan V N <mugunthanvnm@ti.com>
*/
#include <common.h>
#include <dm.h>
#include <ahci.h>
#include <scsi.h>

View File

@@ -4,7 +4,6 @@
* Terry Lv <r65388@freescale.com>
*/
#include <common.h>
#include <ahci.h>
#include <blk.h>
#include <cpu_func.h>

View File

@@ -5,7 +5,6 @@
* Author: Dave Liu <daveliu@freescale.com>
*/
#include <common.h>
#include <ahci.h>
#include <blk.h>
#include <command.h>

View File

@@ -5,9 +5,9 @@
* port from the libata of linux kernel
*/
#include <common.h>
#include <compiler.h>
#include <libata.h>
#include <stdio.h>
u64 ata_id_n_sectors(u16 *id)
{

View File

@@ -8,7 +8,6 @@
* Author: Frank Wunderlich <frank-w@public-files.de>
*/
#include <common.h>
#include <ahci.h>
#include <asm/global_data.h>
#include <asm/io.h>

View File

@@ -9,7 +9,6 @@
* Dave Liu <daveliu@freescale.com>
*/
#include <common.h>
#include <ahci.h>
#include <blk.h>
#include <dm.h>

View File

@@ -5,7 +5,6 @@
* Copyright 2023 Tony Dinh <mibodhi@gmail.com>
*/
#include <common.h>
#include <ahci.h>
#include <bootdev.h>
#include <dm.h>

View File

@@ -3,7 +3,6 @@
* (C) Copyright 2015 - 2016 Xilinx, Inc.
* Michal Simek <michal.simek@amd.com>
*/
#include <common.h>
#include <dm.h>
#include <ahci.h>
#include <generic-phy.h>

View File

@@ -31,7 +31,6 @@
* No port multiplier support
*/
#include <common.h>
#include <ahci.h>
#include <blk.h>
#include <bootdev.h>
@@ -46,6 +45,7 @@
#include <libata.h>
#include <malloc.h>
#include <sata.h>
#include <time.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/errno.h>

View File

@@ -5,7 +5,6 @@
* Author: Tang Yuantian <b29983@freescale.com>
*/
#include <common.h>
#include <blk.h>
#include <cpu_func.h>
#include <dm.h>