提交 f46f6ba9 编写于 作者: T Thomas Klein 提交者: Jeff Garzik

ehea: Fix workqueue handling

Fix: Workqueue ehea_driver_wq was not destroyed
Signed-off-by: NThomas Klein <tklein@de.ibm.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 76b9cfcc
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <asm/io.h> #include <asm/io.h>
#define DRV_NAME "ehea" #define DRV_NAME "ehea"
#define DRV_VERSION "EHEA_0072" #define DRV_VERSION "EHEA_0073"
/* eHEA capability flags */ /* eHEA capability flags */
#define DLPAR_PORT_ADD_REM 1 #define DLPAR_PORT_ADD_REM 1
......
...@@ -3099,6 +3099,7 @@ int __init ehea_module_init(void) ...@@ -3099,6 +3099,7 @@ int __init ehea_module_init(void)
static void __exit ehea_module_exit(void) static void __exit ehea_module_exit(void)
{ {
destroy_workqueue(ehea_driver_wq);
driver_remove_file(&ehea_driver.driver, &driver_attr_capabilities); driver_remove_file(&ehea_driver.driver, &driver_attr_capabilities);
ibmebus_unregister_driver(&ehea_driver); ibmebus_unregister_driver(&ehea_driver);
ehea_destroy_busmap(); ehea_destroy_busmap();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册