summaryrefslogtreecommitdiff
path: root/include/sata.h
diff options
context:
space:
mode:
authorDave Liu <r63238@freescale.com>2008-03-27 18:51:17 +0800
committerWolfgang Denk <wd@denx.de>2008-04-13 14:57:46 -0700
commitf297b7a1ec87433f66320d89d993e1bc738c66b8 (patch)
tree835ee21829085a7fce75fbd028522c35e6b3a1b4 /include/sata.h
parent0ff7cba4a2e51c90827f6d21a0b28b4d67109597 (diff)
drivers: code clean up
Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'include/sata.h')
-rw-r--r--include/sata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sata.h b/include/sata.h
index b4b702903e2..57ee9ac8600 100644
--- a/include/sata.h
+++ b/include/sata.h
@@ -1,6 +1,11 @@
+#ifndef __SATA_H__
+#define __SATA_H__
+
int init_sata(int dev);
int scan_sata(int dev);
ulong sata_read(int dev, ulong blknr, ulong blkcnt, void *buffer);
ulong sata_write(int dev, ulong blknr, ulong blkcnt, const void *buffer);
int sata_initialize(void);
+
+#endif