clocksource: add common of_clksrc_init() function
authorStephen Warren <swarren@nvidia.com>
Mon, 19 Nov 2012 23:41:20 +0000 (16:41 -0700)
committerStephen Warren <swarren@nvidia.com>
Wed, 2 Jan 2013 18:07:43 +0000 (11:07 -0700)
commitae278a935f086775e8ae31a8ec9f7224ea25ea3c
treeefd3d6d7c29271af8acb283b2cc8ffd6dc39570b
parent6bb27d7349db51b50c40534710fe164ca0d58902
clocksource: add common of_clksrc_init() function

It is desirable to move all clocksource drivers to drivers/clocksource,
yet each requires its own initialization function. We'd rather not
pollute <linux/> with a header for each function. Instead, create a
single of_clksrc_init() function which will determine which clocksource
driver to initialize based on device tree.

Based on a similar patch for drivers/irqchip by Thomas Petazzoni.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/clksrc-of.c [new file with mode: 0644]
include/asm-generic/vmlinux.lds.h
include/linux/clocksource.h
This page took 0.025719 seconds and 5 git commands to generate.