[eepro100-bug] error in kern_compat.h
Ron Steinke
rsteinke@merilon.elfhame.net
Tue, 05 Dec 2000 22:00:16 -0800
I've had a difficulty with a section of kern_compat.h:
/* Added at the suggestion of Jes Sorensen. */
#if LINUX_VERSION_CODE < 0x20153
#include <linux/init.h>
#else
#define __init
#define __initdata
#define __initfunc(__arginit) __arginit
#endif
Shouldn't this be LINUX_VERSION_CODE > 0x20153 ? I tried to compile this
for a 2.0.36 kernel, which didn't have init.h, and got an error.
Changing it from < to > fixed the problem.
Ron Steinke