diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 08:18:24 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-14 08:18:24 -0400 |
commit | e7fad451f06e21e74b6051c5ad4917e37460be3a (patch) | |
tree | f3bff7b8c9ee799a45250a3db26ff4213bad3e0a /drivers/clocksource | |
parent | 6fe32a468521d45edc35d92cdc05cd74e930426a (diff) |
clocksource: Drop unused irqaction.mask from SH drivers.
The irqaction.mask is legacy code that is wholly unused and going away,
so simply drop its use in the SH drivers completely.
Fixes up build failures in -next.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/sh_cmt.c | 1 | ||||
-rw-r--r-- | drivers/clocksource/sh_mtu2.c | 1 | ||||
-rw-r--r-- | drivers/clocksource/sh_tmu.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index cf56a2af5fe1..7135f50082d6 100644 --- a/drivers/clocksource/sh_cmt.c +++ b/drivers/clocksource/sh_cmt.c | |||
@@ -599,7 +599,6 @@ static int sh_cmt_setup(struct sh_cmt_priv *p, struct platform_device *pdev) | |||
599 | p->irqaction.handler = sh_cmt_interrupt; | 599 | p->irqaction.handler = sh_cmt_interrupt; |
600 | p->irqaction.dev_id = p; | 600 | p->irqaction.dev_id = p; |
601 | p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL; | 601 | p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL; |
602 | p->irqaction.mask = CPU_MASK_NONE; | ||
603 | ret = setup_irq(irq, &p->irqaction); | 602 | ret = setup_irq(irq, &p->irqaction); |
604 | if (ret) { | 603 | if (ret) { |
605 | pr_err("sh_cmt: failed to request irq %d\n", irq); | 604 | pr_err("sh_cmt: failed to request irq %d\n", irq); |
diff --git a/drivers/clocksource/sh_mtu2.c b/drivers/clocksource/sh_mtu2.c index d1ae75454d10..973e714d6051 100644 --- a/drivers/clocksource/sh_mtu2.c +++ b/drivers/clocksource/sh_mtu2.c | |||
@@ -283,7 +283,6 @@ static int sh_mtu2_setup(struct sh_mtu2_priv *p, struct platform_device *pdev) | |||
283 | p->irqaction.dev_id = p; | 283 | p->irqaction.dev_id = p; |
284 | p->irqaction.irq = irq; | 284 | p->irqaction.irq = irq; |
285 | p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL; | 285 | p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL; |
286 | p->irqaction.mask = CPU_MASK_NONE; | ||
287 | 286 | ||
288 | /* get hold of clock */ | 287 | /* get hold of clock */ |
289 | p->clk = clk_get(&p->pdev->dev, cfg->clk); | 288 | p->clk = clk_get(&p->pdev->dev, cfg->clk); |
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index d6ea4398bf62..08e6ec2cb094 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c | |||
@@ -385,7 +385,6 @@ static int sh_tmu_setup(struct sh_tmu_priv *p, struct platform_device *pdev) | |||
385 | p->irqaction.dev_id = p; | 385 | p->irqaction.dev_id = p; |
386 | p->irqaction.irq = irq; | 386 | p->irqaction.irq = irq; |
387 | p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL; | 387 | p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL; |
388 | p->irqaction.mask = CPU_MASK_NONE; | ||
389 | 388 | ||
390 | /* get hold of clock */ | 389 | /* get hold of clock */ |
391 | p->clk = clk_get(&p->pdev->dev, cfg->clk); | 390 | p->clk = clk_get(&p->pdev->dev, cfg->clk); |