summaryrefslogtreecommitdiff
path: root/package/kernel/ep80579-drivers/patches/400-edma_fix_irq_request_warning.patch
blob: d858aff1ff388154439bec37010be29ed2b827dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/Embedded/src/EDMA/dma_linux.c
+++ b/Embedded/src/EDMA/dma_linux.c
@@ -149,8 +149,7 @@ int32_t edma_suspend (struct pci_dev *de
 int32_t edma_resume(struct pci_dev *dev);
 int32_t initialize_edma_device(struct edma_device *device);
 
-static irqreturn_t edma_irq_handler(int32_t irq, void * dev_id,
-                                    struct pt_regs * regs);
+static irqreturn_t edma_irq_handler(int32_t irq, void * dev_id);
 
 /* Prototypes - Misc. */
 
@@ -429,8 +428,7 @@ int32_t edma_release(struct inode * inod
  * Return Values: HANDLED = 1, NOT_HANDLED = 0
  *****************************************************************************/
 
-static irqreturn_t edma_irq_handler(int32_t irq, void * dev_id,
-                                    struct pt_regs * regs)
+static irqreturn_t edma_irq_handler(int32_t irq, void * dev_id)
 {
 
     uint32_t clear_bits;