Commit 0a6db7dc authored by David S. Miller's avatar David S. Miller

sbus: Fix bpp driver build.

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 59f7137a
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
#define BPP_DELAY 100 #define BPP_DELAY 100
static const unsigned BPP_MAJOR = LP_MAJOR; 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 /* When switching from compatibility to a mode where I can read, try
the following mode first. */ the following mode first. */
......
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