summaryrefslogtreecommitdiff
path: root/drivers/staging/silicom/bypasslib
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2012-10-18 21:43:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 15:57:13 -0700
commit4c0a655387cae593569d004e0f8d58f2eac0b3cb (patch)
tree08a8de9d002d81d0d3d5b8c81e683764118ef868 /drivers/staging/silicom/bypasslib
parentbd25e92df8d585b49835d7f8c908a16a62afc66e (diff)
Staging: silicom: Fix up version.h includes
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>
Diffstat (limited to 'drivers/staging/silicom/bypasslib')
-rw-r--r--drivers/staging/silicom/bypasslib/bplibk.h1
-rw-r--r--drivers/staging/silicom/bypasslib/bypass.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/silicom/bypasslib/bplibk.h b/drivers/staging/silicom/bypasslib/bplibk.h
index a1c85eec02f0..e9db2d114ba1 100644
--- a/drivers/staging/silicom/bypasslib/bplibk.h
+++ b/drivers/staging/silicom/bypasslib/bplibk.h
@@ -15,6 +15,7 @@
#include "bp_ioctl.h"
#include "libbp_sd.h"
+#include <linux/version.h>
#define IF_NAME "eth"
#define SILICOM_VID 0x1374
diff --git a/drivers/staging/silicom/bypasslib/bypass.c b/drivers/staging/silicom/bypasslib/bypass.c
index 527829d58133..95a1f1815d90 100644
--- a/drivers/staging/silicom/bypasslib/bypass.c
+++ b/drivers/staging/silicom/bypasslib/bypass.c
@@ -11,7 +11,6 @@
/* */
/******************************************************************************/
-#include <linux/version.h>
#if defined(CONFIG_SMP) && ! defined(__SMP__)
#define __SMP__
#endif