I'm writing simple driver (in order to learn writing device drivers). Everything worked well until I added another source file to the driver.
When I build it, I get no compilation or linking errors and insmod works fine as well, but the driver doesn't work (I can't see its printings in dmesg and its file in /proc doesn't exist as well). I can rmmod the driver as well.
Does anyone familiar with this kind of problem?