summaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAjay Nandakumar <anandakumarm@nvidia.com>2013-09-26 19:46:54 +0530
committerBharat Nihalani <bnihalani@nvidia.com>2013-10-17 03:52:30 -0700
commit24e322e3fde0a1f573df532438642d4d5f3a810f (patch)
treec998583911b0a76a7455d9207798eb5d4cdfa3ec /drivers/clocksource
parent92cdd8ac7f78feee3995cee31a6c8368ebba211d (diff)
Revert "Revert "clocksource: pass DT node pointer to init functions""
This reverts commit 06139bf5f233c03ce1aad929e0adf75fc5fb5898. In cases where we have multiple nodes of the same type, we may need the node pointer to know which node was matched. Passing the node pointer also keeps the init function from having to match the node a 2nd time. Update bcm2835, vt8500, and tegra20 init functions for the new function prototype. Further tegra20 clean-ups are in follow-up commit. Bug 1379817 Change-Id: Icb37a7bbe4e8f673ce1bcd4ecc92de52d12195eb Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com> Reviewed-on: http://git-master/r/299022 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/tegra-nvtimers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/tegra-nvtimers.c b/drivers/clocksource/tegra-nvtimers.c
index 144309dfda90..d6ff844ad3c2 100644
--- a/drivers/clocksource/tegra-nvtimers.c
+++ b/drivers/clocksource/tegra-nvtimers.c
@@ -403,7 +403,7 @@ extern void __tegra_delay(unsigned long cycles);
extern void __tegra_const_udelay(unsigned long loops);
extern void __tegra_udelay(unsigned long usecs);
-void __init tegra_init_timer(void)
+void __init tegra_init_timer(struct device_node *np)
{
struct clk *clk;
int ret;