edit: Looks like I didn't give enough info for anyone to help; I'm following directions for a solution here
http://askubuntu.com/questions/21549...reless-drivers
=========================================
Title asks it all here folks; I got an EXPECTED error doing compilation, and the next step calls for : (and is the code in
RED below correct, to copy / paste into header file)
Now this will probably give the following error:
error: redefinition of kref_get_unless_zero
include/linux/kref.h:47:32: note: previous definition of kref_get_unless_zero was here
In this case, open the header file, and find the entire block of the function:
static inline int __must_check kref_get_unless_zero(struct kref *kref)
{
return atomic_add_unless(&kref->refcount, 1, 0);
}
Next comment out the entire block of the function using line comment (put // in front of each line) or block comment in c as,
/*static inline int __must_check kref_get_unless_zero(struct kref *kref)
{
return atomic_add_unless(&kref->refcount, 1, 0);
}*/
Thanks here........................