staging: nvec: Add missing includes and reorder them
authorJulian Andres Klode <jak@jak-linux.org>
Tue, 27 Sep 2011 17:01:06 +0000 (19:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Sep 2011 00:41:39 +0000 (17:41 -0700)
Add the includes that are currently missing in nvec.h
and nvec.c and reorder them alphabetically.

Signed-off-by: Julian Andres Klode <jak@jak-linux.org>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/nvec/nvec.c
drivers/staging/nvec/nvec.h

index a80f9935a3e14d5225ef183de295304d5f4959fd..89153446b3743260f2ff1389b5e9b08a80a351fc 100644 (file)
 
 /* #define DEBUG */
 
-#include <asm/irq.h>
-
+#include <linux/kernel.h>
 #include <linux/atomic.h>
+#include <linux/clk.h>
 #include <linux/completion.h>
+#include <linux/delay.h>
+#include <linux/err.h>
+#include <linux/gpio.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>
 #include <linux/irq.h>
-#include <linux/slab.h>
-#include <linux/gpio.h>
-#include <linux/serio.h>
-#include <linux/delay.h>
-#include <linux/input.h>
-#include <linux/workqueue.h>
-#include <linux/clk.h>
-
-#include <linux/semaphore.h>
 #include <linux/list.h>
+#include <linux/mfd/core.h>
+#include <linux/mutex.h>
 #include <linux/notifier.h>
 #include <linux/platform_device.h>
-#include <linux/mfd/core.h>
+#include <linux/slab.h>
+#include <linux/spinlock.h>
+#include <linux/workqueue.h>
 
-#include <mach/iomap.h>
 #include <mach/clk.h>
+#include <mach/iomap.h>
 
 #include "nvec.h"
 
index f8ffe0002d1f926a4e884fde30b173335c40a61f..a4c17b0e10cf44a4a87236b3103ddb7de009a630 100644 (file)
 #define __LINUX_MFD_NVEC
 
 #include <linux/atomic.h>
+#include <linux/clk.h>
+#include <linux/completion.h>
+#include <linux/list.h>
+#include <linux/mutex.h>
 #include <linux/notifier.h>
-#include <linux/semaphore.h>
+#include <linux/spinlock.h>
+#include <linux/workqueue.h>
 
 /* NVEC_POOL_SIZE - Size of the pool in &struct nvec_msg */
 #define NVEC_POOL_SIZE 64