fs: Add model field to geometry and mtd_geometry_s

the model is very useful to track the device info

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-08-11 12:21:39 +08:00
committed by Gustavo Henrique Nihei
parent 30aa0ee700
commit 9f027208d4
53 changed files with 116 additions and 0 deletions
@@ -556,6 +556,8 @@ static int imxrt_flexspi_nor_ioctl(struct mtd_dev_s *dev,
if (geo)
{
memset(geo, 0, sizeof(*geo));
/* Populate the geometry structure with information need to
* know the capacity and how to access the device.
*