diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-25 08:27:07 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-29 17:09:55 -0700 |
commit | 19a25f672c6aa1a9a9b94c0ffbfda3e8246d1a19 (patch) | |
tree | ce01b789ebf4dd2a789a06cdc148a30724ea3e9e /drivers/spi/sandbox_spi.c | |
parent | dac8db2ce66944828e441cccf25703b262a256cd (diff) | |
download | u-boot-imx-19a25f672c6aa1a9a9b94c0ffbfda3e8246d1a19.zip u-boot-imx-19a25f672c6aa1a9a9b94c0ffbfda3e8246d1a19.tar.gz u-boot-imx-19a25f672c6aa1a9a9b94c0ffbfda3e8246d1a19.tar.bz2 |
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>
Diffstat (limited to 'drivers/spi/sandbox_spi.c')
-rw-r--r-- | drivers/spi/sandbox_spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/sandbox_spi.c b/drivers/spi/sandbox_spi.c index e717424..bad5660 100644 --- a/drivers/spi/sandbox_spi.c +++ b/drivers/spi/sandbox_spi.c @@ -160,6 +160,5 @@ U_BOOT_DRIVER(spi_sandbox) = { .name = "spi_sandbox", .id = UCLASS_SPI, .of_match = sandbox_spi_ids, - .per_child_auto_alloc_size = sizeof(struct spi_slave), .ops = &sandbox_spi_ops, }; |