diff options
author | Simon Glass <sjg@chromium.org> | 2015-01-25 18:27:07 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-01-30 03:09:55 +0300 |
commit | 19a25f672c6aa1a9a9b94c0ffbfda3e8246d1a19 (patch) | |
tree | ce01b789ebf4dd2a789a06cdc148a30724ea3e9e /drivers/spi/tegra20_sflash.c | |
parent | dac8db2ce66944828e441cccf25703b262a256cd (diff) | |
download | u-boot-19a25f672c6aa1a9a9b94c0ffbfda3e8246d1a19.tar.xz |
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/tegra20_sflash.c')
-rw-r--r-- | drivers/spi/tegra20_sflash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/tegra20_sflash.c b/drivers/spi/tegra20_sflash.c index 7d0d0f37fc..78c74cdf37 100644 --- a/drivers/spi/tegra20_sflash.c +++ b/drivers/spi/tegra20_sflash.c @@ -348,6 +348,5 @@ U_BOOT_DRIVER(tegra20_sflash) = { .ofdata_to_platdata = tegra20_sflash_ofdata_to_platdata, .platdata_auto_alloc_size = sizeof(struct tegra_spi_platdata), .priv_auto_alloc_size = sizeof(struct tegra20_sflash_priv), - .per_child_auto_alloc_size = sizeof(struct spi_slave), .probe = tegra20_sflash_probe, }; |