]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] solo6x10: Fix solo_eeprom_read retval type
authorIsmael Luceno <ismael@iodev.co.uk>
Wed, 24 Dec 2014 11:36:01 +0000 (08:36 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:03:00 +0000 (10:03 -0200)
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>
drivers/media/pci/solo6x10/solo6x10-eeprom.c

index da25ce4a69526187520ffa790f8fe6e50e04aba7..8e81186dc785a279eb7fe13a3feed97349107a45 100644 (file)
@@ -103,7 +103,7 @@ unsigned int solo_eeprom_ewen(struct solo_dev *solo_dev, int w_en)
 __be16 solo_eeprom_read(struct solo_dev *solo_dev, int loc)
 {
        int read_cmd = loc | (EE_READ_CMD << ADDR_LEN);
-       unsigned short retval = 0;
+       u16 retval = 0;
        int i;
 
        solo_eeprom_cmd(solo_dev, read_cmd);