summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLidza Louina <Lidza.Louina@gmail.com>2014-01-17 11:01:37 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-07 10:05:00 -0800
commitc34ca5a97bc3e90cab3af7e64c1c7c85302e6a09 (patch)
tree1de16c0dc528ac7ce858e31a602ca5e65e52ab9b
parent60914a1ad338922e1038a51b613916a7cbc21cb1 (diff)
staging: dgap: removes version.h dependency
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>
-rw-r--r--drivers/staging/dgap/dgap_driver.h1
-rw-r--r--drivers/staging/dgap/dgap_fep5.c1
-rw-r--r--drivers/staging/dgap/dgap_tty.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/dgap/dgap_driver.h b/drivers/staging/dgap/dgap_driver.h
index f0f0430f9206..9296adcb06c9 100644
--- a/drivers/staging/dgap/dgap_driver.h
+++ b/drivers/staging/dgap/dgap_driver.h
@@ -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 */
diff --git a/drivers/staging/dgap/dgap_fep5.c b/drivers/staging/dgap/dgap_fep5.c
index 0556f48c15de..51cda71400f8 100644
--- a/drivers/staging/dgap/dgap_fep5.c
+++ b/drivers/staging/dgap/dgap_fep5.c
@@ -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 */
diff --git a/drivers/staging/dgap/dgap_tty.c b/drivers/staging/dgap/dgap_tty.c
index fdf8dc357ce0..565319f883cb 100644
--- a/drivers/staging/dgap/dgap_tty.c
+++ b/drivers/staging/dgap/dgap_tty.c
@@ -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>