diff options
author | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 18:14:42 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-06 18:14:42 -0500 |
commit | 15fdc52f35b853e3fa550087987b5ee4ffbd199b (patch) | |
tree | 000d8934d1e68cbee764d402de00a69a34ff93ea /drivers | |
parent | 9090ed0b82f817bde471bdbb2e73278ab75f5fd3 (diff) |
[MTD] Tidy up Tims include cleanup
While we are at it, reorder the includes and
remove the silly /* TASK */ comment
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/mtdblock.c | 11 | ||||
-rw-r--r-- | drivers/mtd/mtdchar.c | 15 | ||||
-rw-r--r-- | drivers/mtd/mtdconcat.c | 9 |
3 files changed, 19 insertions, 16 deletions
diff --git a/drivers/mtd/mtdblock.c b/drivers/mtd/mtdblock.c index 400dd9c89883..bee8aba9e5bb 100644 --- a/drivers/mtd/mtdblock.c +++ b/drivers/mtd/mtdblock.c | |||
@@ -1,21 +1,22 @@ | |||
1 | /* | 1 | /* |
2 | * Direct MTD block device access | 2 | * Direct MTD block device access |
3 | * | 3 | * |
4 | * $Id: mtdblock.c,v 1.66 2004/11/25 13:52:52 joern Exp $ | 4 | * $Id: mtdblock.c,v 1.67 2005/11/06 10:04:37 gleixner Exp $ |
5 | * | 5 | * |
6 | * (C) 2000-2003 Nicolas Pitre <nico@cam.org> | 6 | * (C) 2000-2003 Nicolas Pitre <nico@cam.org> |
7 | * (C) 1999-2003 David Woodhouse <dwmw2@infradead.org> | 7 | * (C) 1999-2003 David Woodhouse <dwmw2@infradead.org> |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/config.h> | 10 | #include <linux/config.h> |
11 | #include <linux/types.h> | ||
12 | #include <linux/module.h> | ||
13 | #include <linux/kernel.h> | ||
14 | #include <linux/fs.h> | 11 | #include <linux/fs.h> |
15 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | #include <linux/kernel.h> | ||
14 | #include <linux/module.h> | ||
15 | #include <linux/sched.h> | ||
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <linux/types.h> | ||
17 | #include <linux/vmalloc.h> | 18 | #include <linux/vmalloc.h> |
18 | #include <linux/sched.h> /* TASK_* */ | 19 | |
19 | #include <linux/mtd/mtd.h> | 20 | #include <linux/mtd/mtd.h> |
20 | #include <linux/mtd/blktrans.h> | 21 | #include <linux/mtd/blktrans.h> |
21 | 22 | ||
diff --git a/drivers/mtd/mtdchar.c b/drivers/mtd/mtdchar.c index 8c0d94b72b63..d1ffd246ad55 100644 --- a/drivers/mtd/mtdchar.c +++ b/drivers/mtd/mtdchar.c | |||
@@ -1,22 +1,23 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: mtdchar.c,v 1.74 2005/08/04 01:05:48 tpoynor Exp $ | 2 | * $Id: mtdchar.c,v 1.75 2005/11/06 10:04:37 gleixner Exp $ |
3 | * | 3 | * |
4 | * Character-device access to raw MTD devices. | 4 | * Character-device access to raw MTD devices. |
5 | * | 5 | * |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/config.h> | 8 | #include <linux/config.h> |
9 | #include <linux/device.h> | ||
10 | #include <linux/fs.h> | ||
11 | #include <linux/init.h> | ||
9 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
10 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/slab.h> | ||
15 | #include <linux/sched.h> | ||
16 | |||
11 | #include <linux/mtd/mtd.h> | 17 | #include <linux/mtd/mtd.h> |
12 | #include <linux/mtd/compatmac.h> | 18 | #include <linux/mtd/compatmac.h> |
13 | #include <linux/slab.h> | ||
14 | #include <linux/init.h> | ||
15 | #include <linux/fs.h> | ||
16 | #include <linux/sched.h> /* TASK_* */ | ||
17 | #include <asm/uaccess.h> | ||
18 | 19 | ||
19 | #include <linux/device.h> | 20 | #include <asm/uaccess.h> |
20 | 21 | ||
21 | static struct class *mtd_class; | 22 | static struct class *mtd_class; |
22 | 23 | ||
diff --git a/drivers/mtd/mtdconcat.c b/drivers/mtd/mtdconcat.c index f3e65af33a9c..eaaafb1de625 100644 --- a/drivers/mtd/mtdconcat.c +++ b/drivers/mtd/mtdconcat.c | |||
@@ -7,14 +7,15 @@ | |||
7 | * | 7 | * |
8 | * This code is GPL | 8 | * This code is GPL |
9 | * | 9 | * |
10 | * $Id: mtdconcat.c,v 1.9 2004/06/30 15:17:41 dbrown Exp $ | 10 | * $Id: mtdconcat.c,v 1.10 2005/11/06 10:04:37 gleixner Exp $ |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/module.h> | ||
14 | #include <linux/types.h> | ||
15 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/module.h> | ||
16 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
17 | #include <linux/sched.h> /* TASK_* */ | 16 | #include <linux/sched.h> |
17 | #include <linux/types.h> | ||
18 | |||
18 | #include <linux/mtd/mtd.h> | 19 | #include <linux/mtd/mtd.h> |
19 | #include <linux/mtd/concat.h> | 20 | #include <linux/mtd/concat.h> |
20 | 21 | ||