Pei Lin wrote:
> struct device *device_create(struct class *class, struct device *parent,
>                        dev_t devt, const char *fmt, ...)
>
> you see the prototype about device_create ,and the fourth parameter
> you give is NULL.
>
> i think that is a problem.
>   
Oh yeah - man, thank you!!!

They changed the call - in 2.6.27 it is:

struct device * device_create(struct class * class, struct device *
parent, dev_t devt, void * drvdata,
                                     const char * fmt, ...);
ok, so I have to find the version where it changes and adjust the code.

Thank you VERY much, I looked over  it again and again and never
regocnized it.

Bye...Frank

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to