lkml.org 
[lkml]   [2006]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RFC][patch 36/44] PARISC: Use the new IRQF_ constansts

    Use the new IRQF_ constants and remove the SA_INTERRUPT define

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    drivers/parisc/eisa.c | 2 +-
    drivers/parisc/superio.c | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)

    Index: linux-2.6.git/drivers/parisc/eisa.c
    ===================================================================
    --- linux-2.6.git.orig/drivers/parisc/eisa.c 2006-07-01 16:51:13.000000000 +0200
    +++ linux-2.6.git/drivers/parisc/eisa.c 2006-07-01 16:51:46.000000000 +0200
    @@ -340,7 +340,7 @@ static int __devinit eisa_probe(struct p
    }
    pcibios_register_hba(&eisa_dev.hba);

    - result = request_irq(dev->irq, eisa_irq, SA_SHIRQ, "EISA", &eisa_dev);
    + result = request_irq(dev->irq, eisa_irq, IRQF_SHARED, "EISA", &eisa_dev);
    if (result) {
    printk(KERN_ERR "EISA: request_irq failed!\n");
    return result;
    Index: linux-2.6.git/drivers/parisc/superio.c
    ===================================================================
    --- linux-2.6.git.orig/drivers/parisc/superio.c 2006-07-01 16:51:13.000000000 +0200
    +++ linux-2.6.git/drivers/parisc/superio.c 2006-07-01 16:51:46.000000000 +0200
    @@ -271,7 +271,7 @@ superio_init(struct pci_dev *pcidev)
    else
    printk(KERN_ERR PFX "USB regulator not initialized!\n");

    - if (request_irq(pdev->irq, superio_interrupt, SA_INTERRUPT,
    + if (request_irq(pdev->irq, superio_interrupt, IRQF_DISABLED,
    SUPERIO, (void *)sio)) {

    printk(KERN_ERR PFX "could not get irq\n");
    --

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-07-02 00:08    [W:0.023 / U:60.824 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site