From: Simon Glass <simon.glass@canonical.com> This is an attempt to improve the structure of the FAT code, since it doesn't fully follow the U-Boot conventions: - fat_write.c includes fat.c which is odd - use of __u32 and its ilk - use of typedef - old-style struct comments This series resolves these problems, making it easier to take on other improvements in future. Simon Glass (6): fat: Create an internal header file fat: Separate fat.c from fat_write.c fat: Update struct fat_itr to kernel-doc style fat: Remove typedefs in fat.h fat: Convert fat.h to kernel-doc style fat: Use standard types for fixed-size values fs/fat/Makefile | 2 +- fs/fat/fat.c | 316 +++++++++------------------------- fs/fat/fat_internal.h | 171 +++++++++++++++++++ fs/fat/fat_write.c | 246 ++++++++++++++------------- include/fat.h | 385 +++++++++++++++++++++++++++++++++--------- 5 files changed, 677 insertions(+), 443 deletions(-) create mode 100644 fs/fat/fat_internal.h -- 2.43.0 base-commit: d3df5a8ca108c08f2136cf04f4f47bd8bd268031 branch: fat