public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] dwc_ahsata.c: Add weak disable_sata_clock
@ 2014-11-25 21:50 Tom Rini
  2014-11-25 22:50 ` Soeren Moch
  0 siblings, 1 reply; 13+ messages in thread
From: Tom Rini @ 2014-11-25 21:50 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Tom Rini <trini@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

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-12-01  9:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-25 21:50 [U-Boot] [PATCH] dwc_ahsata.c: Add weak disable_sata_clock Tom Rini
2014-11-25 22:50 ` Soeren Moch
2014-11-26  0:26   ` Tom Rini
2014-11-26  1:36     ` Soeren Moch
2014-11-26 11:40       ` [U-Boot] [PATCH] sata: fix reset_sata for dwc_ahsata Soeren Moch
2014-11-26 17:38         ` Nikita Kiryanov
2014-11-26 23:32           ` Soeren Moch
2014-11-27  1:12             ` Fabio Estevam
2014-11-27  6:53               ` Soeren Moch
2014-11-27 10:56             ` Nikita Kiryanov
2014-11-27  9:11         ` [U-Boot] [PATCH v2] " Soeren Moch
2014-11-27 10:58           ` Nikita Kiryanov
2014-12-01  9:37           ` Stefano Babic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox