diff options
Diffstat (limited to 'arch/sh/drivers')
-rw-r--r-- | arch/sh/drivers/dma/dma-g2.c | 2 | ||||
-rw-r--r-- | arch/sh/drivers/dma/dma-pvr2.c | 1 | ||||
-rw-r--r-- | arch/sh/drivers/dma/dma-sh.c | 4 | ||||
-rw-r--r-- | arch/sh/drivers/dma/dmabrg.c | 6 | ||||
-rw-r--r-- | arch/sh/drivers/pci/pci-sh5.c | 4 | ||||
-rw-r--r-- | arch/sh/drivers/pci/pci-sh7780.c | 2 | ||||
-rw-r--r-- | arch/sh/drivers/push-switch.c | 2 |
7 files changed, 10 insertions, 11 deletions
diff --git a/arch/sh/drivers/dma/dma-g2.c b/arch/sh/drivers/dma/dma-g2.c index af7bb589c2c8..be9ca7ca0ce4 100644 --- a/arch/sh/drivers/dma/dma-g2.c +++ b/arch/sh/drivers/dma/dma-g2.c | |||
@@ -170,7 +170,7 @@ static int __init g2_dma_init(void) | |||
170 | { | 170 | { |
171 | int ret; | 171 | int ret; |
172 | 172 | ||
173 | ret = request_irq(HW_EVENT_G2_DMA, g2_dma_interrupt, IRQF_DISABLED, | 173 | ret = request_irq(HW_EVENT_G2_DMA, g2_dma_interrupt, 0, |
174 | "g2 DMA handler", &g2_dma_info); | 174 | "g2 DMA handler", &g2_dma_info); |
175 | if (unlikely(ret)) | 175 | if (unlikely(ret)) |
176 | return -EINVAL; | 176 | return -EINVAL; |
diff --git a/arch/sh/drivers/dma/dma-pvr2.c b/arch/sh/drivers/dma/dma-pvr2.c index 3cee58e7f1e5..706a3434af7a 100644 --- a/arch/sh/drivers/dma/dma-pvr2.c +++ b/arch/sh/drivers/dma/dma-pvr2.c | |||
@@ -70,7 +70,6 @@ static int pvr2_xfer_dma(struct dma_channel *chan) | |||
70 | static struct irqaction pvr2_dma_irq = { | 70 | static struct irqaction pvr2_dma_irq = { |
71 | .name = "pvr2 DMA handler", | 71 | .name = "pvr2 DMA handler", |
72 | .handler = pvr2_dma_interrupt, | 72 | .handler = pvr2_dma_interrupt, |
73 | .flags = IRQF_DISABLED, | ||
74 | }; | 73 | }; |
75 | 74 | ||
76 | static struct dma_ops pvr2_dma_ops = { | 75 | static struct dma_ops pvr2_dma_ops = { |
diff --git a/arch/sh/drivers/dma/dma-sh.c b/arch/sh/drivers/dma/dma-sh.c index 827208781ed5..a60da6dd4d17 100644 --- a/arch/sh/drivers/dma/dma-sh.c +++ b/arch/sh/drivers/dma/dma-sh.c | |||
@@ -95,7 +95,7 @@ static int sh_dmac_request_dma(struct dma_channel *chan) | |||
95 | #if defined(CONFIG_SH_DMA_IRQ_MULTI) | 95 | #if defined(CONFIG_SH_DMA_IRQ_MULTI) |
96 | IRQF_SHARED, | 96 | IRQF_SHARED, |
97 | #else | 97 | #else |
98 | IRQF_DISABLED, | 98 | 0, |
99 | #endif | 99 | #endif |
100 | chan->dev_id, chan); | 100 | chan->dev_id, chan); |
101 | } | 101 | } |
@@ -305,7 +305,7 @@ static int __init sh_dmac_init(void) | |||
305 | #if defined(CONFIG_SH_DMA_IRQ_MULTI) | 305 | #if defined(CONFIG_SH_DMA_IRQ_MULTI) |
306 | IRQF_SHARED, | 306 | IRQF_SHARED, |
307 | #else | 307 | #else |
308 | IRQF_DISABLED, | 308 | 0, |
309 | #endif | 309 | #endif |
310 | dmae_name[n], (void *)dmae_name[n]); | 310 | dmae_name[n], (void *)dmae_name[n]); |
311 | if (unlikely(i < 0)) { | 311 | if (unlikely(i < 0)) { |
diff --git a/arch/sh/drivers/dma/dmabrg.c b/arch/sh/drivers/dma/dmabrg.c index 6ab9c4a15439..3d66a32ce610 100644 --- a/arch/sh/drivers/dma/dmabrg.c +++ b/arch/sh/drivers/dma/dmabrg.c | |||
@@ -174,17 +174,17 @@ static int __init dmabrg_init(void) | |||
174 | or = __raw_readl(DMAOR); | 174 | or = __raw_readl(DMAOR); |
175 | __raw_writel(or | DMAOR_BRG | DMAOR_DMEN, DMAOR); | 175 | __raw_writel(or | DMAOR_BRG | DMAOR_DMEN, DMAOR); |
176 | 176 | ||
177 | ret = request_irq(DMABRGI0, dmabrg_irq, IRQF_DISABLED, | 177 | ret = request_irq(DMABRGI0, dmabrg_irq, 0, |
178 | "DMABRG USB address error", NULL); | 178 | "DMABRG USB address error", NULL); |
179 | if (ret) | 179 | if (ret) |
180 | goto out0; | 180 | goto out0; |
181 | 181 | ||
182 | ret = request_irq(DMABRGI1, dmabrg_irq, IRQF_DISABLED, | 182 | ret = request_irq(DMABRGI1, dmabrg_irq, 0, |
183 | "DMABRG Transfer End", NULL); | 183 | "DMABRG Transfer End", NULL); |
184 | if (ret) | 184 | if (ret) |
185 | goto out1; | 185 | goto out1; |
186 | 186 | ||
187 | ret = request_irq(DMABRGI2, dmabrg_irq, IRQF_DISABLED, | 187 | ret = request_irq(DMABRGI2, dmabrg_irq, 0, |
188 | "DMABRG Transfer Half", NULL); | 188 | "DMABRG Transfer Half", NULL); |
189 | if (ret == 0) | 189 | if (ret == 0) |
190 | return ret; | 190 | return ret; |
diff --git a/arch/sh/drivers/pci/pci-sh5.c b/arch/sh/drivers/pci/pci-sh5.c index 0bf296c78795..16c1e721bf54 100644 --- a/arch/sh/drivers/pci/pci-sh5.c +++ b/arch/sh/drivers/pci/pci-sh5.c | |||
@@ -107,13 +107,13 @@ static int __init sh5pci_init(void) | |||
107 | u32 uval; | 107 | u32 uval; |
108 | 108 | ||
109 | if (request_irq(IRQ_ERR, pcish5_err_irq, | 109 | if (request_irq(IRQ_ERR, pcish5_err_irq, |
110 | IRQF_DISABLED, "PCI Error",NULL) < 0) { | 110 | 0, "PCI Error",NULL) < 0) { |
111 | printk(KERN_ERR "PCISH5: Cannot hook PCI_PERR interrupt\n"); | 111 | printk(KERN_ERR "PCISH5: Cannot hook PCI_PERR interrupt\n"); |
112 | return -EINVAL; | 112 | return -EINVAL; |
113 | } | 113 | } |
114 | 114 | ||
115 | if (request_irq(IRQ_SERR, pcish5_serr_irq, | 115 | if (request_irq(IRQ_SERR, pcish5_serr_irq, |
116 | IRQF_DISABLED, "PCI SERR interrupt", NULL) < 0) { | 116 | 0, "PCI SERR interrupt", NULL) < 0) { |
117 | printk(KERN_ERR "PCISH5: Cannot hook PCI_SERR interrupt\n"); | 117 | printk(KERN_ERR "PCISH5: Cannot hook PCI_SERR interrupt\n"); |
118 | return -EINVAL; | 118 | return -EINVAL; |
119 | } | 119 | } |
diff --git a/arch/sh/drivers/pci/pci-sh7780.c b/arch/sh/drivers/pci/pci-sh7780.c index edb7cca14882..fa7b978cc727 100644 --- a/arch/sh/drivers/pci/pci-sh7780.c +++ b/arch/sh/drivers/pci/pci-sh7780.c | |||
@@ -172,7 +172,7 @@ static int __init sh7780_pci_setup_irqs(struct pci_channel *hose) | |||
172 | PCI_STATUS_SIG_TARGET_ABORT | \ | 172 | PCI_STATUS_SIG_TARGET_ABORT | \ |
173 | PCI_STATUS_PARITY, hose->reg_base + PCI_STATUS); | 173 | PCI_STATUS_PARITY, hose->reg_base + PCI_STATUS); |
174 | 174 | ||
175 | ret = request_irq(hose->serr_irq, sh7780_pci_serr_irq, IRQF_DISABLED, | 175 | ret = request_irq(hose->serr_irq, sh7780_pci_serr_irq, 0, |
176 | "PCI SERR interrupt", hose); | 176 | "PCI SERR interrupt", hose); |
177 | if (unlikely(ret)) { | 177 | if (unlikely(ret)) { |
178 | printk(KERN_ERR "PCI: Failed hooking SERR IRQ\n"); | 178 | printk(KERN_ERR "PCI: Failed hooking SERR IRQ\n"); |
diff --git a/arch/sh/drivers/push-switch.c b/arch/sh/drivers/push-switch.c index afc24556572b..637b79b09657 100644 --- a/arch/sh/drivers/push-switch.c +++ b/arch/sh/drivers/push-switch.c | |||
@@ -63,7 +63,7 @@ static int switch_drv_probe(struct platform_device *pdev) | |||
63 | BUG_ON(!psw_info); | 63 | BUG_ON(!psw_info); |
64 | 64 | ||
65 | ret = request_irq(irq, psw_info->irq_handler, | 65 | ret = request_irq(irq, psw_info->irq_handler, |
66 | IRQF_DISABLED | psw_info->irq_flags, | 66 | psw_info->irq_flags, |
67 | psw_info->name ? psw_info->name : DRV_NAME, pdev); | 67 | psw_info->name ? psw_info->name : DRV_NAME, pdev); |
68 | if (unlikely(ret < 0)) | 68 | if (unlikely(ret < 0)) |
69 | goto err; | 69 | goto err; |