/* This function is called while unloading the kernel-module  */
static void __exit usb_gigaset_exit(void)
/* This function is called while unloading the kernel-module  */
static void __exit usb_gigaset_exit(void)
{
	int i;
	gigaset_blockdriver(driver); 
	for (i = 0; i < driver->minors; i++)
		gigaset_shutdown(driver->cs + i);
	usb_deregister(&gigaset_usb_driver);
	gigaset_freedriver(driver);
	driver = NULL;
}