aboutsummaryrefslogtreecommitdiffstats
path: root/package/ep80579-drivers/patches/500-1588_fix_irq_request_warning.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-04-01 12:05:27 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-04-01 12:05:27 +0000
commit508ed126fce54e34107dc4335fe1639d5f57a098 (patch)
treea5cda6cdb0bffcdceb04c0066c69647b1bee39a8 /package/ep80579-drivers/patches/500-1588_fix_irq_request_warning.patch
parent25005baa1279d34b9c485f553f71076651f107e8 (diff)
downloadupstream-508ed126fce54e34107dc4335fe1639d5f57a098.tar.gz
upstream-508ed126fce54e34107dc4335fe1639d5f57a098.tar.bz2
upstream-508ed126fce54e34107dc4335fe1639d5f57a098.zip
[x86]: add a subtarget and drivers for the Intel Tolapai SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20648 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ep80579-drivers/patches/500-1588_fix_irq_request_warning.patch')
-rw-r--r--package/ep80579-drivers/patches/500-1588_fix_irq_request_warning.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/ep80579-drivers/patches/500-1588_fix_irq_request_warning.patch b/package/ep80579-drivers/patches/500-1588_fix_irq_request_warning.patch
new file mode 100644
index 0000000000..f3f9acb1e0
--- /dev/null
+++ b/package/ep80579-drivers/patches/500-1588_fix_irq_request_warning.patch
@@ -0,0 +1,22 @@
+--- a/Embedded/src/1588/1588.c
++++ b/Embedded/src/1588/1588.c
+@@ -631,7 +631,7 @@ int restore_interrupts(void)
+ IRQ_NONE => this device did not interrupt
+
+ ******************************************************************************/
+-irqreturn_t timesync_isr(int irq, void *dev_id, struct pt_regs *regs)
++irqreturn_t timesync_isr(int irq, void *dev_id)
+ {
+ if ( !ixTimeSyncAccEventAmmsFlagGet() && !ixTimeSyncAccEventAsmsFlagGet()&&
+ !ixTimeSyncAccEventAtmFlagGet() && !ixTimeSyncAccEventPpsmFlagGet()&&
+--- a/Embedded/src/1588/1588.h
++++ b/Embedded/src/1588/1588.h
+@@ -128,7 +128,7 @@ int pci_suspend(struct pci_dev *dev, pm_
+ int pci_resume(struct pci_dev *dev);
+ int pci_probe(struct pci_dev *dev, const struct pci_device_id *id);
+ void pci_remove(struct pci_dev *dev);
+-irqreturn_t timesync_isr(int irq, void *dev_id, struct pt_regs *regs);
++irqreturn_t timesync_isr(int irq, void *dev_id);
+
+ // private functions
+ int save_reg_state(void);