eeprom.c: fix retlen type

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2014-12-10 21:48:24 +01:00
parent 00c6c3d012
commit eca052894b
+2 -1
View File
@@ -51,7 +51,8 @@ static int mt76_get_of_eeprom(struct mt76_dev *dev, int len)
const char *part;
phandle phandle;
int offset = 0;
int size, retlen;
int size;
size_t retlen;
if (!np)
return -ENOENT;