diff options
author | Tom Rini <trini@konsulko.com> | 2019-04-14 00:03:06 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-14 00:03:06 -0400 |
commit | 216800acf1fbf9f498455bf3c92d4513d9a4c681 (patch) | |
tree | 08ee65c9c73a954c71b6f6051725338f0f23fdcb /include/linux | |
parent | cf5eebeb18f7790d5030eb94f51fca0ebcd6e406 (diff) | |
parent | 59aea29a31869ed0fd5ffc4b95050db966fcaf6d (diff) | |
download | u-boot-216800acf1fbf9f498455bf3c92d4513d9a4c681.tar.gz |
Merge branch 'master' of git://git.denx.de/u-boot-spi
Conflicts:
arch/arm/dts/armada-385-amc.dts
arch/arm/dts/armada-xp-theadorable.dts
arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/mtd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index cd1f557a2f..e3549f0a46 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -392,7 +392,7 @@ static inline void mtd_set_ooblayout(struct mtd_info *mtd, mtd->ooblayout = ooblayout; } -static inline int mtd_oobavail(struct mtd_info *mtd, struct mtd_oob_ops *ops) +static inline u32 mtd_oobavail(struct mtd_info *mtd, struct mtd_oob_ops *ops) { return ops->mode == MTD_OPS_AUTO_OOB ? mtd->oobavail : mtd->oobsize; } |