diff options
-rw-r--r-- | drivers/media/pci/solo6x10/solo6x10-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/pci/solo6x10/solo6x10-core.c b/drivers/media/pci/solo6x10/solo6x10-core.c index 8cbe6b49f4c2..570d119ea18b 100644 --- a/drivers/media/pci/solo6x10/solo6x10-core.c +++ b/drivers/media/pci/solo6x10/solo6x10-core.c | |||
@@ -182,7 +182,7 @@ static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr, | |||
182 | { | 182 | { |
183 | struct solo_dev *solo_dev = | 183 | struct solo_dev *solo_dev = |
184 | container_of(dev, struct solo_dev, dev); | 184 | container_of(dev, struct solo_dev, dev); |
185 | unsigned short *p = (unsigned short *)buf; | 185 | u16 *p = (u16 *)buf; |
186 | int i; | 186 | int i; |
187 | 187 | ||
188 | if (count & 0x1) | 188 | if (count & 0x1) |
@@ -212,7 +212,7 @@ static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr, | |||
212 | { | 212 | { |
213 | struct solo_dev *solo_dev = | 213 | struct solo_dev *solo_dev = |
214 | container_of(dev, struct solo_dev, dev); | 214 | container_of(dev, struct solo_dev, dev); |
215 | unsigned short *p = (unsigned short *)buf; | 215 | u16 *p = (u16 *)buf; |
216 | int count = (full_eeprom ? 128 : 64); | 216 | int count = (full_eeprom ? 128 : 64); |
217 | int i; | 217 | int i; |
218 | 218 | ||