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

Michael Walle michael at walle.cc
Fri Aug 26 01:16:11 PDT 2022


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;
> +};
> +



More information about the linux-mtd mailing list