From d6150db2dcb509835df6a01eb5c61e4154f9dc66 Mon Sep 17 00:00:00 2001 From: Po-Yu Chuang Date: Thu, 17 Feb 2011 19:34:07 +0000 Subject: [PATCH] power: ftpmu010: move drivers/power/ftpmu010.h to include/faraday Also add API declarations. Signed-off-by: Po-Yu Chuang Signed-off-by: Albert Aribaud --- drivers/power/ftpmu010.c | 2 +- {drivers/power => include/faraday}/ftpmu010.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) rename {drivers/power => include/faraday}/ftpmu010.h (97%) diff --git a/drivers/power/ftpmu010.c b/drivers/power/ftpmu010.c index 7924ac101c..c6a8cda7bd 100644 --- a/drivers/power/ftpmu010.c +++ b/drivers/power/ftpmu010.c @@ -23,7 +23,7 @@ #include #include -#include "ftpmu010.h" +#include static struct ftpmu010 *pmu = (struct ftpmu010 *)CONFIG_FTPMU010_BASE; diff --git a/drivers/power/ftpmu010.h b/include/faraday/ftpmu010.h similarity index 97% rename from drivers/power/ftpmu010.h rename to include/faraday/ftpmu010.h index 8ef7a37148..640f0560cd 100644 --- a/drivers/power/ftpmu010.h +++ b/include/faraday/ftpmu010.h @@ -143,4 +143,8 @@ struct ftpmu010 { #define FTPMU010_PDLLCR0_PLL1STABLE (1 << 1) #define FTPMU010_PDLLCR0_PLL1DIS (1 << 0) +void ftpmu010_32768osc_enable(void); +void ftpmu010_dlldis_disable(void); +void ftpmu010_sdram_clk_disable(unsigned int cr0); + #endif /* __FTPMU010_H */ -- 2.39.5