Commit 5d974797 authored by Randy Dunlap's avatar Randy Dunlap Committed by James Bottomley

[PATCH] janitor: cleanup includes in dpt_i2o

From: Randy Hron <rwhron@earthlink.net>

Remove doubled #includes.
Add linux/version.h

 linux-260-t5bk12-kj-rddunlap/drivers/scsi/dpt/dpti_i2o.h |    7 +------
 1 files changed, 1 insertion(+), 6 deletions(-)
parent 42483262
......@@ -22,6 +22,7 @@
#include <linux/i2o-dev.h>
#include <asm/semaphore.h> /* Needed for MUTEX init macros */
#include <linux/version.h>
#include <linux/config.h>
#include <linux/notifier.h>
#include <asm/atomic.h>
......@@ -43,16 +44,10 @@
#define I2O_MAX_MANAGERS 4
#include <asm/semaphore.h> /* Needed for MUTEX init macros */
/*
* I2O Interface Objects
*/
#include <linux/config.h>
#include <linux/notifier.h>
#include <asm/atomic.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
#define DECLARE_MUTEX(name) struct semaphore name=MUTEX
......
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