Browse Source

fake:

linux26-headers: pci.h: remove unneeded
	mod_devicetable.h include, if this breaks
	anything, we could also sorrund it with
	an #ifdef __KERNEL__, debian removed it too.
	fixes mplayer on ppc with 2.6 headers and
	makes a sparc/xfree patch obsolete.
Stefan Fiedler:
        rediffed with #ifdef __KERNEL__
        at least alim15x3 module needs this

[2004100920503418789]



git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4529 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
fake 20 years ago
parent
commit
8038b0de8c
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      package/base/linux/linux26/72-pci-h_mod_devicetable-remove.patch

+ 12
- 0
package/base/linux/linux26/72-pci-h_mod_devicetable-remove.patch

@ -0,0 +1,12 @@
--- ./include/linux/pci.h.orig 2004-08-25 05:39:31.000000000 +0200
+++ ./include/linux/pci.h 2004-10-09 17:22:44.049099544 +0200
@@ -17,7 +17,9 @@
#ifndef LINUX_PCI_H
#define LINUX_PCI_H
+#ifdef __KERNEL__
#include <linux/mod_devicetable.h>
+#endif
/*
* Under PCI, each device has 256 bytes of configuration address space,

Loading…
Cancel
Save