summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/dde-enable-device.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/patches/dde-enable-device.patch b/debian/patches/dde-enable-device.patch
index 80cac9fd..1ecf956c 100644
--- a/debian/patches/dde-enable-device.patch
+++ b/debian/patches/dde-enable-device.patch
@@ -1,5 +1,5 @@
diff --git a/libdde-linux26/lib/src/arch/l4/pci.c b/libdde-linux26/lib/src/arch/l4/pci.c
-index b50a735..b6cb4a0 100644
+index b50a735..b6bf50a 100644
--- a/libdde-linux26/lib/src/arch/l4/pci.c
+++ b/libdde-linux26/lib/src/arch/l4/pci.c
@@ -162,16 +162,17 @@ pcibios_align_resource(void *data, struct resource *res,
@@ -13,10 +13,11 @@ index b50a735..b6cb4a0 100644
- if ((err = pcibios_enable_resources(dev, mask)) < 0)
+ if ((err = pci_enable_resources(dev, mask)) < 0)
return err;
-
+-
- return pcibios_enable_irq(dev);
-#endif
-+ return enable_irq(dev->irq);
++ enable_irq(dev->irq);
++ return 0;
+#else
WARN_UNIMPL;
return -1;