[U-Boot] [PATCH] dwc_ahsata.c: Add weak disable_sata_clock

Tom Rini trini at ti.com
Tue Nov 25 22:50:13 CET 2014


Signed-off-by: Tom Rini <trini at ti.com>
---
 drivers/block/dwc_ahsata.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/block/dwc_ahsata.c b/drivers/block/dwc_ahsata.c
index 9a2b547..e9d4283 100644
--- a/drivers/block/dwc_ahsata.c
+++ b/drivers/block/dwc_ahsata.c
@@ -16,6 +16,7 @@
 #include <asm/errno.h>
 #include <asm/io.h>
 #include <linux/bitops.h>
+#include <linux/compiler.h>
 #include <asm/arch/clock.h>
 #include <asm/arch/sys_proto.h>
 #include "dwc_ahsata.h"
@@ -592,6 +593,10 @@ int init_sata(int dev)
 	return 0;
 }
 
+__weak void  disable_sata_clock(void)
+{
+}
+
 int reset_sata(int dev)
 {
 	struct ahci_probe_ent *probe_ent =
-- 
1.7.9.5



More information about the U-Boot mailing list