Add the includes that are currently missing in nvec.h and nvec.c and reorder them alphabetically. Signed-off-by: Julian Andres Klode <jak@xxxxxxxxxxxxx> --- drivers/staging/nvec/nvec.c | 24 +++++++++++------------- drivers/staging/nvec/nvec.h | 7 ++++++- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c index 77e2d8f..a9cfccc 100644 --- a/drivers/staging/nvec/nvec.c +++ b/drivers/staging/nvec/nvec.c @@ -16,29 +16,27 @@ /* #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" diff --git a/drivers/staging/nvec/nvec.h b/drivers/staging/nvec/nvec.h index f128779..16ec971 100644 --- a/drivers/staging/nvec/nvec.h +++ b/drivers/staging/nvec/nvec.h @@ -18,8 +18,13 @@ #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 -- 1.7.5.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel