| * linux/arch/arm/mach-nomadik/clock.c |
| * Copyright (C) 2009 Alessandro Rubini |
| #include <linux/kernel.h> |
| #include <linux/module.h> |
| * The nomadik board uses generic clocks, but the serial pl011 file |
| * calls clk_enable(), clk_disable(), clk_get_rate(), so we provide them |
| unsigned long clk_get_rate(struct clk *clk) |
| EXPORT_SYMBOL(clk_get_rate); |
| /* enable and disable do nothing */ |
| int clk_enable(struct clk *clk) |
| EXPORT_SYMBOL(clk_enable); |
| void clk_disable(struct clk *clk) |
| EXPORT_SYMBOL(clk_disable); |
| /* Create a clock structure with the given name */ |
| int nmdk_clk_create(struct clk *clk, const char *dev_id) |
| struct clk_lookup *clkdev; |
| clkdev = clkdev_alloc(clk, NULL, dev_id); |