[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>
This commit is contained in:
Ismael Luceno 2014-12-24 08:36:00 -03:00 committed by Mauro Carvalho Chehab
parent 8a4d9a9cf9
commit 469ac53e7c
1 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ static ssize_t eeprom_store(struct device *dev, struct device_attribute *attr,
{
struct solo_dev *solo_dev =
container_of(dev, struct solo_dev, dev);
unsigned short *p = (unsigned short *)buf;
u16 *p = (u16 *)buf;
int i;
if (count & 0x1)
@ -212,7 +212,7 @@ static ssize_t eeprom_show(struct device *dev, struct device_attribute *attr,
{
struct solo_dev *solo_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 i;