[PATCH] drivers/scsi/dpt*: remove version.h dependencies

This patch removes version.h dependencies.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Adrian Bunk and committed by Linus Torvalds a4cd16e2 a1ae13a4

+3 -16
+3 -4
drivers/scsi/dpt_i2o.c
··· 34 34 35 35 #define ADDR32 (0) 36 36 37 - #include <linux/version.h> 38 37 #include <linux/module.h> 39 38 40 39 MODULE_AUTHOR("Deanna Bonds, with _lots_ of help from Mark Salyzyn"); ··· 1810 1811 memset(&si, 0, sizeof(si)); 1811 1812 1812 1813 si.osType = OS_LINUX; 1813 - si.osMajorVersion = (u8) (LINUX_VERSION_CODE >> 16); 1814 - si.osMinorVersion = (u8) (LINUX_VERSION_CODE >> 8 & 0x0ff); 1815 - si.osRevision = (u8) (LINUX_VERSION_CODE & 0x0ff); 1814 + si.osMajorVersion = 0; 1815 + si.osMinorVersion = 0; 1816 + si.osRevision = 0; 1816 1817 si.busType = SI_PCI_BUS; 1817 1818 si.processorFamily = DPTI_sig.dsProcessorFamily; 1818 1819
-12
drivers/scsi/dpti.h
··· 20 20 #ifndef _DPT_H 21 21 #define _DPT_H 22 22 23 - #ifndef LINUX_VERSION_CODE 24 - #include <linux/version.h> 25 - #endif 26 - 27 - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,00) 28 - #define MAX_TO_IOP_MESSAGES (210) 29 - #else 30 23 #define MAX_TO_IOP_MESSAGES (255) 31 - #endif 32 24 #define MAX_FROM_IOP_MESSAGES (255) 33 25 34 26 ··· 311 319 312 320 #ifdef UARTDELAY 313 321 static void adpt_delay(int millisec); 314 - #endif 315 - 316 - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) 317 - static struct pci_dev* adpt_pci_find_device(uint vendor, struct pci_dev* from); 318 322 #endif 319 323 320 324 #if defined __ia64__