Commit 15fdc52f authored by Thomas Gleixner's avatar Thomas Gleixner

[MTD] Tidy up Tims include cleanup

While we are at it, reorder the includes and
remove the silly /* TASK */ comment
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 9090ed0b
/* /*
* Direct MTD block device access * Direct MTD block device access
* *
* $Id: mtdblock.c,v 1.66 2004/11/25 13:52:52 joern Exp $ * $Id: mtdblock.c,v 1.67 2005/11/06 10:04:37 gleixner Exp $
* *
* (C) 2000-2003 Nicolas Pitre <nico@cam.org> * (C) 2000-2003 Nicolas Pitre <nico@cam.org>
* (C) 1999-2003 David Woodhouse <dwmw2@infradead.org> * (C) 1999-2003 David Woodhouse <dwmw2@infradead.org>
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/types.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/sched.h> /* TASK_* */
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
#include <linux/mtd/blktrans.h> #include <linux/mtd/blktrans.h>
......
/* /*
* $Id: mtdchar.c,v 1.74 2005/08/04 01:05:48 tpoynor Exp $ * $Id: mtdchar.c,v 1.75 2005/11/06 10:04:37 gleixner Exp $
* *
* Character-device access to raw MTD devices. * Character-device access to raw MTD devices.
* *
*/ */
#include <linux/config.h> #include <linux/config.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/init.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
#include <linux/mtd/compatmac.h> #include <linux/mtd/compatmac.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/sched.h> /* TASK_* */
#include <asm/uaccess.h>
#include <linux/device.h> #include <asm/uaccess.h>
static struct class *mtd_class; static struct class *mtd_class;
......
...@@ -7,14 +7,15 @@ ...@@ -7,14 +7,15 @@
* *
* This code is GPL * This code is GPL
* *
* $Id: mtdconcat.c,v 1.9 2004/06/30 15:17:41 dbrown Exp $ * $Id: mtdconcat.c,v 1.10 2005/11/06 10:04:37 gleixner Exp $
*/ */
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/sched.h> /* TASK_* */ #include <linux/sched.h>
#include <linux/types.h>
#include <linux/mtd/mtd.h> #include <linux/mtd/mtd.h>
#include <linux/mtd/concat.h> #include <linux/mtd/concat.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment