Skip to content

Commit

Permalink
Staging: silicom: Fix up version.h includes
Browse files Browse the repository at this point in the history
drivers/staging/silicom/bypasslib/bplibk.h actually uses stuff from
version.h so it should include the header.
drivers/staging/silicom/bp_proc.c and
drivers/staging/silicom/bypasslib/bypass.c currently include the
header but use nothing from it so they don't need to.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
jjuhl authored and gregkh committed Oct 22, 2012
1 parent bd25e92 commit 4c0a655
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion drivers/staging/silicom/bp_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
/* */
/******************************************************************************/

#include <linux/version.h>
#if defined(CONFIG_SMP) && !defined(__SMP__)
#define __SMP__
#endif
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/silicom/bypasslib/bplibk.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

#include "bp_ioctl.h"
#include "libbp_sd.h"
#include <linux/version.h>

#define IF_NAME "eth"
#define SILICOM_VID 0x1374
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/silicom/bypasslib/bypass.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
/* */
/******************************************************************************/

#include <linux/version.h>
#if defined(CONFIG_SMP) && ! defined(__SMP__)
#define __SMP__
#endif
Expand Down

0 comments on commit 4c0a655

Please sign in to comment.