Browse Source

[PATCH] Process Events - Header Cleanup

Move connector header include to precisely where it's needed.

Remove unused time.h header file as well.  This was leftover from previous
iterations of the process events patches.

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Cc: Guillaume Thouvenin <guillaume.thouvenin@bull.net>
Cc: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Matt Helsley 19 years ago
parent
commit
1d31a4ea8c
2 changed files with 1 additions and 2 deletions
  1. 1 0
      drivers/connector/cn_proc.c
  2. 0 2
      include/linux/cn_proc.h

+ 1 - 0
drivers/connector/cn_proc.c

@@ -26,6 +26,7 @@
 #include <linux/kernel.h>
 #include <linux/kernel.h>
 #include <linux/ktime.h>
 #include <linux/ktime.h>
 #include <linux/init.h>
 #include <linux/init.h>
+#include <linux/connector.h>
 #include <asm/atomic.h>
 #include <asm/atomic.h>
 
 
 #include <linux/cn_proc.h>
 #include <linux/cn_proc.h>

+ 0 - 2
include/linux/cn_proc.h

@@ -26,8 +26,6 @@
 #define CN_PROC_H
 #define CN_PROC_H
 
 
 #include <linux/types.h>
 #include <linux/types.h>
-#include <linux/time.h>
-#include <linux/connector.h>
 
 
 /*
 /*
  * Userspace sends this enum to register with the kernel that it is listening
  * Userspace sends this enum to register with the kernel that it is listening