projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8400721
)
rk: module.c: enable debug locks for rk plat
author
黄涛
<huangtao@rock-chips.com>
Mon, 26 Mar 2012 06:39:56 +0000
(14:39 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 26 Mar 2012 06:39:56 +0000
(14:39 +0800)
kernel/module.c
patch
|
blob
|
history
diff --git
a/kernel/module.c
b/kernel/module.c
index 4b52684a013ea692ae320844205bbbd8abf6ec42..242a688757d4adc1c1d1b057c61a51a9e88d40ef 100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-1982,6
+1982,10
@@
static void layout_sections(struct module *mod, struct load_info *info)
static void set_license(struct module *mod, const char *license)
{
+#ifdef CONFIG_PLAT_RK
+ return;
+#endif
+
if (!license)
license = "unspecified";