mirror of
https://github.com/fpganinja/taxi.git
synced 2026-01-18 01:30:36 -08:00
cndm: Ensure IDA is cleaned up on module unload
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -240,6 +240,8 @@ static int __init cndm_init(void)
|
||||
static void __exit cndm_exit(void)
|
||||
{
|
||||
pci_unregister_driver(&cndm_driver);
|
||||
|
||||
ida_destroy(&cndm_instance_ida);
|
||||
}
|
||||
|
||||
module_init(cndm_init);
|
||||
|
||||
Reference in New Issue
Block a user