Thread (46 messages) 46 messages, 6 authors, 2011-11-30
STALE5293d
Revisions (3)
  1. v5 [diff vs current]
  2. v5 current
  3. v5 [diff vs current]

[PATCH v5 6/7] arm: omap4: support pmu

From: Rabin Vincent <hidden>
Date: 2011-11-23 17:47:54
Also in: linux-omap

On Mon, Oct 24, 2011 at 20:15,  [off-list ref] wrote:
quoted hunk ↗ jump to hunk
?static struct platform_device* __init omap4_init_pmu(void)
?{
? ? ? ?int id = -1;
@@ -420,6 +472,10 @@ static struct platform_device* __init omap4_init_pmu(void)
? ? ? ? ? ? ? ?return NULL;
? ? ? ?}

+ ? ? ? omap4_pmu_data.handle_irq = omap4_pmu_handler;
+ ? ? ? omap4_pmu_data.enable_irq = omap4_enable_cti;
+ ? ? ? omap4_pmu_data.disable_irq = omap4_disable_cti;
+
? ? ? ?pd = omap_device_build_ss(dev_name, id, oh, 3, &omap4_pmu_data,
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?sizeof(omap4_pmu_data),
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?omap_pmu_latency,
@@ -440,7 +496,9 @@ static void __init omap_init_pmu(void)
? ? ? ? ? ? ? ?pd = omap4_init_pmu();
? ? ? ? ? ? ? ?if (!pd)
? ? ? ? ? ? ? ? ? ? ? ?return;
- ? ? ? ? ? ? ? omap_device_enable(pd);
+
+ ? ? ? ? ? ? ? omap_device_enable(&od->pdev);
+ ? ? ? ? ? ? ? omap4_configure_pmu_irq();
This doesn't build, because there's no "od" in this function.  I guess
you shouldn't be changing the omap_device_enable() call.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help