Added const qualifiers in the kernel module