upgrading modules from 2.6.7 to 2.6.15
Hello, I've up graded my kernel from version 2.6.7 to 2.6.15. Suddenly some modules won't insmod correctly. I recompile the modules but get some warnings
the warnings are basically
CC [M] /root/Desktop/kernel_driver/device_sram.o
/root/Desktop/kernel_driver/device_sram.c: In function `device_ram_mmap':
/root/Desktop/kernel_driver/device_sram.c:520: warning: implicit declaration
of function `remap_page_range'
/root/Desktop/kernel_driver/serial_io.c: In function `enable_uarts':
/root/Desktop/kernel_driver/serial_io.c:292: warning: implicit declaration
of function `register_serial'
/root/Desktop/kernel_driver/serial_io.c: In function `disable_uarts':
/root/Desktop/kernel_driver/serial_io.c:318: warning: implicit declaration
of function `unregister_serial'
when I insmod I get
development:~# insmod Desktop/kernel_driver/ioboard.ko
insmod: error inserting 'Desktop/kernel_driver/ioboard.ko': -1 Unknown symbol in module.
I might be misunderstanding this but from reading it seems that the above functions were dropped from 2.6.13 onward, if so can anyone advise on a work round? If not can any tell me what I need to do to get it to complile.