Skip to contentSkip to conversation

ARM: rename function of clock select file to nuc900

PATCH In review Wan ZongShun 1 participant 1 message Aug 15, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 7/9 ARM: rename function of clock select file to nuc900

Dear Russell,

Rename function of clock select file to nuc900, due to it is common API, it should not be named after specific CPU.

---
 arch/arm/mach-w90x900/clksel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-w90x900/clksel.c +2 -2
index 5a77eb9..1d451f3 100644
@@ -59,7 +59,7 @@ static void clock_source_select(const char *dev_id, unsigned int clkval)
 	__raw_writel(clksel, REG_CLKSEL);
 }
 
-void w90p910_clock_source(struct device *dev, unsigned char *src)
+void nuc900_clock_source(struct device *dev, unsigned char *src)
 {
 	unsigned int clkval;
 	const char *dev_id;
@@ -87,5 +87,5 @@ void w90p910_clock_source(struct device *dev, unsigned char *src)
 
 	mutex_unlock(&clksel_sem);
 }
-EXPORT_SYMBOL(w90p910_clock_source);
+EXPORT_SYMBOL(nuc900_clock_source);
 
Signature · 1 line
1.5.6.3