mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
mtd: fix compiler warnings
- add missing declaration - update debug output format specifiers Signed-off-by: Steve Rae <steve.rae@raedomain.com>
This commit is contained in:
parent
ebb7febc92
commit
59441ac3c1
2 changed files with 7 additions and 2 deletions
|
@ -500,5 +500,10 @@ int mtd_arg_off(const char *arg, int *idx, loff_t *off, loff_t *size,
|
|||
int mtd_arg_off_size(int argc, char *const argv[], int *idx, loff_t *off,
|
||||
loff_t *size, loff_t *maxsize, int devtype,
|
||||
uint64_t chipsize);
|
||||
|
||||
/* drivers/mtd/mtdcore.c */
|
||||
void mtd_get_len_incl_bad(struct mtd_info *mtd, uint64_t offset,
|
||||
const uint64_t length, uint64_t *len_incl_bad,
|
||||
int *truncated);
|
||||
#endif
|
||||
#endif /* __MTD_MTD_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue