Skip to contentSkip to conversation

compat code: Fix compile failure of av7110.c on Kernel 2.6.27

PATCH Hans Werner 1 participant 1 message Oct 30, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines

Hi list!

av7110.c does not compile against a 2.6.27 kernel, as the inclusion of linux/byteorder/swabb.h is now conditional with

Quoted 8 lines

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)

But the byteorder changes in kernel took place after Kernel 2.6.27, so the compat code needs to look like this:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28)

Igor,
this patch hasn't been applied to s2-liplianin yet so compilation fails with 2.6.27. Could you please sync with v4l-dvb which has it?
Thanks,
Hans

Signature · 9 lines
Release early, release often.

GMX Download-Spiele: Preizsturz! Alle Puzzle-Spiele Deluxe über 60% billiger.
http://games.entertainment.gmx.net/de/entertainment/games/download/puzzle/index.html

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb