summaryrefslogtreecommitdiffstats
path: root/include/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ide.h')
-rw-r--r--include/ide.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ide.h b/include/ide.h
index ddb9579f8f..6a1b7ae844 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -54,4 +54,7 @@ void ide_init(void);
ulong ide_read(int device, lbaint_t blknr, ulong blkcnt, void *buffer);
ulong ide_write(int device, lbaint_t blknr, ulong blkcnt, void *buffer);
+#if defined(CONFIG_OF_IDE_FIXUP)
+int ide_device_present(int dev);
+#endif
#endif /* _IDE_H */
OpenPOWER on IntegriCloud