Skip to content

Commit

Permalink
[media] solo6x10: Fix eeprom_* functions buffer's type
Browse files Browse the repository at this point in the history
s/unsigned short/u16/

Signed-off-by: Ismael Luceno <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
ismaell authored and mchehab committed Jan 27, 2015
1 parent 8a4d9a9 commit 469ac53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/pci/solo6x10/solo6x10-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 469ac53

Please sign in to comment.