aboutsummaryrefslogtreecommitdiff
path: root/include/ide.h
diff options
context:
space:
mode:
authorSimon Glass2023-04-25 10:54:36 -0600
committerTom Rini2023-04-27 13:51:06 -0400
commit1b33fd83179c8f09b79930c9ffca6e8b9dfa37cf (patch)
tree226af0a5315633c384477577c23cf5242329d460 /include/ide.h
parent646deed40b8ffe9aa9c10b86f1addbb4a9788e91 (diff)
ide: Make function static
Only one function is called from outside this file. Make all the others static. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/ide.h b/include/ide.h
index b586ba3df4b..2c25e74ede0 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -11,17 +11,6 @@
#define IDE_BUS(dev) (dev / (CONFIG_SYS_IDE_MAXDEVICE / CONFIG_SYS_IDE_MAXBUS))
-/*
- * Function Prototypes
- */
-
-struct blk_desc;
-struct udevice;
-ulong ide_read(struct udevice *dev, lbaint_t blknr, lbaint_t blkcnt,
- void *buffer);
-ulong ide_write(struct udevice *dev, lbaint_t blknr, lbaint_t blkcnt,
- const void *buffer);
-
/**
* ide_set_reset() - Assert or de-assert reset for the IDE device
*