Bugzilla – Attachment #113119: fixed unregister pnp-ide patch for bug #232475
{
pnp_register_driver(&idepnp_driver);
}
void __exit pnpide_exit(void)
pnp_unregister_driver(&idepnp_driver);
for (index = 0; index < MAX_HWIFS; ++index)
ide_unregister(index);
#ifdef CONFIG_BLK_DEV_IDEPNP
pnpide_exit();
#endif
#ifdef CONFIG_PROC_FS
proc_ide_destroy();