On Monday 02 May 2011 17:09:31 Marek Lindner wrote: > On Monday 02 May 2011 17:02:32 Sven Eckelmann wrote: > > On Monday 02 May 2011 16:53:44 Marek Lindner wrote: > > > Signed-off-by: Marek Lindner <lindner_ma...@yahoo.de> > > > > [,,,,] > > > > > #include <linux/version.h> /* LINUX_VERSION_CODE */ > > > > > > -#include "bat_sysfs.h" /* struct bat_attribute */ > > > > This is necessary for kernels older than 2.6.24 > > Aarrrgh, I was afraid of something like that. We are running into an > include dependency issue as soon as bat_sysfs.h contains something like > "struct bat_priv" which is likely to come soon ... > Any better idea how to fix this ?
Declaring everything below 2.6.24 as obsolete? Other solutions can be developed after arriving at home. Kind regards, Sven
signature.asc
Description: This is a digitally signed message part.