[linux-dvb] RE : Compile error, bug in compat.h with kernel 2.6.27.9 ?

BOUWSMA Barry freebeer.bouwsma at gmail.com
Tue Dec 30 20:34:49 CET 2008


On Tue, 30 Dec 2008, Thierry Lelegard wrote:

> OK, looking into the source RPM for the latest Fedora 10 update
> kernel (kernel-2.6.27.9-159.fc10.src.rpm), it appears that
> the definition of pci_ioremap_bar in pci.h was introduced by
> linux-2.6.27.7-alsa-driver-fixups.patch
> 
> I assume that this is a Fedora-specific patch (or more generally Red Hat),
> back-porting 2.6.28 stuff.

There may be hope for a dirty hack...

As part of this, I also see
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -644,6 +644,7 @@ struct input_absinfo {
 #define SW_RADIO               SW_RFKILL_ALL   /* deprecated */
 #define SW_MICROPHONE_INSERT   0x04  /* set = inserted */
 #define SW_DOCK                        0x05  /* set = plugged into dock */
+#define SW_LINEOUT_INSERT      0x06  /* set = plugged into dock 
*/

which is not yet in my latest 2.6.28 git kernel...

These both seem to be present since -r1.1 through HEAD,
so I would guess you can special-case this check into
a 2.6.27 version test.


Of course, I have no idea what I'm talking about...



More information about the linux-dvb mailing list