Hi, Ravi wrote:
Did you put your driver code in a new directory? If so, you mightIt's also worth noticing that with this setup, you'll have to add an entry to the Kconfig script so that "make <whatever>config" sets this variable y/m/n.
have to add the following line to the Makefile one level above your
directory:
'subdir-$(CONFIG_MYUSB) += my_subdir'
Without this, 'make bzImage' (or 'make modules') will not enter the
new subdirectory at all.
If you want your driver to be compiled-in the kernel by default (regardless of the user's opinion), please change it to:
'subdir-y += my_subdir'.
And it should work fine.
Hope this helps,
Felipe
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/