Problem
For a device driver called sample.c, please answer the following questions to have the driver become part of the kernel proper:
i. Create directory where and add what?
ii. Configure the Kconfig file so that the device module can be loaded (statically, dynamically, or not at all) - identify which kconfig file and what you would place in it and where?
iii. Which Makefile to modify and how?
iv. How to compile the driver?