Staging: silicom: Fix up version.h includes
authorJesper Juhl <jj@chaosbits.net>
Thu, 18 Oct 2012 19:43:55 +0000 (21:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 22:57:13 +0000 (15:57 -0700)
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>
drivers/staging/silicom/bp_proc.c
drivers/staging/silicom/bypasslib/bplibk.h
drivers/staging/silicom/bypasslib/bypass.c

index 8188b9d66b8ded51e420d0f9bbe2e7ad0b3e06a3..a01ca97b76650326e9ff86f4b13f95ec1a6453cb 100644 (file)
@@ -10,7 +10,6 @@
 /*                                                                            */
 /******************************************************************************/
 
-#include <linux/version.h>
 #if defined(CONFIG_SMP) && !defined(__SMP__)
 #define __SMP__
 #endif
index a1c85eec02f078b87b5944d35b6b65da5378b659..e9db2d114ba1ea4f4217d9ce8564521095a63081 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "bp_ioctl.h"
 #include "libbp_sd.h"
+#include <linux/version.h>
 
 #define IF_NAME            "eth"
 #define SILICOM_VID        0x1374
index 527829d5813370a9b2782b59986cbf7dc00ffdae..95a1f1815d9072f9fa10c37cef89d2cfe97c6259 100644 (file)
@@ -11,7 +11,6 @@
 /*                                                                            */
 /******************************************************************************/
 
-#include <linux/version.h>
 #if defined(CONFIG_SMP) && ! defined(__SMP__)
 #define __SMP__
 #endif