Commit 469ac53e authored by Ismael Luceno's avatar Ismael Luceno Committed by Mauro Carvalho Chehab

[media] solo6x10: Fix eeprom_* functions buffer's type

s/unsigned short/u16/
Signed-off-by: default avatarIsmael Luceno <ismael@iodev.co.uk>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 8a4d9a9c
...@@ -182,7 +182,7 @@ static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr, ...@@ -182,7 +182,7 @@ static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr,
{ {
struct solo_dev *solo_dev = struct solo_dev *solo_dev =
container_of(dev, struct solo_dev, dev); container_of(dev, struct solo_dev, dev);
unsigned short *p = (unsigned short *)buf; u16 *p = (u16 *)buf;
int i; int i;
if (count & 0x1) if (count & 0x1)
...@@ -212,7 +212,7 @@ static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr, ...@@ -212,7 +212,7 @@ static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr,
{ {
struct solo_dev *solo_dev = struct solo_dev *solo_dev =
container_of(dev, struct solo_dev, dev); container_of(dev, struct solo_dev, dev);
unsigned short *p = (unsigned short *)buf; u16 *p = (u16 *)buf;
int count = (full_eeprom ? 128 : 64); int count = (full_eeprom ? 128 : 64);
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment