From 510c72a3cf51c9463db64eb6c21347f4940a202f Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 18 Aug 2011 20:08:29 +0100 Subject: [PATCH] um: take chan_*.h and line.h to arch/um/drivers Signed-off-by: Al Viro Signed-off-by: Richard Weinberger --- arch/um/{include/shared/chan_kern.h => drivers/chan.h} | 6 +++--- arch/um/drivers/chan_kern.c | 2 +- arch/um/{include/shared => drivers}/chan_user.h | 0 arch/um/drivers/line.c | 2 +- arch/um/{include/shared => drivers}/line.h | 0 arch/um/drivers/ssl.c | 3 +-- arch/um/drivers/stdio_console.c | 3 +-- arch/um/os-Linux/skas/process.c | 2 +- 8 files changed, 8 insertions(+), 10 deletions(-) rename arch/um/{include/shared/chan_kern.h => drivers/chan.h} (95%) rename arch/um/{include/shared => drivers}/chan_user.h (100%) rename arch/um/{include/shared => drivers}/line.h (100%) diff --git a/arch/um/include/shared/chan_kern.h b/arch/um/drivers/chan.h similarity index 95% rename from arch/um/include/shared/chan_kern.h rename to arch/um/drivers/chan.h index 1e651457e049..8df0fd9024dc 100644 --- a/arch/um/include/shared/chan_kern.h +++ b/arch/um/drivers/chan.h @@ -6,9 +6,9 @@ #ifndef __CHAN_KERN_H__ #define __CHAN_KERN_H__ -#include "linux/tty.h" -#include "linux/list.h" -#include "linux/console.h" +#include +#include +#include #include "chan_user.h" #include "line.h" diff --git a/arch/um/drivers/chan_kern.c b/arch/um/drivers/chan_kern.c index d4191fe1cede..e0406832df89 100644 --- a/arch/um/drivers/chan_kern.c +++ b/arch/um/drivers/chan_kern.c @@ -6,7 +6,7 @@ #include #include #include -#include "chan_kern.h" +#include "chan.h" #include "os.h" #ifdef CONFIG_NOCONFIG_CHAN diff --git a/arch/um/include/shared/chan_user.h b/arch/um/drivers/chan_user.h similarity index 100% rename from arch/um/include/shared/chan_user.h rename to arch/um/drivers/chan_user.h diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c index 364c8a15c4c3..c1cf2206b84b 100644 --- a/arch/um/drivers/line.c +++ b/arch/um/drivers/line.c @@ -7,7 +7,7 @@ #include "linux/kd.h" #include "linux/sched.h" #include "linux/slab.h" -#include "chan_kern.h" +#include "chan.h" #include "irq_kern.h" #include "irq_user.h" #include "kern_util.h" diff --git a/arch/um/include/shared/line.h b/arch/um/drivers/line.h similarity index 100% rename from arch/um/include/shared/line.h rename to arch/um/drivers/line.h diff --git a/arch/um/drivers/ssl.c b/arch/um/drivers/ssl.c index 678e205adf29..9d8c20af6f80 100644 --- a/arch/um/drivers/ssl.c +++ b/arch/um/drivers/ssl.c @@ -12,9 +12,8 @@ #include "linux/console.h" #include "asm/termbits.h" #include "asm/irq.h" -#include "line.h" #include "ssl.h" -#include "chan_kern.h" +#include "chan.h" #include "init.h" #include "irq_user.h" #include "mconsole_kern.h" diff --git a/arch/um/drivers/stdio_console.c b/arch/um/drivers/stdio_console.c index 49266f6108c4..088776f01908 100644 --- a/arch/um/drivers/stdio_console.c +++ b/arch/um/drivers/stdio_console.c @@ -20,8 +20,7 @@ #include "asm/current.h" #include "asm/irq.h" #include "stdio_console.h" -#include "line.h" -#include "chan_kern.h" +#include "chan.h" #include "irq_user.h" #include "mconsole_kern.h" #include "init.h" diff --git a/arch/um/os-Linux/skas/process.c b/arch/um/os-Linux/skas/process.c index 29e4ab7eb369..6c34f14708a9 100644 --- a/arch/um/os-Linux/skas/process.c +++ b/arch/um/os-Linux/skas/process.c @@ -13,7 +13,7 @@ #include #include #include "as-layout.h" -#include "chan_user.h" +#include "init.h" #include "kern_util.h" #include "mem.h" #include "os.h" -- 2.30.2