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

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

Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-05-01 19:30:31 -06:00
parent f60757dfd0
commit 5e1378a5bf
11 changed files with 0 additions and 11 deletions

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_BLK
#include <common.h>
#include <blk.h>
#include <dm.h>
#include <log.h>

View File

@@ -4,7 +4,6 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#include <common.h>
#include <blk.h>
#include <part.h>
#include <linux/err.h>

View File

@@ -4,7 +4,6 @@
* Author: Eric Nelson<eric@nelint.com>
*
*/
#include <common.h>
#include <blk.h>
#include <log.h>
#include <malloc.h>

View File

@@ -4,7 +4,6 @@
* Author: Tobias Waldekranz <tobias@waldekranz.com>
*/
#include <common.h>
#include <blk.h>
#include <blkmap.h>
#include <dm.h>

View File

@@ -5,7 +5,6 @@
* Copyright 2021 Google LLC
*/
#include <common.h>
#include <dm.h>
UCLASS_DRIVER(efi_media) = {

View File

@@ -8,7 +8,6 @@
* Copyright 2021 Google LLC
*/
#include <common.h>
#include <blk.h>
#include <dm.h>
#include <efi.h>

View File

@@ -9,7 +9,6 @@
#define LOG_CATEGORY UCLASS_HOST
#include <common.h>
#include <blk.h>
#include <dm.h>
#include <malloc.h>

View File

@@ -9,7 +9,6 @@
#define LOG_CATEGORY UCLASS_HOST
#include <common.h>
#include <blk.h>
#include <bootdev.h>
#include <dm.h>

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_IDE
#include <common.h>
#include <ata.h>
#include <blk.h>
#include <bootdev.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2013 Henrik Nordstrom <henrik@henriknordstrom.net>
*/
#include <common.h>
#include <blk.h>
#include <dm.h>
#include <fdtdec.h>

View File

@@ -5,7 +5,6 @@
* Copyright 2021 Google LLC
*/
#include <common.h>
#include <dm.h>
static const struct udevice_id sandbox_efi_media_ids[] = {