AT91: SAM9G45 - add a separate clock entry for every single TC block
authorFabian Godehardt <fg@emlix.com>
Fri, 3 Sep 2010 12:31:33 +0000 (13:31 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 9 Sep 2010 18:14:43 +0000 (20:14 +0200)
commitab64511cbbd03196d84bcc32c6e7b9d46543df7b
treea8b9e33180a7ff4d08b6a2daef8ed9bb3d4dc74e
parent5afddee415c829704d3a91031ae634008bc332e9
AT91: SAM9G45 - add a separate clock entry for every single TC block

Without this patch you will not be able to register the first block
because of the second association call on at91_add_device_tc().

Signed-off-by: Fabian Godehardt <fg@emlix.com>
[nicolas.ferre@atmel.com: change tcb1_clk to fake child clock of tcb0_clk]
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9g45_devices.c