You normally wouldn't need to recompile the kernel after adding a device file/socket and loading its driver module.
All the same here is what you can do if you are using a 2.6.xxx kernel. There are about three extra steps if you are using a 2.4.xxx kernel. Please note that instructions to recopile the kernel have been provide in this forum thousands of times. A site search would provide the information that you seek. Therefore I am just going to provide a quick and dirty example.
make && make modules_install
cp arch/i386/bzImage /boot/vmlinuz
The exact details, such as the file name of the kernel in /boot, vary by distribution and personal taste. Don't
cp bzImage to /boot if the make failed. If the make fails there is no cleanup required. You can just leave the system the way it is.