projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee19ae
)
Staging: gdm72xx: gdm_usb: fix deprecated function kernel_thread
author
Adnan Ali
<
[email protected]
>
Thu, 31 May 2012 10:32:48 +0000
(11:32 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 12 Jun 2012 17:34:47 +0000
(10:34 -0700)
This commit fixes deprecated function kernel_thread by replacing
it with kthread_run.
Signed-off-by: Adnan Ali <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/gdm72xx/gdm_usb.c
patch
|
blob
|
history
diff --git
a/drivers/staging/gdm72xx/gdm_usb.c
b/drivers/staging/gdm72xx/gdm_usb.c
index 1e9dc0d903620fdbae4f1f2f1e170b8e9c18999e..19533c6e055b3f30950e27cd4b08bba65bf4fada 100644
(file)
--- a/
drivers/staging/gdm72xx/gdm_usb.c
+++ b/
drivers/staging/gdm72xx/gdm_usb.c
@@
-16,6
+16,7
@@
#include <linux/kernel.h>
#include <linux/usb.h>
#include <asm/byteorder.h>
+#include <linux/kthread.h>
#include "gdm_usb.h"
#include "gdm_wimax.h"
@@
-775,7
+776,7
@@
static struct usb_driver gdm_usb_driver = {
static int __init usb_gdm_wimax_init(void)
{
#ifdef CONFIG_WIMAX_GDM72XX_K_MODE
- k
ernel_thread(k_mode_thread, NULL, CLONE_KERNEL
);
+ k
thread_run(k_mode_thread, NULL, "WiMax_thread"
);
#endif /* CONFIG_WIMAX_GDM72XX_K_MODE */
return usb_register(&gdm_usb_driver);
}