LKM for multiple kernel versions
I have a kernel module that works for kernel versions < 2.6.20 but there were some changes in that version that cause it to break. I already know how to fix the code but in my source but how can I check the kernel version and swap the code? I dont want to just update the code because I still need it to work for both kernel versions.
Thanks.
|