mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
11
drivers/mtd/tests/mtd_test.h
Normal file
11
drivers/mtd/tests/mtd_test.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#include <linux/mtd/mtd.h>
|
||||
|
||||
int mtdtest_erase_eraseblock(struct mtd_info *mtd, unsigned int ebnum);
|
||||
int mtdtest_scan_for_bad_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
|
||||
unsigned int eb, int ebcnt);
|
||||
int mtdtest_erase_good_eraseblocks(struct mtd_info *mtd, unsigned char *bbt,
|
||||
unsigned int eb, int ebcnt);
|
||||
|
||||
int mtdtest_read(struct mtd_info *mtd, loff_t addr, size_t size, void *buf);
|
||||
int mtdtest_write(struct mtd_info *mtd, loff_t addr, size_t size,
|
||||
const void *buf);
|
Loading…
Add table
Add a link
Reference in a new issue