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.
Compiles on x86. Tested on ppc64.
Please apply to -mm.
Signed-off-by: Matt Helsley <[email protected]>
--
Index: linux-2.6.17-rc2/drivers/connector/cn_proc.c
===================================================================
--- linux-2.6.17-rc2.orig/drivers/connector/cn_proc.c
+++ linux-2.6.17-rc2/drivers/connector/cn_proc.c
@@ -24,10 +24,11 @@
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/ktime.h>
#include <linux/init.h>
+#include <linux/connector.h>
#include <asm/atomic.h>
#include <linux/cn_proc.h>
#define CN_PROC_MSG_SIZE (sizeof(struct cn_msg) + sizeof(struct proc_event))
Index: linux-2.6.17-rc2/include/linux/cn_proc.h
===================================================================
--- linux-2.6.17-rc2.orig/include/linux/cn_proc.h
+++ linux-2.6.17-rc2/include/linux/cn_proc.h
@@ -24,12 +24,10 @@
#ifndef CN_PROC_H
#define CN_PROC_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
* for events on the connector.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]