diff options
Diffstat (limited to 'include/linux/i2o-dev.h')
-rw-r--r-- | include/linux/i2o-dev.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/linux/i2o-dev.h b/include/linux/i2o-dev.h index ef7f644dd873..3414325bdcfd 100644 --- a/include/linux/i2o-dev.h +++ b/include/linux/i2o-dev.h | |||
@@ -24,6 +24,14 @@ | |||
24 | #define MAX_I2O_CONTROLLERS 32 | 24 | #define MAX_I2O_CONTROLLERS 32 |
25 | 25 | ||
26 | //#include <linux/ioctl.h> | 26 | //#include <linux/ioctl.h> |
27 | #ifndef __KERNEL__ | ||
28 | |||
29 | typedef unsigned char u8; | ||
30 | typedef unsigned short u16; | ||
31 | typedef unsigned int u32; | ||
32 | |||
33 | #endif /* __KERNEL__ */ | ||
34 | |||
27 | 35 | ||
28 | /* | 36 | /* |
29 | * I2O Control IOCTLs and structures | 37 | * I2O Control IOCTLs and structures |
@@ -126,14 +134,6 @@ struct i2o_evt_get { | |||
126 | #define I2O_BUS_CARDBUS 7 | 134 | #define I2O_BUS_CARDBUS 7 |
127 | #define I2O_BUS_UNKNOWN 0x80 | 135 | #define I2O_BUS_UNKNOWN 0x80 |
128 | 136 | ||
129 | #ifndef __KERNEL__ | ||
130 | |||
131 | typedef unsigned char u8; | ||
132 | typedef unsigned short u16; | ||
133 | typedef unsigned int u32; | ||
134 | |||
135 | #endif /* __KERNEL__ */ | ||
136 | |||
137 | typedef struct _i2o_pci_bus { | 137 | typedef struct _i2o_pci_bus { |
138 | u8 PciFunctionNumber; | 138 | u8 PciFunctionNumber; |
139 | u8 PciDeviceNumber; | 139 | u8 PciDeviceNumber; |