]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - include/linux/mtd/mtd.h
mtd: fix false positive "Offset exceeds device limit" error
[karo-tx-uboot.git] / include / linux / mtd / mtd.h
index 33669da4ed8a9c2a8f29d389e8ac4bce142292c9..552d4d623ff1845a517445becd2bea2518b002e3 100644 (file)
@@ -484,8 +484,9 @@ int add_mtd_partitions(struct mtd_info *, const struct mtd_partition *, int);
 int del_mtd_partitions(struct mtd_info *);
 
 int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size,
-               loff_t *maxsize, int devtype, int chipsize);
+               loff_t *maxsize, int devtype, uint64_t chipsize);
 int mtd_arg_off_size(int argc, char *const argv[], int *idx, loff_t *off,
-                loff_t *size, loff_t *maxsize, int devtype, int chipsize);
+                    loff_t *size, loff_t *maxsize, int devtype,
+                    uint64_t chipsize);
 #endif
 #endif /* __MTD_MTD_H__ */