Skip to content

Commit

Permalink
sbus: Fix bpp driver build.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed May 5, 2008
1 parent 59f7137 commit 0a6db7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sbus/char/bpp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 0a6db7d

Please sign in to comment.