mirror of
https://xff.cz/git/u-boot/
synced 2025-10-22 10:31:56 +02:00
dm: spi: Move the per-child data size to the uclass
This is common to all SPI drivers and specifies a structure used by the uclass. It makes more sense to define it in the uclass. Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -340,6 +340,5 @@ U_BOOT_DRIVER(cadence_spi) = {
|
||||
.ofdata_to_platdata = cadence_spi_ofdata_to_platdata,
|
||||
.platdata_auto_alloc_size = sizeof(struct cadence_spi_platdata),
|
||||
.priv_auto_alloc_size = sizeof(struct cadence_spi_priv),
|
||||
.per_child_auto_alloc_size = sizeof(struct spi_slave),
|
||||
.probe = cadence_spi_probe,
|
||||
};
|
||||
|
Reference in New Issue
Block a user