From: Lidza Louina Date: Fri, 17 Jan 2014 16:01:37 +0000 (-0500) Subject: staging: dgap: removes version.h dependency X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c34ca5a97bc3e90cab3af7e64c1c7c85302e6a09;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 /* To get the current Linux version */ #include /* To pick up the varions Linux types */ #include /* To pick up the various tty structs/defines */ #include /* 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 -#include #include #include #include /* 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 -#include #include /* For jiffies, task states */ #include /* For tasklet and interrupt structs/defines */ #include