summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-05-21 16:51:19 -0600
committerTom Rini <[email protected]>2025-06-02 17:26:16 -0600
commitd81b57a3cc881569d18014c0a8806e163066fd77 (patch)
tree408c1da14ee546c93a03c8db690424c5952424e8 /include
parent43d76dc7df600b10cbf70753750bf87de098b210 (diff)
include/ide.h: Cleanup usage
At this point in time, <ide.h> provides the IDE_BUS macro and the function prototype for ide_set_reset, which is used with IDE_RESET. The only files which should include this header are the ones that either use that macro or that function. Remove <blk.h> from <ide.h> and remove <ide.h> from places which do not need it. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/ide.h2
-rw-r--r--include/part.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/include/ide.h b/include/ide.h
index 2c25e74ede0..550b3305621 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -7,8 +7,6 @@
#ifndef _IDE_H
#define _IDE_H
-#include <blk.h>
-
#define IDE_BUS(dev) (dev / (CONFIG_SYS_IDE_MAXDEVICE / CONFIG_SYS_IDE_MAXBUS))
/**
diff --git a/include/part.h b/include/part.h
index fcb3c13dea4..3fa2d8424b7 100644
--- a/include/part.h
+++ b/include/part.h
@@ -7,7 +7,6 @@
#define _PART_H
#include <blk.h>
-#include <ide.h>
#include <u-boot/uuid.h>
#include <linker_lists.h>
#include <linux/errno.h>