Commit f46f6ba9 authored by Thomas Klein's avatar Thomas Klein Committed by Jeff Garzik

ehea: Fix workqueue handling

Fix: Workqueue ehea_driver_wq was not destroyed
Signed-off-by: default avatarThomas Klein <tklein@de.ibm.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 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 @@ out: ...@@ -3099,6 +3099,7 @@ out:
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment