View | Details | Raw Unified | Return to bug 232475
Collapse All | Expand All

(-)a/drivers/ide/ide-pnp.c (+5 lines)
Lines 73-75 void __init pnpide_init(void) Link Here
73
{
73
{
74
	pnp_register_driver(&idepnp_driver);
74
	pnp_register_driver(&idepnp_driver);
75
}
75
}
76
77
void __exit pnpide_exit(void)
78
{
79
	pnp_unregister_driver(&idepnp_driver);
80
}
(-)a/drivers/ide/ide.c (+4 lines)
Lines 2102-2107 void cleanup_module (void) Link Here
2102
	for (index = 0; index < MAX_HWIFS; ++index)
2102
	for (index = 0; index < MAX_HWIFS; ++index)
2103
		ide_unregister(index);
2103
		ide_unregister(index);
2104
2104
2105
#ifdef CONFIG_BLK_DEV_IDEPNP
2106
	pnpide_exit();
2107
#endif
2108
2105
#ifdef CONFIG_PROC_FS
2109
#ifdef CONFIG_PROC_FS
2106
	proc_ide_destroy();
2110
	proc_ide_destroy();
2107
#endif
2111
#endif

Return to bug 232475