Re: [PATCH v1 06/14] nvmem: core: introduce NVMEM layouts

From: Michael Walle
Date: Fri Aug 26 2022 - 04:16:21 EST


Am 2022-08-25 23:44, schrieb Michael Walle:

+struct nvmem_layout {
+ const char *name;
+ const struct of_device_id *of_match_table;
+ int (*add_cells)(struct nvmem_device *nvmem, struct nvmem_layout *layout);

This must be:
int (*add_cells)(struct device *dev, struct nvmem_device *nvmem, struct nvmem_layout *layout);

+ struct list_head node;
+};
+