projects
/
GitHub
/
LineageOS
/
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:
59f7137
)
sbus: Fix bpp driver build.
author
David S. Miller
<davem@davemloft.net>
Mon, 5 May 2008 07:33:58 +0000
(
00:33
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 5 May 2008 07:33:58 +0000
(
00:33
-0700)
Using the variable name 'dev_name' in the top-level namespace is a bad
idea.
This conflicts with linux/device.h's inline function of the same name.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/bpp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sbus/char/bpp.c
b/drivers/sbus/char/bpp.c
index 4fab0c23814c90dda8bf55b85e6242c6dbc07d96..b87037ec9805502a52cd4655f6d40a96847d3b66 100644
(file)
--- a/
drivers/sbus/char/bpp.c
+++ b/
drivers/sbus/char/bpp.c
@@
-41,7
+41,7
@@
#define BPP_DELAY 100
static const unsigned BPP_MAJOR = LP_MAJOR;
-static const char
*
dev_name = "bpp";
+static const char
*bpp_
dev_name = "bpp";
/* When switching from compatibility to a mode where I can read, try
the following mode first. */