commit | f297b7a1ec87433f66320d89d993e1bc738c66b8 | [log] [tgz] |
---|---|---|
author | Dave Liu <r63238@freescale.com> | Thu Mar 27 18:51:17 2008 +0800 |
committer | Wolfgang Denk <wd@denx.de> | Sun Apr 13 14:57:46 2008 -0700 |
tree | 835ee21829085a7fce75fbd028522c35e6b3a1b4 | |
parent | 0ff7cba4a2e51c90827f6d21a0b28b4d67109597 [diff] [blame] |
drivers: code clean up Signed-off-by: Dave Liu <daveliu@freescale.com>
diff --git a/include/sata.h b/include/sata.h index b4b7029..57ee9ac 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