Re: Invalid module format?

Sam Ravnborg
2006-05-19T21:35:35Z

> #ifndef __KERNEL__
> #define __KERNEL__
> #endif
>
> #ifndef MODULE
> #define MODULE
> #endif
Kill these.
>
> #ifndef CONFIG_PCI
> #error "This driver REQUIRES PCI support"
> #endif
>
> #if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
> #define MODVERSIONS /* force it on */
> #endif
Looks bogus. Either it is enabled or not.
You cannot change it like this.

Sam