mirror of https://gitee.com/openkylin/linux.git
[PATCH] Serial: Remove linux/version.h
changing CONFIG_LOCALVERSION rebuilds too much, for no appearent reason. Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
661f83a67c
commit
6d283d2716
|
@ -426,8 +426,6 @@
|
||||||
static char *serial_version = "$Revision: 1.25 $";
|
static char *serial_version = "$Revision: 1.25 $";
|
||||||
|
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <linux/version.h>
|
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
#include <linux/signal.h>
|
#include <linux/signal.h>
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#define SERIAL_DO_RESTART
|
#define SERIAL_DO_RESTART
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
#include <linux/signal.h>
|
#include <linux/signal.h>
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
#define __JSM_DRIVER_H
|
#define __JSM_DRIVER_H
|
||||||
|
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/types.h> /* To pick up the varions Linux types */
|
#include <linux/types.h> /* To pick up the varions Linux types */
|
||||||
#include <linux/tty.h>
|
#include <linux/tty.h>
|
||||||
#include <linux/serial_core.h>
|
#include <linux/serial_core.h>
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
* For definitions of the flags field, see tty.h
|
* For definitions of the flags field, see tty.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/version.h>
|
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#include <linux/termios.h>
|
#include <linux/termios.h>
|
||||||
#include <linux/workqueue.h>
|
#include <linux/workqueue.h>
|
||||||
|
|
Loading…
Reference in New Issue