Skip to contentSkip to conversation

arm: sa1100: add a clock alias for sa1111 pcmcia device

PATCH RESEND In review Dmitry Eremin-Solenikov 1 participant 1 message Nov 6, 2014

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

PATCH RESEND 2/5 arm: sa1100: add a clock alias for sa1111 pcmcia device

SA-1111 uses internal MMIO space offsets as a device name, so device name for sa1111 pcmcia is 1800 (PCMCIA is at offset 0x1800).

---
 arch/arm/mach-sa1100/clock.c | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-sa1100/clock.c +2 -0
index 53f750d..03c75a8 100644
@@ -124,6 +124,8 @@ static struct clk_lookup sa11xx_clkregs[] = {
 	CLKDEV_INIT("sa1100-rtc", NULL, NULL),
 	CLKDEV_INIT("sa11x0-fb", NULL, &clk_cpu),
 	CLKDEV_INIT("sa11x0-pcmcia", NULL, &clk_cpu),
+	/* sa1111 names devices using internal offsets, PCMCIA is at 0x1800 */
+	CLKDEV_INIT("1800", NULL, &clk_cpu),
 };
 
 static int __init sa11xx_clk_init(void)
Signature · 1 line
2.1.1