]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
clocksource: Drop unused irqaction.mask from SH drivers.
authorPaul Mundt <lethal@linux-sh.org>
Sun, 14 Jun 2009 12:18:24 +0000 (21:18 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sun, 14 Jun 2009 12:18:24 +0000 (21:18 +0900)
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>
drivers/clocksource/sh_cmt.c
drivers/clocksource/sh_mtu2.c
drivers/clocksource/sh_tmu.c

index cf56a2af5fe111b3cbb15db3a1edb27a23d207de..7135f50082d673d835e591e47ca3e2356fe5e84f 100644 (file)
@@ -599,7 +599,6 @@ static int sh_cmt_setup(struct sh_cmt_priv *p, struct platform_device *pdev)
        p->irqaction.handler = sh_cmt_interrupt;
        p->irqaction.dev_id = p;
        p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
-       p->irqaction.mask = CPU_MASK_NONE;
        ret = setup_irq(irq, &p->irqaction);
        if (ret) {
                pr_err("sh_cmt: failed to request irq %d\n", irq);
index d1ae75454d10ef111f71c3b24e9e5b15ff83df8d..973e714d605147d7e2110eaae48a25b780d32bc7 100644 (file)
@@ -283,7 +283,6 @@ static int sh_mtu2_setup(struct sh_mtu2_priv *p, struct platform_device *pdev)
        p->irqaction.dev_id = p;
        p->irqaction.irq = irq;
        p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
-       p->irqaction.mask = CPU_MASK_NONE;
 
        /* get hold of clock */
        p->clk = clk_get(&p->pdev->dev, cfg->clk);
index d6ea4398bf6237782a333e46163d5be75cfbb02c..08e6ec2cb0946ee883c515d9fbf78e09cc6290a8 100644 (file)
@@ -385,7 +385,6 @@ static int sh_tmu_setup(struct sh_tmu_priv *p, struct platform_device *pdev)
        p->irqaction.dev_id = p;
        p->irqaction.irq = irq;
        p->irqaction.flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL;
-       p->irqaction.mask = CPU_MASK_NONE;
 
        /* get hold of clock */
        p->clk = clk_get(&p->pdev->dev, cfg->clk);