Device registration example for kernel 2.4.