By saying "I have it", you mean that you have CONFIG_RFKILL=yes or that the net/rfkill/core.c gets compiled and that the corresponding object file gets linked in?
Indeed, it could be that I was wrong by saying that CONFIG_RFKILL=yes is enough. It could be that even if you have CONFIG_RFKILL=yes the net/rfkill/core.c does not get compiled and linked in.
What I am (relatively) sure is that the net/rfkill/core.c contains the definition of the function you need. We have only to find how to have it compiled and linked.
BTW, if you send me the right pointers I could try compiling the kernel myself. I already downloaded the sources from https://github.com/AndrewDB/rk3066-kernel.git (is this the source you are using?) but I need to have some suggestions for the cross-compiling tools and possibly a copy of the .config you are using (just to have something to start from).
Ciao
G.
Comment