Re: [U-Boot] [PATCH v2 3/9] spl: Init proper struct driver member (platdata_auto_alloc_size) for mxs_spi
> Subject: [PATCH v2 3/9] spl: Init proper struct driver member > (platdata_auto_alloc_size) for mxs_spi > > This change initializes proper member of struct driver - > platdata_auto_alloc_size instead of priv_auto_alloc_size, which is setup > twice. > > Signed-off-by: Lukasz Majewski > > --- > > Changes in v2: > - New patch > > drivers/spi/mxs_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c index > 3a9756fbf1..b1cc83aab1 100644 > --- a/drivers/spi/mxs_spi.c > +++ b/drivers/spi/mxs_spi.c > @@ -584,7 +584,7 @@ U_BOOT_DRIVER(mxs_spi) = { > .of_match = mxs_spi_ids, > .ofdata_to_platdata = mxs_ofdata_to_platdata, #endif > - .priv_auto_alloc_size = sizeof(struct mxs_spi_platdata), > + .platdata_auto_alloc_size = sizeof(struct mxs_spi_platdata), > .ops= _spi_ops, > .priv_auto_alloc_size = sizeof(struct mxs_spi_priv), > .probe = mxs_spi_probe, Reviewed-by: Peng Fan > -- > 2.11.0 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
[U-Boot] [PATCH v2 3/9] spl: Init proper struct driver member (platdata_auto_alloc_size) for mxs_spi
This change initializes proper member of struct driver - platdata_auto_alloc_size instead of priv_auto_alloc_size, which is setup twice. Signed-off-by: Lukasz Majewski --- Changes in v2: - New patch drivers/spi/mxs_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c index 3a9756fbf1..b1cc83aab1 100644 --- a/drivers/spi/mxs_spi.c +++ b/drivers/spi/mxs_spi.c @@ -584,7 +584,7 @@ U_BOOT_DRIVER(mxs_spi) = { .of_match = mxs_spi_ids, .ofdata_to_platdata = mxs_ofdata_to_platdata, #endif - .priv_auto_alloc_size = sizeof(struct mxs_spi_platdata), + .platdata_auto_alloc_size = sizeof(struct mxs_spi_platdata), .ops= _spi_ops, .priv_auto_alloc_size = sizeof(struct mxs_spi_priv), .probe = mxs_spi_probe, -- 2.11.0 ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot