提交 3c50e015 编写于 作者: L Lukasz Majewski 提交者: Stefano Babic

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: NLukasz Majewski <lukma@denx.de>
上级 f1e323a0
......@@ -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 = &mxs_spi_ops,
.priv_auto_alloc_size = sizeof(struct mxs_spi_priv),
.probe = mxs_spi_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册