diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-06-24 10:53:03 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-06-24 10:53:03 +0200 |
commit | 21a5c848625b33b88cdc040482f3fdf90b5ded67 (patch) | |
tree | efd4a720de85ab8a10ef3b20af0f5446c7a83a94 /debian/patches | |
parent | c7efa9e3d143f746502e4fb58b21252e27c49495 (diff) |
fix patch
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/dde-enable-device.patch | 7 |
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; |