staging: dgap: removes version.h dependency
authorLidza Louina <Lidza.Louina@gmail.com>
Fri, 17 Jan 2014 16:01:37 +0000 (11:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:05:00 +0000 (10:05 -0800)
This patch removes the version.h dependencies to the
driver.h, fep5.c and tty.c files. This header was used
to help the driver support different versions of the
kernel. The support for different versions was removed
in a previous patch.

Signed-off-by: Lidza Louina <Lidza.Louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap_driver.h
drivers/staging/dgap/dgap_fep5.c
drivers/staging/dgap/dgap_tty.c

index f0f0430f920614cc8cd8aead04c3289f5c5835d3..9296adcb06c933c5968b68c4ceb1f0da52a8d1c3 100644 (file)
@@ -27,7 +27,6 @@
 #ifndef __DGAP_DRIVER_H
 #define __DGAP_DRIVER_H
 
-#include <linux/version.h>     /* To get the current Linux version */
 #include <linux/types.h>        /* To pick up the varions Linux types */
 #include <linux/tty.h>          /* To pick up the various tty structs/defines */
 #include <linux/interrupt.h>    /* For irqreturn_t type */
index 0556f48c15de66889cdd3d49c9df1b12d1db5581..51cda71400f86259f605ccb7148facb410472eed 100644 (file)
@@ -22,7 +22,6 @@
 
 
 #include <linux/kernel.h>
-#include <linux/version.h>
 #include <linux/module.h>
 #include <linux/pci.h>
 #include <linux/delay.h>       /* For udelay */
index fdf8dc357ce02077b3f05aa8bc0a2320412a46d6..565319f883cb5e31f1fb1863826b496f7edcee39 100644 (file)
@@ -39,7 +39,6 @@
  */
 
 #include <linux/kernel.h>
-#include <linux/version.h>
 #include <linux/sched.h>       /* For jiffies, task states */
 #include <linux/interrupt.h>   /* For tasklet and interrupt structs/defines */
 #include <linux/module.h>