Blackfin: use proper wrapper functions for modifying irq status
authorThomas Gleixner <tglx@linutronix.de>
Sun, 6 Feb 2011 18:23:38 +0000 (18:23 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Mar 2011 08:01:08 +0000 (04:01 -0400)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf537/boards/cm_bf537e.c
arch/blackfin/mach-bf537/boards/cm_bf537u.c
arch/blackfin/mach-bf537/boards/tcm_bf537.c
arch/blackfin/mach-bf561/boards/cm_bf561.c

index 2c776e1..d582b81 100644 (file)
@@ -775,7 +775,7 @@ static int __init cm_bf537e_init(void)
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-       irq_desc[PATA_INT].status |= IRQ_NOAUTOEN;
+       irq_set_status_flags(PATA_INT, IRQ_NOAUTOEN);
 #endif
        return 0;
 }
index 0856611..cbb8098 100644 (file)
@@ -740,7 +740,7 @@ static int __init cm_bf537u_init(void)
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-       irq_desc[PATA_INT].status |= IRQ_NOAUTOEN;
+       irq_set_status_flags(PATA_INT, IRQ_NOAUTOEN);
 #endif
        return 0;
 }
index 0761b20..164a7e0 100644 (file)
@@ -742,7 +742,7 @@ static int __init tcm_bf537_init(void)
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-       irq_desc[PATA_INT].status |= IRQ_NOAUTOEN;
+       irq_set_status_flags(PATA_INT, IRQ_NOAUTOEN);
 #endif
        return 0;
 }
index 3b67929..87595cd 100644 (file)
@@ -541,7 +541,7 @@ static int __init cm_bf561_init(void)
 #endif
 
 #if defined(CONFIG_PATA_PLATFORM) || defined(CONFIG_PATA_PLATFORM_MODULE)
-       irq_desc[PATA_INT].status |= IRQ_NOAUTOEN;
+       irq_set_status_flags(PATA_INT, IRQ_NOAUTOEN);
 #endif
        return 0;
 }