Signed-off-by: Ismael Luceno <ism...@iodev.co.uk>
---
 drivers/media/pci/solo6x10/solo6x10-core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/pci/solo6x10/solo6x10-core.c 
b/drivers/media/pci/solo6x10/solo6x10-core.c
index 8cbe6b4..570d119 100644
--- a/drivers/media/pci/solo6x10/solo6x10-core.c
+++ b/drivers/media/pci/solo6x10/solo6x10-core.c
@@ -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;
 
-- 
2.2.0

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to