]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mfd/ucb1x00-core.c
[PATCH] powerpc: remove bitfields from HvLpEvent
[linux-2.6-omap-h63xx.git] / drivers / mfd / ucb1x00-core.c
index e335d54c4659ce2161bdb88e8a80a13e46915614..b42e0fbab59b6f880897e1d2303e48342341b8f7 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <asm/dma.h>
 #include <asm/hardware.h>
-#include <asm/irq.h>
 
 #include "ucb1x00.h"
 
@@ -507,14 +506,14 @@ static int ucb1x00_probe(struct mcp *mcp)
                goto err_free;
        }
 
-       ret = request_irq(ucb->irq, ucb1x00_irq, 0, "UCB1x00", ucb);
+       ret = request_irq(ucb->irq, ucb1x00_irq, SA_TRIGGER_RISING,
+                         "UCB1x00", ucb);
        if (ret) {
                printk(KERN_ERR "ucb1x00: unable to grab irq%d: %d\n",
                        ucb->irq, ret);
                goto err_free;
        }
 
-       set_irq_type(ucb->irq, IRQT_RISING);
        mcp_set_drvdata(mcp, ucb);
 
        ret = class_device_register(&ucb->cdev);