aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorIsmael Luceno <ismael@iodev.co.uk>2014-12-24 06:36:00 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-27 07:02:42 -0500
commit469ac53e7c99b51bf0fa4ea0955271272e4ca2ea (patch)
treea782a4bf819807633a9a44057c7d06ed6073c8ad /drivers/media/pci
parent8a4d9a9cf90202c37308ddd84818100c27c4155c (diff)
[media] solo6x10: Fix eeprom_* functions buffer's type
s/unsigned short/u16/ Signed-off-by: Ismael Luceno <ismael@iodev.co.uk> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r--drivers/media/pci/solo6x10/solo6x10-core.c4
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