Re: [PATCH v3 3/4] mtd: phram: Allow probing via reserved-memory

From: Rob Herring
Date: Thu Apr 14 2022 - 12:32:42 EST


On Tue, Apr 12, 2022 at 03:53:01PM +0200, Vincent Whitchurch wrote:
> Allow phram to be probed from the devicetree. It expects to be in a
> reserved-memory node as documented by the bindings. This allows things
> like partitioning to be specified via the devicetree.
>
> Signed-off-by: Vincent Whitchurch <vincent.whitchurch@xxxxxxxx>
> ---
>
> Notes:
> v3:
> - Add missing semicolon after MODULE_DEVICE_TABLE causing build errors on some
> configs.
>
> drivers/mtd/devices/phram.c | 67 ++++++++++++++++++++++++++++++++++---
> drivers/of/platform.c | 1 +

For DT,

Acked-by: Rob Herring <robh@xxxxxxxxxx>