@Mara : thanks for the quick response.
I have tried the same idea many time, but failed to create .ko module with my kernel.
I am using ARM architecture.
Code:
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_KMOD=y
CONFIG_RTC_DRV_ISL1208=m
This is the configuration I added for "loadable module support" for RTC driver module. But failed to create rtc.ko module. Instead of this, its compiling the driver as a part of kernel.
What else to be taken care , when we build a loadable module. I am sure, I'm missing some lines in .config file. Because, its the same case for other drivers also.
Please help me
Regards
SJR