]> git.dujemihanovic.xyz Git - u-boot.git/commit
linux, compat: add missing definitions for ubi
authorHeiko Schocher <hs@denx.de>
Thu, 22 Oct 2015 04:19:20 +0000 (06:19 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 26 Oct 2015 08:22:02 +0000 (09:22 +0100)
commit5219db8ae802210730b348a888474efc2f9bf0a4
tree9ac4e8397615397621441df872b43b0c7b32be51
parent677f970bc62a661690b3431543d5a5d5e682ba70
linux, compat: add missing definitions for ubi

add missing definitions for the ubi/ubifs sync
with linux 4.2, also change "#define kfree ..."
into a static inline, so prevent ubi compile error:

   CC      drivers/mtd/ubi/fastmap.o
drivers/mtd/ubi/fastmap.c: In function 'scan_pool':
drivers/mtd/ubi/fastmap.c:475:3: error: called object 'free' is not a function

Signed-off-by: Heiko Schocher <hs@denx.de>
drivers/usb/dwc3/linux-compat.h
include/linux/compat.h