summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/clkdev.h
Commit message (Collapse)AuthorAgeFilesLines
* clk: Add common __clk_get(), __clk_put() implementationsSylwester Nawrocki2013-12-041-0/+2
| | | | | | | | | | | | | | | | This patch adds common __clk_get(), __clk_put() clkdev helpers that replace their platform specific counterparts when the common clock API is used. The owner module pointer field is added to struct clk so a reference to the clock supplier module can be taken by the clock consumers. The owner module is assigned while the clock is being registered, in functions _clk_register() and __clk_register(). Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
* MIPS: add clkdev.hJohn Crispin2012-05-151-0/+25
For clock device lookup tables to work on MIPS, we need to provide this architecture specific header file. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3700/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>