Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Ismael Luceno and committed by
Mauro Carvalho Chehab
469ac53e 8a4d9a9c

+2 -2
+2 -2
drivers/media/pci/solo6x10/solo6x10-core.c
··· 182 182 { 183 183 struct solo_dev *solo_dev = 184 184 container_of(dev, struct solo_dev, dev); 185 - unsigned short *p = (unsigned short *)buf; 185 + u16 *p = (u16 *)buf; 186 186 int i; 187 187 188 188 if (count & 0x1) ··· 212 212 { 213 213 struct solo_dev *solo_dev = 214 214 container_of(dev, struct solo_dev, dev); 215 - unsigned short *p = (unsigned short *)buf; 215 + u16 *p = (u16 *)buf; 216 216 int count = (full_eeprom ? 128 : 64); 217 217 int i; 218 218