projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3121b1c
)
HID: thingm: thingm_fwinfo[] doesn't need to be global
author
Jiri Kosina
<jkosina@suse.cz>
Tue, 3 Jun 2014 11:29:38 +0000
(13:29 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 3 Jun 2014 11:29:38 +0000
(13:29 +0200)
No need to pollute global namespace by thingm_fwinfo[]. Make it static.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-thingm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-thingm.c
b/drivers/hid/hid-thingm.c
index 31de890d14cf479cbb6cd7ddb9a83b0881c308ef..134be89b15eadd3af92f81ac55e8d4d77790529e 100644
(file)
--- a/
drivers/hid/hid-thingm.c
+++ b/
drivers/hid/hid-thingm.c
@@
-31,7
+31,7
@@
struct thingm_fwinfo {
unsigned first;
};
-const struct thingm_fwinfo thingm_fwinfo[] = {
+
static
const struct thingm_fwinfo thingm_fwinfo[] = {
{
.major = THINGM_MAJOR_MK1,
.numrgb = 1,