summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/include/mach/clkdev.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-08-08 23:17:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-08-10 14:53:06 +0200
commitb9605d8a96ee68eb79020febdf39254d31cbeb87 (patch)
treeaeeba4e3096bb13dc678a43699724fe37b8f7c71 /arch/arm/mach-at91/include/mach/clkdev.h
parentdb879ec1a96df9ee35d89500a081177b485c3a8b (diff)
downloadbarebox-b9605d8a96ee68eb79020febdf39254d31cbeb87.tar.gz
barebox-b9605d8a96ee68eb79020febdf39254d31cbeb87.tar.xz
at91: swtich to clkdev
this will also fix the clock support as we now switch to allocated generic device as we can need to associate the clock and the device but the driver is probe before the association we also change the atmel serial name to "atmel_usart" to simplify sharing with linux Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-at91/include/mach/clkdev.h')
-rw-r--r--arch/arm/mach-at91/include/mach/clkdev.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/include/mach/clkdev.h b/arch/arm/mach-at91/include/mach/clkdev.h
new file mode 100644
index 0000000000..04b37a8980
--- /dev/null
+++ b/arch/arm/mach-at91/include/mach/clkdev.h
@@ -0,0 +1,7 @@
+#ifndef __ASM_MACH_CLKDEV_H
+#define __ASM_MACH_CLKDEV_H
+
+#define __clk_get(clk) ({ 1; })
+#define __clk_put(clk) do { } while (0)
+
+#endif