diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-orion5x/io.h | 9 | ||||
-rw-r--r-- | include/asm-arm/arch-pxa/irqs.h | 5 | ||||
-rw-r--r-- | include/asm-arm/arch-pxa/magician.h | 49 | ||||
-rw-r--r-- | include/asm-arm/arch-pxa/system.h | 2 | ||||
-rw-r--r-- | include/asm-arm/page.h | 8 | ||||
-rw-r--r-- | include/linux/i2c-id.h | 3 | ||||
-rw-r--r-- | include/linux/i2c.h | 17 | ||||
-rw-r--r-- | include/linux/libata.h | 12 | ||||
-rw-r--r-- | include/linux/mlx4/device.h | 3 | ||||
-rw-r--r-- | include/linux/mod_devicetable.h | 11 | ||||
-rw-r--r-- | include/media/v4l2-chip-ident.h | 1 | ||||
-rw-r--r-- | include/media/v4l2-common.h | 4 | ||||
-rw-r--r-- | include/media/v4l2-i2c-drv-legacy.h | 2 | ||||
-rw-r--r-- | include/media/v4l2-i2c-drv.h | 2 | ||||
-rw-r--r-- | include/scsi/libiscsi.h | 1 |
15 files changed, 52 insertions, 77 deletions
diff --git a/include/asm-arm/arch-orion5x/io.h b/include/asm-arm/arch-orion5x/io.h index 5148ab7ad1f8..50f8c8802206 100644 --- a/include/asm-arm/arch-orion5x/io.h +++ b/include/asm-arm/arch-orion5x/io.h | |||
@@ -20,11 +20,10 @@ static inline void __iomem * | |||
20 | __arch_ioremap(unsigned long paddr, size_t size, unsigned int mtype) | 20 | __arch_ioremap(unsigned long paddr, size_t size, unsigned int mtype) |
21 | { | 21 | { |
22 | void __iomem *retval; | 22 | void __iomem *retval; |
23 | 23 | unsigned long offs = paddr - ORION5X_REGS_PHYS_BASE; | |
24 | if (mtype == MT_DEVICE && size && paddr >= ORION5X_REGS_PHYS_BASE && | 24 | if (mtype == MT_DEVICE && size && offs < ORION5X_REGS_SIZE && |
25 | paddr + size <= ORION5X_REGS_PHYS_BASE + ORION5X_REGS_SIZE) { | 25 | size <= ORION5X_REGS_SIZE && offs + size <= ORION5X_REGS_SIZE) { |
26 | retval = (void __iomem *)ORION5X_REGS_VIRT_BASE + | 26 | retval = (void __iomem *)ORION5X_REGS_VIRT_BASE + offs; |
27 | (paddr - ORION5X_REGS_PHYS_BASE); | ||
28 | } else { | 27 | } else { |
29 | retval = __arm_ioremap(paddr, size, mtype); | 28 | retval = __arm_ioremap(paddr, size, mtype); |
30 | } | 29 | } |
diff --git a/include/asm-arm/arch-pxa/irqs.h b/include/asm-arm/arch-pxa/irqs.h index 50c77eacbd5e..b6c8fe377683 100644 --- a/include/asm-arm/arch-pxa/irqs.h +++ b/include/asm-arm/arch-pxa/irqs.h | |||
@@ -239,7 +239,7 @@ | |||
239 | /* ITE8152 irqs */ | 239 | /* ITE8152 irqs */ |
240 | /* add IT8152 IRQs beyond BOARD_END */ | 240 | /* add IT8152 IRQs beyond BOARD_END */ |
241 | #ifdef CONFIG_PCI_HOST_ITE8152 | 241 | #ifdef CONFIG_PCI_HOST_ITE8152 |
242 | #define IT8152_IRQ(x) (IRQ_GPIO(IRQ_BOARD_END) + 1 + (x)) | 242 | #define IT8152_IRQ(x) (IRQ_BOARD_END + (x)) |
243 | 243 | ||
244 | /* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */ | 244 | /* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */ |
245 | #define IT8152_LD_IRQ_COUNT 9 | 245 | #define IT8152_LD_IRQ_COUNT 9 |
@@ -253,6 +253,9 @@ | |||
253 | 253 | ||
254 | #define IT8152_LAST_IRQ IT8152_LD_IRQ(IT8152_LD_IRQ_COUNT - 1) | 254 | #define IT8152_LAST_IRQ IT8152_LD_IRQ(IT8152_LD_IRQ_COUNT - 1) |
255 | 255 | ||
256 | #if NR_IRQS < (IT8152_LAST_IRQ+1) | ||
256 | #undef NR_IRQS | 257 | #undef NR_IRQS |
257 | #define NR_IRQS (IT8152_LAST_IRQ+1) | 258 | #define NR_IRQS (IT8152_LAST_IRQ+1) |
258 | #endif | 259 | #endif |
260 | |||
261 | #endif /* CONFIG_PCI_HOST_ITE8152 */ | ||
diff --git a/include/asm-arm/arch-pxa/magician.h b/include/asm-arm/arch-pxa/magician.h index b34fd5683e2d..169b374f9921 100644 --- a/include/asm-arm/arch-pxa/magician.h +++ b/include/asm-arm/arch-pxa/magician.h | |||
@@ -13,7 +13,6 @@ | |||
13 | #define _MAGICIAN_H_ | 13 | #define _MAGICIAN_H_ |
14 | 14 | ||
15 | #include <asm/arch/irqs.h> | 15 | #include <asm/arch/irqs.h> |
16 | #include <asm/arch/pxa2xx-gpio.h> | ||
17 | 16 | ||
18 | /* | 17 | /* |
19 | * PXA GPIOs | 18 | * PXA GPIOs |
@@ -64,54 +63,6 @@ | |||
64 | #define GPIO120_MAGICIAN_UNKNOWN 120 | 63 | #define GPIO120_MAGICIAN_UNKNOWN 120 |
65 | 64 | ||
66 | /* | 65 | /* |
67 | * PXA GPIO alternate function mode & direction | ||
68 | */ | ||
69 | |||
70 | #define GPIO0_MAGICIAN_KEY_POWER_MD (0 | GPIO_IN) | ||
71 | #define GPIO9_MAGICIAN_UNKNOWN_MD (9 | GPIO_IN) | ||
72 | #define GPIO10_MAGICIAN_GSM_IRQ_MD (10 | GPIO_IN) | ||
73 | #define GPIO11_MAGICIAN_GSM_OUT1_MD (11 | GPIO_OUT) | ||
74 | #define GPIO13_MAGICIAN_CPLD_IRQ_MD (13 | GPIO_IN) | ||
75 | #define GPIO18_MAGICIAN_UNKNOWN_MD (18 | GPIO_OUT) | ||
76 | #define GPIO22_MAGICIAN_VIBRA_EN_MD (22 | GPIO_OUT) | ||
77 | #define GPIO26_MAGICIAN_GSM_POWER_MD (26 | GPIO_OUT) | ||
78 | #define GPIO27_MAGICIAN_USBC_PUEN_MD (27 | GPIO_OUT) | ||
79 | #define GPIO30_MAGICIAN_nCHARGE_EN_MD (30 | GPIO_OUT) | ||
80 | #define GPIO37_MAGICIAN_KEY_HANGUP_MD (37 | GPIO_OUT) | ||
81 | #define GPIO38_MAGICIAN_KEY_CONTACTS_MD (38 | GPIO_OUT) | ||
82 | #define GPIO40_MAGICIAN_GSM_OUT2_MD (40 | GPIO_OUT) | ||
83 | #define GPIO48_MAGICIAN_UNKNOWN_MD (48 | GPIO_OUT) | ||
84 | #define GPIO56_MAGICIAN_UNKNOWN_MD (56 | GPIO_OUT) | ||
85 | #define GPIO57_MAGICIAN_CAM_RESET_MD (57 | GPIO_OUT) | ||
86 | #define GPIO75_MAGICIAN_SAMSUNG_POWER_MD (75 | GPIO_OUT) | ||
87 | #define GPIO83_MAGICIAN_nIR_EN_MD (83 | GPIO_OUT) | ||
88 | #define GPIO86_MAGICIAN_GSM_RESET_MD (86 | GPIO_OUT) | ||
89 | #define GPIO87_MAGICIAN_GSM_SELECT_MD (87 | GPIO_OUT) | ||
90 | #define GPIO90_MAGICIAN_KEY_CALENDAR_MD (90 | GPIO_OUT) | ||
91 | #define GPIO91_MAGICIAN_KEY_CAMERA_MD (91 | GPIO_OUT) | ||
92 | #define GPIO93_MAGICIAN_KEY_UP_MD (93 | GPIO_IN) | ||
93 | #define GPIO94_MAGICIAN_KEY_DOWN_MD (94 | GPIO_IN) | ||
94 | #define GPIO95_MAGICIAN_KEY_LEFT_MD (95 | GPIO_IN) | ||
95 | #define GPIO96_MAGICIAN_KEY_RIGHT_MD (96 | GPIO_IN) | ||
96 | #define GPIO97_MAGICIAN_KEY_ENTER_MD (97 | GPIO_IN) | ||
97 | #define GPIO98_MAGICIAN_KEY_RECORD_MD (98 | GPIO_IN) | ||
98 | #define GPIO99_MAGICIAN_HEADPHONE_IN_MD (99 | GPIO_IN) | ||
99 | #define GPIO100_MAGICIAN_KEY_VOL_UP_MD (100 | GPIO_IN) | ||
100 | #define GPIO101_MAGICIAN_KEY_VOL_DOWN_MD (101 | GPIO_IN) | ||
101 | #define GPIO102_MAGICIAN_KEY_PHONE_MD (102 | GPIO_IN) | ||
102 | #define GPIO103_MAGICIAN_LED_KP_MD (103 | GPIO_OUT) | ||
103 | #define GPIO104_MAGICIAN_LCD_POWER_1_MD (104 | GPIO_OUT) | ||
104 | #define GPIO105_MAGICIAN_LCD_POWER_2_MD (105 | GPIO_OUT) | ||
105 | #define GPIO106_MAGICIAN_LCD_POWER_3_MD (106 | GPIO_OUT) | ||
106 | #define GPIO107_MAGICIAN_DS1WM_IRQ_MD (107 | GPIO_IN) | ||
107 | #define GPIO108_MAGICIAN_GSM_READY_MD (108 | GPIO_IN) | ||
108 | #define GPIO114_MAGICIAN_UNKNOWN_MD (114 | GPIO_OUT) | ||
109 | #define GPIO115_MAGICIAN_nPEN_IRQ_MD (115 | GPIO_IN) | ||
110 | #define GPIO116_MAGICIAN_nCAM_EN_MD (116 | GPIO_OUT) | ||
111 | #define GPIO119_MAGICIAN_UNKNOWN_MD (119 | GPIO_OUT) | ||
112 | #define GPIO120_MAGICIAN_UNKNOWN_MD (120 | GPIO_OUT) | ||
113 | |||
114 | /* | ||
115 | * CPLD IRQs | 66 | * CPLD IRQs |
116 | */ | 67 | */ |
117 | 68 | ||
diff --git a/include/asm-arm/arch-pxa/system.h b/include/asm-arm/arch-pxa/system.h index 1d56a3ef89fd..a758a719180f 100644 --- a/include/asm-arm/arch-pxa/system.h +++ b/include/asm-arm/arch-pxa/system.h | |||
@@ -22,6 +22,8 @@ static inline void arch_idle(void) | |||
22 | 22 | ||
23 | static inline void arch_reset(char mode) | 23 | static inline void arch_reset(char mode) |
24 | { | 24 | { |
25 | RCSR = RCSR_HWR | RCSR_WDR | RCSR_SMR | RCSR_GPR; | ||
26 | |||
25 | if (mode == 's') { | 27 | if (mode == 's') { |
26 | /* Jump into ROM at address 0 */ | 28 | /* Jump into ROM at address 0 */ |
27 | cpu_reset(0); | 29 | cpu_reset(0); |
diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h index c86f68ee6511..5c22b0112106 100644 --- a/include/asm-arm/page.h +++ b/include/asm-arm/page.h | |||
@@ -71,6 +71,14 @@ | |||
71 | # endif | 71 | # endif |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #ifdef CONFIG_CPU_COPY_FEROCEON | ||
75 | # ifdef _USER | ||
76 | # define MULTI_USER 1 | ||
77 | # else | ||
78 | # define _USER feroceon | ||
79 | # endif | ||
80 | #endif | ||
81 | |||
74 | #ifdef CONFIG_CPU_SA1100 | 82 | #ifdef CONFIG_CPU_SA1100 |
75 | # ifdef _USER | 83 | # ifdef _USER |
76 | # define MULTI_USER 1 | 84 | # define MULTI_USER 1 |
diff --git a/include/linux/i2c-id.h b/include/linux/i2c-id.h index 32eb8bbe4831..580acc93903e 100644 --- a/include/linux/i2c-id.h +++ b/include/linux/i2c-id.h | |||
@@ -79,12 +79,9 @@ | |||
79 | #define I2C_DRIVERID_UPD64031A 79 /* upd64031a video processor */ | 79 | #define I2C_DRIVERID_UPD64031A 79 /* upd64031a video processor */ |
80 | #define I2C_DRIVERID_SAA717X 80 /* saa717x video encoder */ | 80 | #define I2C_DRIVERID_SAA717X 80 /* saa717x video encoder */ |
81 | #define I2C_DRIVERID_DS1672 81 /* Dallas/Maxim DS1672 RTC */ | 81 | #define I2C_DRIVERID_DS1672 81 /* Dallas/Maxim DS1672 RTC */ |
82 | #define I2C_DRIVERID_X1205 82 /* Xicor/Intersil X1205 RTC */ | ||
83 | #define I2C_DRIVERID_PCF8563 83 /* Philips PCF8563 RTC */ | ||
84 | #define I2C_DRIVERID_BT866 85 /* Conexant bt866 video encoder */ | 82 | #define I2C_DRIVERID_BT866 85 /* Conexant bt866 video encoder */ |
85 | #define I2C_DRIVERID_KS0127 86 /* Samsung ks0127 video decoder */ | 83 | #define I2C_DRIVERID_KS0127 86 /* Samsung ks0127 video decoder */ |
86 | #define I2C_DRIVERID_TLV320AIC23B 87 /* TI TLV320AIC23B audio codec */ | 84 | #define I2C_DRIVERID_TLV320AIC23B 87 /* TI TLV320AIC23B audio codec */ |
87 | #define I2C_DRIVERID_ISL1208 88 /* Intersil ISL1208 RTC */ | ||
88 | #define I2C_DRIVERID_WM8731 89 /* Wolfson WM8731 audio codec */ | 85 | #define I2C_DRIVERID_WM8731 89 /* Wolfson WM8731 audio codec */ |
89 | #define I2C_DRIVERID_WM8750 90 /* Wolfson WM8750 audio codec */ | 86 | #define I2C_DRIVERID_WM8750 90 /* Wolfson WM8750 audio codec */ |
90 | #define I2C_DRIVERID_WM8753 91 /* Wolfson WM8753 audio codec */ | 87 | #define I2C_DRIVERID_WM8753 91 /* Wolfson WM8753 audio codec */ |
diff --git a/include/linux/i2c.h b/include/linux/i2c.h index 365e0df3646b..cb63da5c2139 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h | |||
@@ -126,7 +126,7 @@ struct i2c_driver { | |||
126 | * With the driver model, device enumeration is NEVER done by drivers; | 126 | * With the driver model, device enumeration is NEVER done by drivers; |
127 | * it's done by infrastructure. (NEW STYLE DRIVERS ONLY) | 127 | * it's done by infrastructure. (NEW STYLE DRIVERS ONLY) |
128 | */ | 128 | */ |
129 | int (*probe)(struct i2c_client *); | 129 | int (*probe)(struct i2c_client *, const struct i2c_device_id *); |
130 | int (*remove)(struct i2c_client *); | 130 | int (*remove)(struct i2c_client *); |
131 | 131 | ||
132 | /* driver model interfaces that don't relate to enumeration */ | 132 | /* driver model interfaces that don't relate to enumeration */ |
@@ -140,11 +140,10 @@ struct i2c_driver { | |||
140 | int (*command)(struct i2c_client *client,unsigned int cmd, void *arg); | 140 | int (*command)(struct i2c_client *client,unsigned int cmd, void *arg); |
141 | 141 | ||
142 | struct device_driver driver; | 142 | struct device_driver driver; |
143 | const struct i2c_device_id *id_table; | ||
143 | }; | 144 | }; |
144 | #define to_i2c_driver(d) container_of(d, struct i2c_driver, driver) | 145 | #define to_i2c_driver(d) container_of(d, struct i2c_driver, driver) |
145 | 146 | ||
146 | #define I2C_NAME_SIZE 20 | ||
147 | |||
148 | /** | 147 | /** |
149 | * struct i2c_client - represent an I2C slave device | 148 | * struct i2c_client - represent an I2C slave device |
150 | * @flags: I2C_CLIENT_TEN indicates the device uses a ten bit chip address; | 149 | * @flags: I2C_CLIENT_TEN indicates the device uses a ten bit chip address; |
@@ -230,17 +229,17 @@ struct i2c_board_info { | |||
230 | }; | 229 | }; |
231 | 230 | ||
232 | /** | 231 | /** |
233 | * I2C_BOARD_INFO - macro used to list an i2c device and its driver | 232 | * I2C_BOARD_INFO - macro used to list an i2c device and its address |
234 | * @driver: identifies the driver to use with the device | 233 | * @dev_type: identifies the device type |
235 | * @dev_addr: the device's address on the bus. | 234 | * @dev_addr: the device's address on the bus. |
236 | * | 235 | * |
237 | * This macro initializes essential fields of a struct i2c_board_info, | 236 | * This macro initializes essential fields of a struct i2c_board_info, |
238 | * declaring what has been provided on a particular board. Optional | 237 | * declaring what has been provided on a particular board. Optional |
239 | * fields (such as the chip type, its associated irq, or device-specific | 238 | * fields (such as associated irq, or device-specific platform_data) |
240 | * platform_data) are provided using conventional syntax. | 239 | * are provided using conventional syntax. |
241 | */ | 240 | */ |
242 | #define I2C_BOARD_INFO(driver,dev_addr) \ | 241 | #define I2C_BOARD_INFO(dev_type,dev_addr) \ |
243 | .driver_name = (driver), .addr = (dev_addr) | 242 | .type = (dev_type), .addr = (dev_addr) |
244 | 243 | ||
245 | 244 | ||
246 | /* Add-on boards should register/unregister their devices; e.g. a board | 245 | /* Add-on boards should register/unregister their devices; e.g. a board |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 395a523d8c30..d1dfe872ee30 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -548,11 +548,6 @@ struct ata_device { | |||
548 | u64 n_sectors; /* size of device, if ATA */ | 548 | u64 n_sectors; /* size of device, if ATA */ |
549 | unsigned int class; /* ATA_DEV_xxx */ | 549 | unsigned int class; /* ATA_DEV_xxx */ |
550 | 550 | ||
551 | union { | ||
552 | u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */ | ||
553 | u32 gscr[SATA_PMP_GSCR_DWORDS]; /* PMP GSCR block */ | ||
554 | }; | ||
555 | |||
556 | u8 pio_mode; | 551 | u8 pio_mode; |
557 | u8 dma_mode; | 552 | u8 dma_mode; |
558 | u8 xfer_mode; | 553 | u8 xfer_mode; |
@@ -574,8 +569,13 @@ struct ata_device { | |||
574 | u16 sectors; /* Number of sectors per track */ | 569 | u16 sectors; /* Number of sectors per track */ |
575 | 570 | ||
576 | /* error history */ | 571 | /* error history */ |
577 | struct ata_ering ering; | ||
578 | int spdn_cnt; | 572 | int spdn_cnt; |
573 | struct ata_ering ering; | ||
574 | |||
575 | union { | ||
576 | u16 id[ATA_ID_WORDS]; /* IDENTIFY xxx DEVICE data */ | ||
577 | u32 gscr[SATA_PMP_GSCR_DWORDS]; /* PMP GSCR block */ | ||
578 | }; | ||
579 | }; | 579 | }; |
580 | 580 | ||
581 | /* Offset into struct ata_device. Fields above it are maintained | 581 | /* Offset into struct ata_device. Fields above it are maintained |
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index 9fa1a8002ce2..a744383d16e9 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h | |||
@@ -382,7 +382,8 @@ void mlx4_free_hwq_res(struct mlx4_dev *mdev, struct mlx4_hwq_resources *wqres, | |||
382 | int size); | 382 | int size); |
383 | 383 | ||
384 | int mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, | 384 | int mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, |
385 | struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq); | 385 | struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq, |
386 | int collapsed); | ||
386 | void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq); | 387 | void mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq); |
387 | 388 | ||
388 | int mlx4_qp_alloc(struct mlx4_dev *dev, int sqpn, struct mlx4_qp *qp); | 389 | int mlx4_qp_alloc(struct mlx4_dev *dev, int sqpn, struct mlx4_qp *qp); |
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 139d49d2f078..d73eceaa7afb 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -368,4 +368,15 @@ struct virtio_device_id { | |||
368 | }; | 368 | }; |
369 | #define VIRTIO_DEV_ANY_ID 0xffffffff | 369 | #define VIRTIO_DEV_ANY_ID 0xffffffff |
370 | 370 | ||
371 | /* i2c */ | ||
372 | |||
373 | #define I2C_NAME_SIZE 20 | ||
374 | #define I2C_MODULE_PREFIX "i2c:" | ||
375 | |||
376 | struct i2c_device_id { | ||
377 | char name[I2C_NAME_SIZE]; | ||
378 | kernel_ulong_t driver_data; /* Data private to the driver */ | ||
379 | }; | ||
380 | |||
381 | |||
371 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 382 | #endif /* LINUX_MOD_DEVICETABLE_H */ |
diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h index 0ea0bd85c036..2a527742701a 100644 --- a/include/media/v4l2-chip-ident.h +++ b/include/media/v4l2-chip-ident.h | |||
@@ -64,6 +64,7 @@ enum { | |||
64 | /* Conexant MPEG encoder/decoders: reserved range 410-420 */ | 64 | /* Conexant MPEG encoder/decoders: reserved range 410-420 */ |
65 | V4L2_IDENT_CX23415 = 415, | 65 | V4L2_IDENT_CX23415 = 415, |
66 | V4L2_IDENT_CX23416 = 416, | 66 | V4L2_IDENT_CX23416 = 416, |
67 | V4L2_IDENT_CX23418 = 418, | ||
67 | 68 | ||
68 | /* module vp27smpx: just ident 2700 */ | 69 | /* module vp27smpx: just ident 2700 */ |
69 | V4L2_IDENT_VP27SMPX = 2700, | 70 | V4L2_IDENT_VP27SMPX = 2700, |
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h index 316a58453134..020d05758bd8 100644 --- a/include/media/v4l2-common.h +++ b/include/media/v4l2-common.h | |||
@@ -107,9 +107,11 @@ int v4l2_chip_match_host(u32 id_type, u32 chip_id); | |||
107 | struct i2c_driver; | 107 | struct i2c_driver; |
108 | struct i2c_adapter; | 108 | struct i2c_adapter; |
109 | struct i2c_client; | 109 | struct i2c_client; |
110 | struct i2c_device_id; | ||
110 | 111 | ||
111 | int v4l2_i2c_attach(struct i2c_adapter *adapter, int address, struct i2c_driver *driver, | 112 | int v4l2_i2c_attach(struct i2c_adapter *adapter, int address, struct i2c_driver *driver, |
112 | const char *name, int (*probe)(struct i2c_client *)); | 113 | const char *name, |
114 | int (*probe)(struct i2c_client *, const struct i2c_device_id *)); | ||
113 | 115 | ||
114 | /* ------------------------------------------------------------------------- */ | 116 | /* ------------------------------------------------------------------------- */ |
115 | 117 | ||
diff --git a/include/media/v4l2-i2c-drv-legacy.h b/include/media/v4l2-i2c-drv-legacy.h index e7645578fc22..347b6f8beb23 100644 --- a/include/media/v4l2-i2c-drv-legacy.h +++ b/include/media/v4l2-i2c-drv-legacy.h | |||
@@ -25,7 +25,7 @@ struct v4l2_i2c_driver_data { | |||
25 | const char * const name; | 25 | const char * const name; |
26 | int driverid; | 26 | int driverid; |
27 | int (*command)(struct i2c_client *client, unsigned int cmd, void *arg); | 27 | int (*command)(struct i2c_client *client, unsigned int cmd, void *arg); |
28 | int (*probe)(struct i2c_client *client); | 28 | int (*probe)(struct i2c_client *client, const struct i2c_device_id *id); |
29 | int (*remove)(struct i2c_client *client); | 29 | int (*remove)(struct i2c_client *client); |
30 | int (*suspend)(struct i2c_client *client, pm_message_t state); | 30 | int (*suspend)(struct i2c_client *client, pm_message_t state); |
31 | int (*resume)(struct i2c_client *client); | 31 | int (*resume)(struct i2c_client *client); |
diff --git a/include/media/v4l2-i2c-drv.h b/include/media/v4l2-i2c-drv.h index 9e4bab276915..7b6f06be7950 100644 --- a/include/media/v4l2-i2c-drv.h +++ b/include/media/v4l2-i2c-drv.h | |||
@@ -30,7 +30,7 @@ struct v4l2_i2c_driver_data { | |||
30 | const char * const name; | 30 | const char * const name; |
31 | int driverid; | 31 | int driverid; |
32 | int (*command)(struct i2c_client *client, unsigned int cmd, void *arg); | 32 | int (*command)(struct i2c_client *client, unsigned int cmd, void *arg); |
33 | int (*probe)(struct i2c_client *client); | 33 | int (*probe)(struct i2c_client *client, const struct i2c_device_id *id); |
34 | int (*remove)(struct i2c_client *client); | 34 | int (*remove)(struct i2c_client *client); |
35 | int (*suspend)(struct i2c_client *client, pm_message_t state); | 35 | int (*suspend)(struct i2c_client *client, pm_message_t state); |
36 | int (*resume)(struct i2c_client *client); | 36 | int (*resume)(struct i2c_client *client); |
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index 7b90b63fb5c7..cd3ca63d4fb1 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -225,6 +225,7 @@ struct iscsi_conn { | |||
225 | 225 | ||
226 | /* custom statistics */ | 226 | /* custom statistics */ |
227 | uint32_t eh_abort_cnt; | 227 | uint32_t eh_abort_cnt; |
228 | uint32_t fmr_unalign_cnt; | ||
228 | }; | 229 | }; |
229 | 230 | ||
230 | struct iscsi_pool { | 231 | struct iscsi_pool { |