]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: treewide: Rename auto_alloc_size members to be shorter
authorSimon Glass <sjg@chromium.org>
Thu, 3 Dec 2020 23:55:17 +0000 (16:55 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 13 Dec 2020 15:00:25 +0000 (08:00 -0700)
This construct is quite long-winded. In earlier days it made some sense
since auto-allocation was a strange concept. But with driver model now
used pretty universally, we can shorten this to 'auto'. This reduces
verbosity and makes it easier to read.

Coincidentally it also ensures that every declaration is on one line,
thus making dtoc's job easier.

Signed-off-by: Simon Glass <sjg@chromium.org>
956 files changed:
arch/arm/mach-ipq40xx/clock-ipq4019.c
arch/arm/mach-ipq40xx/pinctrl-snapdragon.c
arch/arm/mach-snapdragon/clock-snapdragon.c
arch/arm/mach-snapdragon/pinctrl-snapdragon.c
arch/arm/mach-stm32mp/bsec.c
arch/arm/mach-stm32mp/pwr_regulator.c
arch/x86/cpu/acpi_gpe.c
arch/x86/cpu/apollolake/hostbridge.c
arch/x86/cpu/apollolake/pmc.c
arch/x86/cpu/apollolake/spl.c
arch/x86/cpu/apollolake/uart.c
arch/x86/cpu/broadwell/cpu_full.c
arch/x86/cpu/broadwell/sata.c
arch/x86/cpu/intel_common/itss.c
arch/x86/cpu/intel_common/p2sb.c
arch/x86/cpu/irq.c
arch/x86/cpu/slimbootloader/serial.c
arch/x86/cpu/tangier/pinmux.c
arch/x86/lib/pmu.c
arch/x86/lib/scu.c
board/renesas/ulcb/cpld.c
common/usb_hub.c
common/usb_storage.c
doc/driver-model/design.rst
doc/driver-model/ethernet.rst
doc/driver-model/of-plat.rst
doc/driver-model/spi-howto.rst
doc/driver-model/usb-info.rst
doc/imx/clk/ccf.txt
drivers/adc/adc-uclass.c
drivers/adc/exynos-adc.c
drivers/adc/meson-saradc.c
drivers/adc/rockchip-saradc.c
drivers/adc/sandbox.c
drivers/adc/stm32-adc-core.c
drivers/adc/stm32-adc.c
drivers/ata/ahci-uclass.c
drivers/ata/dwc_ahci.c
drivers/ata/fsl_sata.c
drivers/ata/mtk_ahci.c
drivers/ata/sata_ceva.c
drivers/ata/sata_mv.c
drivers/ata/sata_sil.c
drivers/axi/ihs_axi.c
drivers/axi/sandbox_store.c
drivers/block/blk-uclass.c
drivers/block/sandbox.c
drivers/bootcount/bootcount.c
drivers/bootcount/i2c-eeprom.c
drivers/bootcount/rtc.c
drivers/bootcount/spi-flash.c
drivers/button/button-gpio.c
drivers/button/button-uclass.c
drivers/cache/cache-v5l2.c
drivers/clk/altera/clk-agilex.c
drivers/clk/altera/clk-arria10.c
drivers/clk/aspeed/clk_ast2500.c
drivers/clk/at91/compat.c
drivers/clk/at91/sckc.c
drivers/clk/clk-cdce9xx.c
drivers/clk/clk-hsdk-cgu.c
drivers/clk/clk-ti-sci.c
drivers/clk/clk_bcm6345.c
drivers/clk/clk_boston.c
drivers/clk/clk_fixed_factor.c
drivers/clk/clk_fixed_rate.c
drivers/clk/clk_octeon.c
drivers/clk/clk_pic32.c
drivers/clk/clk_sandbox.c
drivers/clk/clk_sandbox_test.c
drivers/clk/clk_stm32f.c
drivers/clk/clk_stm32h7.c
drivers/clk/clk_stm32mp1.c
drivers/clk/clk_versal.c
drivers/clk/clk_vexpress_osc.c
drivers/clk/clk_zynq.c
drivers/clk/clk_zynqmp.c
drivers/clk/exynos/clk-exynos7420.c
drivers/clk/ics8n3qv01.c
drivers/clk/mediatek/clk-mt7622.c
drivers/clk/mediatek/clk-mt7623.c
drivers/clk/mediatek/clk-mt7629.c
drivers/clk/mediatek/clk-mt8512.c
drivers/clk/mediatek/clk-mt8516.c
drivers/clk/mediatek/clk-mt8518.c
drivers/clk/meson/axg.c
drivers/clk/meson/g12a.c
drivers/clk/meson/gxbb.c
drivers/clk/mpc83xx_clk.c
drivers/clk/mtmips/clk-mt7628.c
drivers/clk/mvebu/armada-37xx-periph.c
drivers/clk/mvebu/armada-37xx-tbg.c
drivers/clk/owl/clk_owl.c
drivers/clk/renesas/r8a774a1-cpg-mssr.c
drivers/clk/renesas/r8a774b1-cpg-mssr.c
drivers/clk/renesas/r8a774c0-cpg-mssr.c
drivers/clk/renesas/r8a774e1-cpg-mssr.c
drivers/clk/renesas/r8a7790-cpg-mssr.c
drivers/clk/renesas/r8a7791-cpg-mssr.c
drivers/clk/renesas/r8a7792-cpg-mssr.c
drivers/clk/renesas/r8a7794-cpg-mssr.c
drivers/clk/renesas/r8a7795-cpg-mssr.c
drivers/clk/renesas/r8a7796-cpg-mssr.c
drivers/clk/renesas/r8a77965-cpg-mssr.c
drivers/clk/renesas/r8a77970-cpg-mssr.c
drivers/clk/renesas/r8a77980-cpg-mssr.c
drivers/clk/renesas/r8a77990-cpg-mssr.c
drivers/clk/renesas/r8a77995-cpg-mssr.c
drivers/clk/rockchip/clk_px30.c
drivers/clk/rockchip/clk_rk3036.c
drivers/clk/rockchip/clk_rk3128.c
drivers/clk/rockchip/clk_rk3188.c
drivers/clk/rockchip/clk_rk322x.c
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/rockchip/clk_rk3308.c
drivers/clk/rockchip/clk_rk3328.c
drivers/clk/rockchip/clk_rk3368.c
drivers/clk/rockchip/clk_rk3399.c
drivers/clk/rockchip/clk_rv1108.c
drivers/clk/sifive/fu540-prci.c
drivers/clk/sunxi/clk_a10.c
drivers/clk/sunxi/clk_a10s.c
drivers/clk/sunxi/clk_a23.c
drivers/clk/sunxi/clk_a31.c
drivers/clk/sunxi/clk_a64.c
drivers/clk/sunxi/clk_a80.c
drivers/clk/sunxi/clk_a83t.c
drivers/clk/sunxi/clk_h3.c
drivers/clk/sunxi/clk_h6.c
drivers/clk/sunxi/clk_r40.c
drivers/clk/sunxi/clk_v3s.c
drivers/clk/uniphier/clk-uniphier-core.c
drivers/core/device-remove.c
drivers/core/device.c
drivers/core/simple-bus.c
drivers/core/simple-pm-bus.c
drivers/core/syscon-uclass.c
drivers/core/uclass.c
drivers/cpu/at91_cpu.c
drivers/cpu/bmips_cpu.c
drivers/cpu/cpu-uclass.c
drivers/cpu/imx8_cpu.c
drivers/cpu/mpc83xx_cpu.c
drivers/crypto/fsl/rng.c
drivers/ddr/altera/sdram_gen5.c
drivers/ddr/altera/sdram_soc64.c
drivers/demo/demo-shape.c
drivers/demo/demo-simple.c
drivers/dma/bcm6348-iudma.c
drivers/dma/dma-uclass.c
drivers/dma/sandbox-dma-test.c
drivers/dma/ti-edma3.c
drivers/dma/ti/k3-udma.c
drivers/firmware/scmi/mailbox_agent.c
drivers/firmware/scmi/sandbox-scmi_agent.c
drivers/firmware/scmi/sandbox-scmi_devices.c
drivers/firmware/scmi/smccc_agent.c
drivers/firmware/ti_sci.c
drivers/gpio/74x164_gpio.c
drivers/gpio/altera_pio.c
drivers/gpio/at91_gpio.c
drivers/gpio/atmel_pio4.c
drivers/gpio/bcm2835_gpio.c
drivers/gpio/bcm6345_gpio.c
drivers/gpio/cortina_gpio.c
drivers/gpio/da8xx_gpio.c
drivers/gpio/dwapb_gpio.c
drivers/gpio/gpio-rcar.c
drivers/gpio/gpio-rza1.c
drivers/gpio/gpio-uclass.c
drivers/gpio/gpio-uniphier.c
drivers/gpio/hi6220_gpio.c
drivers/gpio/hsdk-creg-gpio.c
drivers/gpio/imx_rgpio2p.c
drivers/gpio/intel_broadwell_gpio.c
drivers/gpio/intel_ich6_gpio.c
drivers/gpio/iproc_gpio.c
drivers/gpio/lpc32xx_gpio.c
drivers/gpio/mpc83xx_spisel_boot.c
drivers/gpio/mpc8xxx_gpio.c
drivers/gpio/mscc_sgpio.c
drivers/gpio/msm_gpio.c
drivers/gpio/mvebu_gpio.c
drivers/gpio/mxc_gpio.c
drivers/gpio/mxs_gpio.c
drivers/gpio/nx_gpio.c
drivers/gpio/octeon_gpio.c
drivers/gpio/omap_gpio.c
drivers/gpio/pca953x_gpio.c
drivers/gpio/pcf8575_gpio.c
drivers/gpio/pic32_gpio.c
drivers/gpio/pm8916_gpio.c
drivers/gpio/rk_gpio.c
drivers/gpio/s5p_gpio.c
drivers/gpio/sandbox.c
drivers/gpio/sifive-gpio.c
drivers/gpio/stm32_gpio.c
drivers/gpio/tegra_gpio.c
drivers/gpio/vybrid_gpio.c
drivers/gpio/xilinx_gpio.c
drivers/gpio/zynq_gpio.c
drivers/hwspinlock/stm32_hwspinlock.c
drivers/i2c/ast_i2c.c
drivers/i2c/at91_i2c.c
drivers/i2c/cros_ec_tunnel.c
drivers/i2c/davinci_i2c.c
drivers/i2c/designware_i2c.c
drivers/i2c/designware_i2c_pci.c
drivers/i2c/exynos_hs_i2c.c
drivers/i2c/fsl_i2c.c
drivers/i2c/i2c-cdns.c
drivers/i2c/i2c-cortina.c
drivers/i2c/i2c-emul-uclass.c
drivers/i2c/i2c-gpio.c
drivers/i2c/i2c-uclass.c
drivers/i2c/i2c-uniphier-f.c
drivers/i2c/i2c-uniphier.c
drivers/i2c/i2c-versatile.c
drivers/i2c/ihs_i2c.c
drivers/i2c/imx_lpi2c.c
drivers/i2c/intel_i2c.c
drivers/i2c/iproc_i2c.c
drivers/i2c/meson_i2c.c
drivers/i2c/muxes/i2c-arb-gpio-challenge.c
drivers/i2c/muxes/i2c-mux-gpio.c
drivers/i2c/muxes/i2c-mux-uclass.c
drivers/i2c/muxes/pca954x.c
drivers/i2c/mv_i2c.c
drivers/i2c/mvtwsi.c
drivers/i2c/mxc_i2c.c
drivers/i2c/nx_i2c.c
drivers/i2c/ocores_i2c.c
drivers/i2c/octeon_i2c.c
drivers/i2c/omap24xx_i2c.c
drivers/i2c/rcar_i2c.c
drivers/i2c/rcar_iic.c
drivers/i2c/rk_i2c.c
drivers/i2c/s3c24x0_i2c.c
drivers/i2c/sandbox_i2c.c
drivers/i2c/stm32f7_i2c.c
drivers/i2c/tegra186_bpmp_i2c.c
drivers/i2c/tegra_i2c.c
drivers/i2c/xilinx_xiic.c
drivers/input/cros_ec_keyb.c
drivers/input/i8042.c
drivers/input/keyboard-uclass.c
drivers/input/tegra-kbc.c
drivers/led/led-uclass.c
drivers/led/led_bcm6328.c
drivers/led/led_bcm6358.c
drivers/led/led_bcm6858.c
drivers/led/led_cortina.c
drivers/led/led_gpio.c
drivers/mailbox/k3-sec-proxy.c
drivers/mailbox/sandbox-mbox-test.c
drivers/mailbox/sandbox-mbox.c
drivers/mailbox/stm32-ipcc.c
drivers/mailbox/tegra-hsp.c
drivers/mailbox/zynqmp-ipi.c
drivers/memory/stm32-fmc2-ebi.c
drivers/misc/altera_sysid.c
drivers/misc/atsha204a-i2c.c
drivers/misc/cros_ec.c
drivers/misc/cros_ec_sandbox.c
drivers/misc/fs_loader.c
drivers/misc/gdsys_ioep.c
drivers/misc/gdsys_rxaui_ctrl.c
drivers/misc/gdsys_soc.c
drivers/misc/i2c_eeprom.c
drivers/misc/i2c_eeprom_emul.c
drivers/misc/ihs_fpga.c
drivers/misc/imx8/scu.c
drivers/misc/irq_sandbox.c
drivers/misc/k3_avs.c
drivers/misc/microchip_flexcom.c
drivers/misc/misc_sandbox.c
drivers/misc/mpc83xx_serdes.c
drivers/misc/p2sb-uclass.c
drivers/misc/p2sb_emul.c
drivers/misc/p2sb_sandbox.c
drivers/misc/rockchip-efuse.c
drivers/misc/rockchip-otp.c
drivers/misc/sandbox_adder.c
drivers/misc/sifive-otp.c
drivers/misc/swap_case.c
drivers/misc/tegra186_bpmp.c
drivers/mmc/am654_sdhci.c
drivers/mmc/arm_pl180_mmci.c
drivers/mmc/aspeed_sdhci.c
drivers/mmc/atmel_sdhci.c
drivers/mmc/bcm2835_sdhci.c
drivers/mmc/bcm2835_sdhost.c
drivers/mmc/bcmstb_sdhci.c
drivers/mmc/ca_dw_mmc.c
drivers/mmc/davinci_mmc.c
drivers/mmc/exynos_dw_mmc.c
drivers/mmc/fsl_esdhc.c
drivers/mmc/fsl_esdhc_imx.c
drivers/mmc/ftsdc010_mci.c
drivers/mmc/gen_atmel_mci.c
drivers/mmc/hi6220_dw_mmc.c
drivers/mmc/iproc_sdhci.c
drivers/mmc/jz_mmc.c
drivers/mmc/meson_gx_mmc.c
drivers/mmc/mmc-uclass.c
drivers/mmc/mmc_spi.c
drivers/mmc/msm_sdhci.c
drivers/mmc/mtk-sd.c
drivers/mmc/mv_sdhci.c
drivers/mmc/mxsmmc.c
drivers/mmc/nexell_dw_mmc.c
drivers/mmc/octeontx_hsmmc.c
drivers/mmc/omap_hsmmc.c
drivers/mmc/pci_mmc.c
drivers/mmc/pic32_sdhci.c
drivers/mmc/pxa_mmc_gen.c
drivers/mmc/renesas-sdhi.c
drivers/mmc/rockchip_dw_mmc.c
drivers/mmc/rockchip_sdhci.c
drivers/mmc/s5p_sdhci.c
drivers/mmc/sandbox_mmc.c
drivers/mmc/sdhci-cadence.c
drivers/mmc/sh_mmcif.c
drivers/mmc/sh_sdhi.c
drivers/mmc/snps_dw_mmc.c
drivers/mmc/socfpga_dw_mmc.c
drivers/mmc/sti_sdhci.c
drivers/mmc/stm32_sdmmc2.c
drivers/mmc/sunxi_mmc.c
drivers/mmc/tangier_sdhci.c
drivers/mmc/tegra_mmc.c
drivers/mmc/uniphier-sd.c
drivers/mmc/xenon_sdhci.c
drivers/mmc/zynq_sdhci.c
drivers/mtd/altera_qspi.c
drivers/mtd/hbmc-am654.c
drivers/mtd/mtd-uclass.c
drivers/mtd/nand/raw/arasan_nfc.c
drivers/mtd/nand/raw/brcmnand/bcm63158_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6368_nand.c
drivers/mtd/nand/raw/brcmnand/bcm68360_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6838_nand.c
drivers/mtd/nand/raw/brcmnand/bcm6858_nand.c
drivers/mtd/nand/raw/davinci_nand.c
drivers/mtd/nand/raw/denali_dt.c
drivers/mtd/nand/raw/mxs_nand_dt.c
drivers/mtd/nand/raw/octeontx_bch.c
drivers/mtd/nand/raw/octeontx_nand.c
drivers/mtd/nand/raw/pxa3xx_nand.c
drivers/mtd/nand/raw/stm32_fmc2_nand.c
drivers/mtd/nand/raw/tegra_nand.c
drivers/mtd/nand/raw/vf610_nfc.c
drivers/mtd/nand/raw/zynq_nand.c
drivers/mtd/nand/spi/core.c
drivers/mtd/spi/sandbox.c
drivers/mtd/spi/sf-uclass.c
drivers/mtd/spi/sf_dataflash.c
drivers/mtd/spi/sf_probe.c
drivers/mux/mux-uclass.c
drivers/net/ag7xxx.c
drivers/net/altera_tse.c
drivers/net/bcm6348-eth.c
drivers/net/bcm6368-eth.c
drivers/net/bcmgenet.c
drivers/net/dc2114x.c
drivers/net/designware.c
drivers/net/dwc_eth_qos.c
drivers/net/dwmac_s700.c
drivers/net/dwmac_socfpga.c
drivers/net/e1000.c
drivers/net/eepro100.c
drivers/net/eth-phy-uclass.c
drivers/net/ethoc.c
drivers/net/fec_mxc.c
drivers/net/fm/eth.c
drivers/net/fm/fm.c
drivers/net/fm/memac_phy.c
drivers/net/fsl_enetc.c
drivers/net/fsl_enetc_mdio.c
drivers/net/fsl_ls_mdio.c
drivers/net/fsl_mcdmafec.c
drivers/net/fsl_mdio.c
drivers/net/ftgmac100.c
drivers/net/ftmac100.c
drivers/net/gmac_rockchip.c
drivers/net/higmacv300.c
drivers/net/ks8851_mll.c
drivers/net/ldpaa_eth/ldpaa_eth.c
drivers/net/macb.c
drivers/net/mcffec.c
drivers/net/mdio-ipq4019.c
drivers/net/mdio_mux_i2creg.c
drivers/net/mdio_mux_sandbox.c
drivers/net/mdio_sandbox.c
drivers/net/mscc_eswitch/jr2_switch.c
drivers/net/mscc_eswitch/luton_switch.c
drivers/net/mscc_eswitch/ocelot_switch.c
drivers/net/mscc_eswitch/serval_switch.c
drivers/net/mscc_eswitch/servalt_switch.c
drivers/net/mt7628-eth.c
drivers/net/mtk_eth.c
drivers/net/mvgbe.c
drivers/net/mvmdio.c
drivers/net/mvneta.c
drivers/net/mvpp2.c
drivers/net/octeontx/bgx.c
drivers/net/octeontx/nic_main.c
drivers/net/octeontx/nicvf_main.c
drivers/net/octeontx2/cgx.c
drivers/net/octeontx2/rvu_af.c
drivers/net/octeontx2/rvu_pf.c
drivers/net/pch_gbe.c
drivers/net/pcnet.c
drivers/net/pfe_eth/pfe_eth.c
drivers/net/pic32_eth.c
drivers/net/qe/dm_qe_uec.c
drivers/net/qe/dm_qe_uec_phy.c
drivers/net/ravb.c
drivers/net/rtl8139.c
drivers/net/rtl8169.c
drivers/net/sandbox-raw.c
drivers/net/sandbox.c
drivers/net/sh_eth.c
drivers/net/smc911x.c
drivers/net/sni_ave.c
drivers/net/sun8i_emac.c
drivers/net/sunxi_emac.c
drivers/net/ti/am65-cpsw-nuss.c
drivers/net/ti/cpsw.c
drivers/net/ti/davinci_emac.c
drivers/net/ti/keystone_net.c
drivers/net/tsec.c
drivers/net/xilinx_axi_emac.c
drivers/net/xilinx_emaclite.c
drivers/net/zynq_gem.c
drivers/nvme/nvme.c
drivers/pch/sandbox_pch.c
drivers/pci/pci-aardvark.c
drivers/pci/pci-emul-uclass.c
drivers/pci/pci-rcar-gen2.c
drivers/pci/pci-rcar-gen3.c
drivers/pci/pci-uclass.c
drivers/pci/pci_mpc85xx.c
drivers/pci/pci_mvebu.c
drivers/pci/pci_octeontx.c
drivers/pci/pci_sandbox.c
drivers/pci/pci_tegra.c
drivers/pci/pcie_brcmstb.c
drivers/pci/pcie_dw_mvebu.c
drivers/pci/pcie_dw_ti.c
drivers/pci/pcie_ecam_generic.c
drivers/pci/pcie_fsl.c
drivers/pci/pcie_imx.c
drivers/pci/pcie_intel_fpga.c
drivers/pci/pcie_iproc.c
drivers/pci/pcie_layerscape_ep.c
drivers/pci/pcie_layerscape_gen4.c
drivers/pci/pcie_layerscape_rc.c
drivers/pci/pcie_mediatek.c
drivers/pci/pcie_phytium.c
drivers/pci/pcie_rockchip.c
drivers/pci/pcie_xilinx.c
drivers/pci_endpoint/pcie-cadence-ep.c
drivers/pci_endpoint/sandbox-pci_ep.c
drivers/phy/allwinner/phy-sun4i-usb.c
drivers/phy/bcm6318-usbh-phy.c
drivers/phy/bcm6348-usbh-phy.c
drivers/phy/bcm6358-usbh-phy.c
drivers/phy/bcm6368-usbh-phy.c
drivers/phy/keystone-usb-phy.c
drivers/phy/marvell/comphy_core.c
drivers/phy/meson-g12a-usb2.c
drivers/phy/meson-g12a-usb3-pcie.c
drivers/phy/meson-gxbb-usb2.c
drivers/phy/meson-gxl-usb2.c
drivers/phy/msm8916-usbh-phy.c
drivers/phy/mt76x8-usb-phy.c
drivers/phy/nop-phy.c
drivers/phy/omap-usb2-phy.c
drivers/phy/phy-bcm-sr-pcie.c
drivers/phy/phy-mtk-tphy.c
drivers/phy/phy-qcom-ipq4019-usb.c
drivers/phy/phy-rcar-gen2.c
drivers/phy/phy-rcar-gen3.c
drivers/phy/phy-stm32-usbphyc.c
drivers/phy/phy-ti-am654.c
drivers/phy/rockchip/phy-rockchip-inno-usb2.c
drivers/phy/rockchip/phy-rockchip-pcie.c
drivers/phy/rockchip/phy-rockchip-typec.c
drivers/phy/sandbox-phy.c
drivers/phy/sti_usb_phy.c
drivers/phy/ti-pipe3-phy.c
drivers/pinctrl/aspeed/pinctrl_ast2500.c
drivers/pinctrl/ath79/pinctrl_ar933x.c
drivers/pinctrl/ath79/pinctrl_qca953x.c
drivers/pinctrl/broadcom/pinctrl-bcm283x.c
drivers/pinctrl/broadcom/pinctrl-bcm6838.c
drivers/pinctrl/exynos/pinctrl-exynos7420.c
drivers/pinctrl/intel/pinctrl_apl.c
drivers/pinctrl/mediatek/pinctrl-mt7622.c
drivers/pinctrl/mediatek/pinctrl-mt7623.c
drivers/pinctrl/mediatek/pinctrl-mt7629.c
drivers/pinctrl/mediatek/pinctrl-mt8512.c
drivers/pinctrl/mediatek/pinctrl-mt8516.c
drivers/pinctrl/mediatek/pinctrl-mt8518.c
drivers/pinctrl/meson/pinctrl-meson-axg.c
drivers/pinctrl/meson/pinctrl-meson-g12a.c
drivers/pinctrl/meson/pinctrl-meson-gxbb.c
drivers/pinctrl/meson/pinctrl-meson-gxl.c
drivers/pinctrl/mscc/pinctrl-jr2.c
drivers/pinctrl/mscc/pinctrl-luton.c
drivers/pinctrl/mscc/pinctrl-ocelot.c
drivers/pinctrl/mscc/pinctrl-serval.c
drivers/pinctrl/mscc/pinctrl-servalt.c
drivers/pinctrl/mtmips/pinctrl-mt7628.c
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
drivers/pinctrl/mvebu/pinctrl-mvebu.c
drivers/pinctrl/nexell/pinctrl-s5pxx18.c
drivers/pinctrl/nxp/pinctrl-imx5.c
drivers/pinctrl/nxp/pinctrl-imx6.c
drivers/pinctrl/nxp/pinctrl-imx7.c
drivers/pinctrl/nxp/pinctrl-imx7ulp.c
drivers/pinctrl/nxp/pinctrl-imx8.c
drivers/pinctrl/nxp/pinctrl-imx8m.c
drivers/pinctrl/nxp/pinctrl-imxrt.c
drivers/pinctrl/nxp/pinctrl-mxs.c
drivers/pinctrl/nxp/pinctrl-vf610.c
drivers/pinctrl/pinctrl-at91-pio4.c
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/pinctrl-kendryte.c
drivers/pinctrl/pinctrl-qe-io.c
drivers/pinctrl/pinctrl-sandbox.c
drivers/pinctrl/pinctrl-single.c
drivers/pinctrl/pinctrl-sti.c
drivers/pinctrl/pinctrl-stmfx.c
drivers/pinctrl/pinctrl_pic32.c
drivers/pinctrl/pinctrl_stm32.c
drivers/pinctrl/renesas/pfc-r7s72100.c
drivers/pinctrl/renesas/pfc.c
drivers/pinctrl/rockchip/pinctrl-px30.c
drivers/pinctrl/rockchip/pinctrl-rk3036.c
drivers/pinctrl/rockchip/pinctrl-rk3128.c
drivers/pinctrl/rockchip/pinctrl-rk3188.c
drivers/pinctrl/rockchip/pinctrl-rk322x.c
drivers/pinctrl/rockchip/pinctrl-rk3288.c
drivers/pinctrl/rockchip/pinctrl-rk3308.c
drivers/pinctrl/rockchip/pinctrl-rk3328.c
drivers/pinctrl/rockchip/pinctrl-rk3368.c
drivers/pinctrl/rockchip/pinctrl-rk3399.c
drivers/pinctrl/rockchip/pinctrl-rv1108.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld20.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld4.c
drivers/pinctrl/uniphier/pinctrl-uniphier-ld6b.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pro5.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs2.c
drivers/pinctrl/uniphier/pinctrl-uniphier-pxs3.c
drivers/pinctrl/uniphier/pinctrl-uniphier-sld8.c
drivers/power/acpi_pmc/acpi-pmc-uclass.c
drivers/power/acpi_pmc/pmc_emul.c
drivers/power/acpi_pmc/sandbox.c
drivers/power/domain/bcm6328-power-domain.c
drivers/power/domain/imx8-power-domain-legacy.c
drivers/power/domain/imx8m-power-domain.c
drivers/power/domain/meson-ee-pwrc.c
drivers/power/domain/meson-gx-pwrc-vpu.c
drivers/power/domain/mtk-power-domain.c
drivers/power/domain/sandbox-power-domain-test.c
drivers/power/domain/sandbox-power-domain.c
drivers/power/domain/ti-sci-power-domain.c
drivers/power/pmic/i2c_pmic_emul.c
drivers/power/pmic/pm8916.c
drivers/power/pmic/pmic-uclass.c
drivers/power/pmic/rk8xx.c
drivers/power/regulator/bd71837.c
drivers/power/regulator/da9063.c
drivers/power/regulator/fan53555.c
drivers/power/regulator/fixed.c
drivers/power/regulator/gpio-regulator.c
drivers/power/regulator/pbias_regulator.c
drivers/power/regulator/pfuze100.c
drivers/power/regulator/pwm_regulator.c
drivers/power/regulator/regulator-uclass.c
drivers/power/regulator/stm32-vrefbuf.c
drivers/power/regulator/tps62360_regulator.c
drivers/power/regulator/tps65910_regulator.c
drivers/pwm/exynos_pwm.c
drivers/pwm/pwm-imx.c
drivers/pwm/pwm-meson.c
drivers/pwm/pwm-mtk.c
drivers/pwm/pwm-sifive.c
drivers/pwm/rk_pwm.c
drivers/pwm/sandbox_pwm.c
drivers/pwm/sunxi_pwm.c
drivers/pwm/tegra_pwm.c
drivers/ram/aspeed/sdram_ast2500.c
drivers/ram/bmips_ram.c
drivers/ram/imxrt_sdram.c
drivers/ram/k3-am654-ddrss.c
drivers/ram/k3-j721e/k3-j721e-ddrss.c
drivers/ram/mediatek/ddr3-mt7629.c
drivers/ram/mpc83xx_sdram.c
drivers/ram/octeon/octeon_ddr.c
drivers/ram/rockchip/dmc-rk3368.c
drivers/ram/rockchip/sdram_px30.c
drivers/ram/rockchip/sdram_rk3128.c
drivers/ram/rockchip/sdram_rk3188.c
drivers/ram/rockchip/sdram_rk322x.c
drivers/ram/rockchip/sdram_rk3288.c
drivers/ram/rockchip/sdram_rk3308.c
drivers/ram/rockchip/sdram_rk3328.c
drivers/ram/rockchip/sdram_rk3399.c
drivers/ram/sifive/fu540_ddr.c
drivers/ram/stm32_sdram.c
drivers/ram/stm32mp1/stm32mp1_ram.c
drivers/remoteproc/k3_system_controller.c
drivers/remoteproc/rproc-uclass.c
drivers/remoteproc/sandbox_testproc.c
drivers/remoteproc/stm32_copro.c
drivers/remoteproc/ti_k3_arm64_rproc.c
drivers/remoteproc/ti_k3_dsp_rproc.c
drivers/remoteproc/ti_k3_r5f_rproc.c
drivers/remoteproc/ti_power_proc.c
drivers/reset/reset-ast2500.c
drivers/reset/reset-bcm6345.c
drivers/reset/reset-hisilicon.c
drivers/reset/reset-hsdk.c
drivers/reset/reset-imx7.c
drivers/reset/reset-ipq4019.c
drivers/reset/reset-mediatek.c
drivers/reset/reset-meson.c
drivers/reset/reset-mtmips.c
drivers/reset/reset-rockchip.c
drivers/reset/reset-sifive.c
drivers/reset/reset-socfpga.c
drivers/reset/reset-sunxi.c
drivers/reset/reset-syscon.c
drivers/reset/reset-ti-sci.c
drivers/reset/reset-uniphier.c
drivers/reset/sandbox-reset-test.c
drivers/reset/sandbox-reset.c
drivers/reset/sti-reset.c
drivers/reset/stm32-reset.c
drivers/rng/meson-rng.c
drivers/rng/msm_rng.c
drivers/rng/rockchip_rng.c
drivers/rng/stm32mp1_rng.c
drivers/rtc/ds3232.c
drivers/rtc/emul_rtc.c
drivers/rtc/i2c_rtc_emul.c
drivers/rtc/pl031.c
drivers/rtc/stm32_rtc.c
drivers/scsi/scsi-uclass.c
drivers/serial/altera_jtag_uart.c
drivers/serial/altera_uart.c
drivers/serial/atmel_usart.c
drivers/serial/lpc32xx_hsuart.c
drivers/serial/ns16550.c
drivers/serial/sandbox.c
drivers/serial/serial-uclass.c
drivers/serial/serial_ar933x.c
drivers/serial/serial_arc.c
drivers/serial/serial_bcm283x_mu.c
drivers/serial/serial_bcm283x_pl011.c
drivers/serial/serial_bcm6345.c
drivers/serial/serial_coreboot.c
drivers/serial/serial_cortina.c
drivers/serial/serial_efi.c
drivers/serial/serial_intel_mid.c
drivers/serial/serial_linflexuart.c
drivers/serial/serial_lpuart.c
drivers/serial/serial_mcf.c
drivers/serial/serial_meson.c
drivers/serial/serial_msm.c
drivers/serial/serial_mtk.c
drivers/serial/serial_mvebu_a3700.c
drivers/serial/serial_mxc.c
drivers/serial/serial_omap.c
drivers/serial/serial_owl.c
drivers/serial/serial_pic32.c
drivers/serial/serial_pl01x.c
drivers/serial/serial_rockchip.c
drivers/serial/serial_s5p.c
drivers/serial/serial_sh.c
drivers/serial/serial_sifive.c
drivers/serial/serial_sti_asc.c
drivers/serial/serial_stm32.c
drivers/serial/serial_uniphier.c
drivers/serial/serial_xen.c
drivers/serial/serial_xuartlite.c
drivers/serial/serial_zynq.c
drivers/soc/soc_ti_k3.c
drivers/soc/ti/k3-navss-ringacc.c
drivers/sound/broadwell_i2s.c
drivers/sound/hda_codec.c
drivers/sound/i2s-uclass.c
drivers/sound/ivybridge_sound.c
drivers/sound/max98088.c
drivers/sound/max98090.c
drivers/sound/max98095.c
drivers/sound/rt5677.c
drivers/sound/sandbox.c
drivers/sound/sound-uclass.c
drivers/sound/tegra_ahub.c
drivers/sound/wm8994.c
drivers/spi/altera_spi.c
drivers/spi/atcspi200_spi.c
drivers/spi/ath79_spi.c
drivers/spi/atmel-quadspi.c
drivers/spi/atmel_spi.c
drivers/spi/bcm63xx_hsspi.c
drivers/spi/bcm63xx_spi.c
drivers/spi/bcmstb_spi.c
drivers/spi/cadence_qspi.c
drivers/spi/cf_spi.c
drivers/spi/davinci_spi.c
drivers/spi/designware_spi.c
drivers/spi/exynos_spi.c
drivers/spi/fsl_dspi.c
drivers/spi/fsl_espi.c
drivers/spi/fsl_qspi.c
drivers/spi/ich.c
drivers/spi/kirkwood_spi.c
drivers/spi/meson_spifc.c
drivers/spi/mpc8xxx_spi.c
drivers/spi/mscc_bb_spi.c
drivers/spi/mt7621_spi.c
drivers/spi/mtk_snfi_spi.c
drivers/spi/mvebu_a3700_spi.c
drivers/spi/mxc_spi.c
drivers/spi/mxs_spi.c
drivers/spi/nxp_fspi.c
drivers/spi/octeon_spi.c
drivers/spi/omap3_spi.c
drivers/spi/pic32_spi.c
drivers/spi/pl022_spi.c
drivers/spi/renesas_rpc_spi.c
drivers/spi/rk_spi.c
drivers/spi/sh_qspi.c
drivers/spi/soft_spi.c
drivers/spi/spi-qup.c
drivers/spi/spi-sifive.c
drivers/spi/spi-sunxi.c
drivers/spi/spi-uclass.c
drivers/spi/stm32_qspi.c
drivers/spi/stm32_spi.c
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c
drivers/spi/tegra210_qspi.c
drivers/spi/ti_qspi.c
drivers/spi/uniphier_spi.c
drivers/spi/xilinx_spi.c
drivers/spi/zynq_qspi.c
drivers/spi/zynq_spi.c
drivers/spi/zynqmp_gqspi.c
drivers/spmi/spmi-msm.c
drivers/spmi/spmi-sandbox.c
drivers/sysinfo/gazerbeam.c
drivers/sysinfo/sandbox.c
drivers/sysreset/poweroff_gpio.c
drivers/sysreset/sysreset-ti-sci.c
drivers/sysreset/sysreset_gpio.c
drivers/sysreset/sysreset_octeon.c
drivers/sysreset/sysreset_resetctl.c
drivers/sysreset/sysreset_socfpga.c
drivers/sysreset/sysreset_sti.c
drivers/sysreset/sysreset_syscon.c
drivers/sysreset/sysreset_watchdog.c
drivers/sysreset/sysreset_x86.c
drivers/tee/optee/core.c
drivers/tee/sandbox.c
drivers/tee/tee-uclass.c
drivers/thermal/imx_scu_thermal.c
drivers/thermal/imx_thermal.c
drivers/thermal/imx_tmu.c
drivers/thermal/ti-bandgap.c
drivers/timer/ag101p_timer.c
drivers/timer/altera_timer.c
drivers/timer/arc_timer.c
drivers/timer/ast_timer.c
drivers/timer/atcpit100_timer.c
drivers/timer/atmel_pit_timer.c
drivers/timer/cadence-ttc.c
drivers/timer/dw-apb-timer.c
drivers/timer/mchp-pit64b-timer.c
drivers/timer/mpc83xx_timer.c
drivers/timer/mtk_timer.c
drivers/timer/nomadik-mtu-timer.c
drivers/timer/omap-timer.c
drivers/timer/ostm_timer.c
drivers/timer/rockchip_timer.c
drivers/timer/sti-timer.c
drivers/timer/stm32_timer.c
drivers/timer/timer-uclass.c
drivers/tpm/cr50_i2c.c
drivers/tpm/tpm-uclass.c
drivers/tpm/tpm2_ftpm_tee.c
drivers/tpm/tpm2_tis_sandbox.c
drivers/tpm/tpm2_tis_spi.c
drivers/tpm/tpm_tis_infineon.c
drivers/tpm/tpm_tis_lpc.c
drivers/tpm/tpm_tis_sandbox.c
drivers/tpm/tpm_tis_st33zp24_i2c.c
drivers/tpm/tpm_tis_st33zp24_spi.c
drivers/ufs/ufs-uclass.c
drivers/usb/cdns3/cdns3-ti.c
drivers/usb/cdns3/core.c
drivers/usb/dwc3/dwc3-generic.c
drivers/usb/dwc3/dwc3-meson-g12a.c
drivers/usb/dwc3/dwc3-meson-gxl.c
drivers/usb/emul/sandbox_flash.c
drivers/usb/emul/sandbox_hub.c
drivers/usb/emul/sandbox_keyb.c
drivers/usb/emul/usb-emul-uclass.c
drivers/usb/eth/asix.c
drivers/usb/eth/asix88179.c
drivers/usb/eth/lan75xx.c
drivers/usb/eth/lan78xx.c
drivers/usb/eth/mcs7830.c
drivers/usb/eth/r8152.c
drivers/usb/eth/smsc95xx.c
drivers/usb/gadget/dwc2_udc_otg.c
drivers/usb/gadget/ether.c
drivers/usb/gadget/max3420_udc.c
drivers/usb/host/dwc2.c
drivers/usb/host/dwc3-of-simple.c
drivers/usb/host/dwc3-sti-glue.c
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ehci-exynos.c
drivers/usb/host/ehci-fsl.c
drivers/usb/host/ehci-generic.c
drivers/usb/host/ehci-marvell.c
drivers/usb/host/ehci-msm.c
drivers/usb/host/ehci-mx5.c
drivers/usb/host/ehci-mx6.c
drivers/usb/host/ehci-omap.c
drivers/usb/host/ehci-pci.c
drivers/usb/host/ehci-tegra.c
drivers/usb/host/ehci-vf.c
drivers/usb/host/ehci-zynq.c
drivers/usb/host/ohci-da8xx.c
drivers/usb/host/ohci-generic.c
drivers/usb/host/ohci-pci.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/usb-sandbox.c
drivers/usb/host/usb-uclass.c
drivers/usb/host/xhci-brcm.c
drivers/usb/host/xhci-dwc3.c
drivers/usb/host/xhci-exynos5.c
drivers/usb/host/xhci-fsl.c
drivers/usb/host/xhci-mtk.c
drivers/usb/host/xhci-mvebu.c
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci-rcar.c
drivers/usb/mtu3/mtu3_plat.c
drivers/usb/musb-new/da8xx.c
drivers/usb/musb-new/mt85xx.c
drivers/usb/musb-new/omap2430.c
drivers/usb/musb-new/pic32.c
drivers/usb/musb-new/sunxi.c
drivers/usb/musb-new/ti-musb.c
drivers/video/am335x-fb.c
drivers/video/atmel_hlcdfb.c
drivers/video/atmel_lcdfb.c
drivers/video/backlight_gpio.c
drivers/video/bridge/anx6345.c
drivers/video/bridge/video-bridge-uclass.c
drivers/video/broadwell_igd.c
drivers/video/console_truetype.c
drivers/video/display-uclass.c
drivers/video/dw_mipi_dsi.c
drivers/video/exynos/exynos_dp.c
drivers/video/exynos/exynos_fb.c
drivers/video/ihs_video_out.c
drivers/video/imx/mxc_ipuv3_fb.c
drivers/video/lg4573.c
drivers/video/logicore_dp_tx.c
drivers/video/mali_dp.c
drivers/video/meson/meson_dw_hdmi.c
drivers/video/meson/meson_vpu.c
drivers/video/mvebu_lcd.c
drivers/video/nexell_display.c
drivers/video/orisetech_otm8009a.c
drivers/video/pwm_backlight.c
drivers/video/raydium-rm68200.c
drivers/video/rockchip/rk3288_hdmi.c
drivers/video/rockchip/rk3288_mipi.c
drivers/video/rockchip/rk3288_vop.c
drivers/video/rockchip/rk3399_hdmi.c
drivers/video/rockchip/rk3399_mipi.c
drivers/video/rockchip/rk3399_vop.c
drivers/video/rockchip/rk_edp.c
drivers/video/rockchip/rk_lvds.c
drivers/video/sandbox_dsi_host.c
drivers/video/sandbox_osd.c
drivers/video/sandbox_sdl.c
drivers/video/simple_panel.c
drivers/video/stm32/stm32_dsi.c
drivers/video/stm32/stm32_ltdc.c
drivers/video/sunxi/sunxi_dw_hdmi.c
drivers/video/sunxi/sunxi_lcd.c
drivers/video/tda19988.c
drivers/video/tegra.c
drivers/video/tegra124/dp.c
drivers/video/tegra124/sor.c
drivers/video/vidconsole-uclass.c
drivers/video/video-uclass.c
drivers/virtio/virtio-uclass.c
drivers/virtio/virtio_blk.c
drivers/virtio/virtio_mmio.c
drivers/virtio/virtio_net.c
drivers/virtio/virtio_pci_legacy.c
drivers/virtio/virtio_pci_modern.c
drivers/virtio/virtio_rng.c
drivers/virtio/virtio_sandbox.c
drivers/w1/mxc_w1.c
drivers/w1/w1-gpio.c
drivers/w1/w1-uclass.c
drivers/watchdog/armada-37xx-wdt.c
drivers/watchdog/ast_wdt.c
drivers/watchdog/at91sam9_wdt.c
drivers/watchdog/bcm6345_wdt.c
drivers/watchdog/cdns_wdt.c
drivers/watchdog/designware_wdt.c
drivers/watchdog/imx_watchdog.c
drivers/watchdog/mt7621_wdt.c
drivers/watchdog/mtk_wdt.c
drivers/watchdog/octeontx_wdt.c
drivers/watchdog/omap_wdt.c
drivers/watchdog/orion_wdt.c
drivers/watchdog/rti_wdt.c
drivers/watchdog/sbsa_gwdt.c
drivers/watchdog/sp805_wdt.c
drivers/watchdog/stm32mp_wdt.c
drivers/watchdog/xilinx_tb_wdt.c
drivers/watchdog/xilinx_wwdt.c
drivers/xen/pvblock.c
include/dm/device.h
include/dm/uclass.h
include/dwmmc.h
include/sdhci.h
include/spi.h
lib/efi_driver/efi_block_device.c
net/eth-uclass.c
net/mdio-mux-uclass.c
net/mdio-uclass.c
test/dm/acpi.c
test/dm/bus.c
test/dm/core.c
test/dm/mux-emul.c
test/dm/regmap.c
test/dm/test-driver.c
test/dm/test-fdt.c
test/dm/test-uclass.c

index a3f872947d5238ff4dbee953ab979d9f1ee0bc52..c1d5c4ecdd81b8085ab8b53d623ab19c0329e095 100644 (file)
@@ -83,6 +83,6 @@ U_BOOT_DRIVER(clk_msm) = {
        .id             = UCLASS_CLK,
        .of_match       = msm_clk_ids,
        .ops            = &msm_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct msm_clk_priv),
+       .priv_auto      = sizeof(struct msm_clk_priv),
        .probe          = msm_clk_probe,
 };
index 64b8b049fa150a7a7d33a9899dce7df241a5ef2e..c51a75ee94b21e16ee44aed3ed690edac507704c 100644 (file)
@@ -131,7 +131,7 @@ U_BOOT_DRIVER(pinctrl_snapdraon) = {
        .name           = "pinctrl_msm",
        .id             = UCLASS_PINCTRL,
        .of_match       = msm_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct msm_pinctrl_priv),
+       .priv_auto      = sizeof(struct msm_pinctrl_priv),
        .ops            = &msm_pinctrl_ops,
        .probe          = msm_pinctrl_probe,
 };
index 69d65c82e3ec42c849e1f64b59db9abdda7d18f7..fbe0b5212f98e3bdf4aa9e5a969ea6d413a84a8f 100644 (file)
@@ -143,6 +143,6 @@ U_BOOT_DRIVER(clk_msm) = {
        .id             = UCLASS_CLK,
        .of_match       = msm_clk_ids,
        .ops            = &msm_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct msm_clk_priv),
+       .priv_auto      = sizeof(struct msm_clk_priv),
        .probe          = msm_clk_probe,
 };
index 4c2af213082ba0969249d217be1d63d9d1d72b93..e6b87c357327913146a4a7afa8c18efdccb10e79 100644 (file)
@@ -123,7 +123,7 @@ U_BOOT_DRIVER(pinctrl_snapdraon) = {
        .name           = "pinctrl_msm",
        .id             = UCLASS_PINCTRL,
        .of_match       = msm_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct msm_pinctrl_priv),
+       .priv_auto      = sizeof(struct msm_pinctrl_priv),
        .ops            = &msm_pinctrl_ops,
        .probe          = msm_pinctrl_probe,
 };
index a9b9bd090277f0fb0298b020b1e73a3ae832ed2c..cb9208981e7005099701454fc6d21668c05468a3 100644 (file)
@@ -513,7 +513,7 @@ U_BOOT_DRIVER(stm32mp_bsec) = {
        .id = UCLASS_MISC,
        .of_match = stm32mp_bsec_ids,
        .ofdata_to_platdata = stm32mp_bsec_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct stm32mp_bsec_platdata),
+       .platdata_auto  = sizeof(struct stm32mp_bsec_platdata),
        .ops = &stm32mp_bsec_ops,
        .probe = stm32mp_bsec_probe,
 };
index 900dee4c38a6cd81e47377480b02fd92edb43cf2..7985049f9b1897469674a127d12ab61498cbbbfa 100644 (file)
@@ -104,7 +104,7 @@ U_BOOT_DRIVER(stm32mp_pwr_pmic) = {
        .bind = stm32mp_pwr_bind,
        .ops = &stm32mp_pwr_ops,
        .ofdata_to_platdata = stm32mp_pwr_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct stm32mp_pwr_priv),
+       .priv_auto      = sizeof(struct stm32mp_pwr_priv),
 };
 
 static const struct stm32mp_pwr_reg_info stm32mp_pwr_reg11 = {
index 70badb15a3beff0b3914de39df00c9ec7c5b40c8..6ff80e5d312c0904c3e46ec6c7b1d57a40c4398c 100644 (file)
@@ -108,5 +108,5 @@ U_BOOT_DRIVER(acpi_gpe_drv) = {
        .of_match       = acpi_gpe_ids,
        .ops            = &acpi_gpe_ops,
        .ofdata_to_platdata     = acpi_gpe_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct acpi_gpe_priv),
+       .priv_auto      = sizeof(struct acpi_gpe_priv),
 };
index cafd9d65b24a5d80b21b580b9e39097d3deacd8e..4b627e325ecf1b77136fdbed6cb7713edd856731 100644 (file)
@@ -403,7 +403,7 @@ U_BOOT_DRIVER(intel_apl_hostbridge) = {
        .ofdata_to_platdata = apl_hostbridge_ofdata_to_platdata,
        .probe          = apl_hostbridge_probe,
        .remove         = apl_hostbridge_remove,
-       .platdata_auto_alloc_size = sizeof(struct apl_hostbridge_platdata),
+       .platdata_auto  = sizeof(struct apl_hostbridge_platdata),
        ACPI_OPS_PTR(&apl_hostbridge_acpi_ops)
        .flags          = DM_FLAG_OS_PREPARE,
 };
index cacaa007e05deea7f4375a67d8478d942fe07426..82e2187c505df4c51aa6a20854d7887010fe823b 100644 (file)
@@ -224,5 +224,5 @@ U_BOOT_DRIVER(intel_apl_pmc) = {
        .ofdata_to_platdata = apl_pmc_ofdata_to_uc_platdata,
        .probe          = apl_pmc_probe,
        .ops            = &apl_pmc_ops,
-       .platdata_auto_alloc_size = sizeof(struct apl_pmc_platdata),
+       .platdata_auto  = sizeof(struct apl_pmc_platdata),
 };
index 089b37c59f8f3f6f17b1e74c707f026c7bb55260..324dd6c9f1bfe210263a8931f9d73adfb5a1d60e 100644 (file)
@@ -125,7 +125,7 @@ U_BOOT_DRIVER(winbond_w25q128fw) = {
        .of_match       = apl_flash_ids,
        .bind           = apl_flash_bind,
        .probe          = apl_flash_probe,
-       .priv_auto_alloc_size = sizeof(struct spi_flash),
+       .priv_auto      = sizeof(struct spi_flash),
        .ops            = &apl_flash_ops,
 };
 
index c522aa97803272c56bc7e6ae9dd1c71f1e538c6e..6695234dce7cf86a6edcdbcea1368e3a9eff2236 100644 (file)
@@ -126,8 +126,8 @@ U_BOOT_DRIVER(intel_apl_ns16550) = {
        .name   = "intel_apl_ns16550",
        .id     = UCLASS_SERIAL,
        .of_match = apl_ns16550_serial_ids,
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-       .priv_auto_alloc_size = sizeof(struct NS16550),
+       .platdata_auto  = sizeof(struct ns16550_platdata),
+       .priv_auto      = sizeof(struct NS16550),
        .ops    = &ns16550_serial_ops,
        .ofdata_to_platdata = apl_ns16550_ofdata_to_platdata,
        .probe = apl_ns16550_probe,
index 706f68f63d652a7f55eea519ed410dd1e380f58c..1ff4dce0b57af7d4516e05529b639ecf031aaa81 100644 (file)
@@ -665,6 +665,6 @@ U_BOOT_DRIVER(cpu_x86_broadwell_drv) = {
        .bind           = cpu_x86_bind,
        .probe          = cpu_x86_broadwell_probe,
        .ops            = &cpu_x86_broadwell_ops,
-       .priv_auto_alloc_size   = sizeof(struct cpu_broadwell_priv),
+       .priv_auto      = sizeof(struct cpu_broadwell_priv),
        .flags          = DM_FLAG_PRE_RELOC,
 };
index 641da515c8f3ed63436fd59249da1d5adfee8907..a31f5234220abc53662357a97f5205447495f84d 100644 (file)
@@ -266,5 +266,5 @@ U_BOOT_DRIVER(ahci_broadwell_drv) = {
        .of_match       = broadwell_ahci_ids,
        .ofdata_to_platdata     = broadwell_sata_ofdata_to_platdata,
        .probe          = broadwell_sata_probe,
-       .platdata_auto_alloc_size        = sizeof(struct sata_platdata),
+       .platdata_auto   = sizeof(struct sata_platdata),
 };
index de17b93ed4334c0d737866ec36f1b41b557c8627..ed0dad320e14cc951c2eb0267956df2195890cea 100644 (file)
@@ -242,6 +242,6 @@ U_BOOT_DRIVER(intel_itss) = {
        .ops            = &itss_ops,
        .bind           = itss_bind,
        .ofdata_to_platdata = itss_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct itss_platdata),
-       .priv_auto_alloc_size = sizeof(struct itss_priv),
+       .platdata_auto  = sizeof(struct itss_platdata),
+       .priv_auto      = sizeof(struct itss_priv),
 };
index a0a4001e03b4c9bdf27bc88bed4264a6abd6d528..40de1d34a3d7e9fe1aca8fc79ee06b2877377a12 100644 (file)
@@ -197,8 +197,8 @@ U_BOOT_DRIVER(intel_p2sb) = {
        .remove         = p2sb_remove,
        .ops            = &p2sb_ops,
        .ofdata_to_platdata = p2sb_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct p2sb_platdata),
-       .per_child_platdata_auto_alloc_size =
+       .platdata_auto  = sizeof(struct p2sb_platdata),
+       .per_child_platdata_auto        =
                sizeof(struct p2sb_child_platdata),
        .child_post_bind = p2sb_child_post_bind,
        .flags          = DM_FLAG_OS_PREPARE,
index 836a0e8b86e5e8b17bc9b0ef71db2d99ab2b6ded..8b53b96822d78fd30ba7e85d830c355c539e62bc 100644 (file)
@@ -362,5 +362,5 @@ U_BOOT_DRIVER(irq_router_drv) = {
        .id             = UCLASS_IRQ,
        .of_match       = irq_router_ids,
        .probe          = irq_router_probe,
-       .priv_auto_alloc_size = sizeof(struct irq_router),
+       .priv_auto      = sizeof(struct irq_router),
 };
index 9813f7977b531839aaba3d5cb1d163f7ee85cbe2..5ffce9835d0782cebb1079832dbed1b76dcf5318 100644 (file)
@@ -58,8 +58,8 @@ U_BOOT_DRIVER(serial_slimbootloader) = {
        .id     = UCLASS_SERIAL,
        .of_match = slimbootloader_serial_ids,
        .ofdata_to_platdata = slimbootloader_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-       .priv_auto_alloc_size = sizeof(struct NS16550),
+       .platdata_auto  = sizeof(struct ns16550_platdata),
+       .priv_auto      = sizeof(struct NS16550),
        .probe  = ns16550_serial_probe,
        .ops    = &ns16550_serial_ops,
 };
index 5b0e106011ab5a3ea2ca76191af8c0e4c5257ada..acf97e3af51ddcb94c4f5b7156cd1b70d9c88dcd 100644 (file)
@@ -191,5 +191,5 @@ U_BOOT_DRIVER(tangier_pinctrl) = {
        .id = UCLASS_SYSCON,
        .of_match = tangier_pinctrl_match,
        .probe = tangier_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct mrfld_pinctrl),
+       .priv_auto      = sizeof(struct mrfld_pinctrl),
 };
index 3cd7b1f536e548e662e441d77a90d3d9bcc3703e..083aec8d8dd7010202df19345d5393ba7f28b7ff 100644 (file)
@@ -113,5 +113,5 @@ U_BOOT_DRIVER(intel_mid_pmu) = {
        .id             = UCLASS_SYSCON,
        .of_match       = pmu_mid_match,
        .probe          = pmu_mid_probe,
-       .priv_auto_alloc_size = sizeof(struct pmu_mid),
+       .priv_auto      = sizeof(struct pmu_mid),
 };
index d29d701631d27095f437e49d15ec1c8b88514dfa..90ef239bcd3def2f10f55497bc8a95129b338893 100644 (file)
@@ -227,5 +227,5 @@ U_BOOT_DRIVER(scu_ipc) = {
        .id             = UCLASS_SYSCON,
        .of_match       = scu_ipc_match,
        .probe          = scu_ipc_probe,
-       .priv_auto_alloc_size = sizeof(struct scu),
+       .priv_auto      = sizeof(struct scu),
 };
index a20a34a92a8d4933915ff7afb6a5757e86d4aea9..e3fa3526b75d773fc6e2b945cf950fc30cb0adac 100644 (file)
@@ -188,5 +188,5 @@ U_BOOT_DRIVER(sysreset_renesas_ulcb) = {
        .ops            = &renesas_ulcb_sysreset,
        .probe          = renesas_ulcb_sysreset_probe,
        .of_match       = renesas_ulcb_sysreset_ids,
-       .priv_auto_alloc_size = sizeof(struct renesas_ulcb_sysreset_priv),
+       .priv_auto      = sizeof(struct renesas_ulcb_sysreset_priv),
 };
index e578f0be28467ba15fdc9a919fa92626d89c3e43..36bf2abfeec8e21d767a078b4bac3220c4fd3dfd 100644 (file)
@@ -958,9 +958,9 @@ UCLASS_DRIVER(usb_hub) = {
        .post_bind      = dm_scan_fdt_dev,
        .post_probe     = usb_hub_post_probe,
        .child_pre_probe        = usb_child_pre_probe,
-       .per_child_auto_alloc_size = sizeof(struct usb_device),
-       .per_child_platdata_auto_alloc_size = sizeof(struct usb_dev_platdata),
-       .per_device_auto_alloc_size = sizeof(struct usb_hub_device),
+       .per_child_auto = sizeof(struct usb_device),
+       .per_child_platdata_auto        = sizeof(struct usb_dev_platdata),
+       .per_device_auto        = sizeof(struct usb_hub_device),
 };
 
 static const struct usb_device_id hub_id_table[] = {
index ff254419951ffafbe1a8375c8f36870d6c44caf5..4c8ad1be6d966b4238bf61848319780e67cf6cda 100644 (file)
@@ -1529,7 +1529,7 @@ U_BOOT_DRIVER(usb_mass_storage) = {
        .of_match = usb_mass_storage_ids,
        .probe = usb_mass_storage_probe,
 #if CONFIG_IS_ENABLED(BLK)
-       .platdata_auto_alloc_size       = sizeof(struct us_data),
+       .platdata_auto  = sizeof(struct us_data),
 #endif
 };
 
index 96525b6ccc5ff95342b70342de928cb8cfe2c53b..92d130480713ee4b1924f1d761db13e2f550b8a0 100644 (file)
@@ -448,10 +448,10 @@ The easiest way to make this work it to add a few members to the driver:
 
 .. code-block:: c
 
-       .platdata_auto_alloc_size = sizeof(struct dm_test_pdata),
+       .platdata_auto = sizeof(struct dm_test_pdata),
        .ofdata_to_platdata = testfdt_ofdata_to_platdata,
 
-The 'auto_alloc' feature allowed space for the platdata to be allocated
+The 'auto' feature allowed space for the platdata to be allocated
 and zeroed before the driver's ofdata_to_platdata() method is called. The
 ofdata_to_platdata() method, which the driver write supplies, should parse
 the device tree node for this device and place it in dev->platdata. Thus
@@ -464,7 +464,7 @@ probe method it will be called next. See Driver Lifecycle below for more
 details.
 
 If you don't want to have the platdata automatically allocated then you
-can leave out platdata_auto_alloc_size. In this case you can use malloc
+can leave out platdata_auto. In this case you can use malloc
 in your ofdata_to_platdata (or probe) method to allocate the required memory,
 and you should free it in the remove method.
 
@@ -589,7 +589,7 @@ as the bus speed for each device.
 
 To achieve this, the bus device can use dev->parent_platdata in each of its
 three children. This can be auto-allocated if the bus driver (or bus uclass)
-has a non-zero value for per_child_platdata_auto_alloc_size. If not, then
+has a non-zero value for per_child_platdata_auto. If not, then
 the bus device or uclass can allocate the space itself before the child
 device is probed.
 
@@ -695,24 +695,24 @@ platdata. A parent's ofdata is always read before a child.
 
 The steps are:
 
-   1. If priv_auto_alloc_size is non-zero, then the device-private space
+   1. If priv_auto is non-zero, then the device-private space
    is allocated for the device and zeroed. It will be accessible as
    dev->priv. The driver can put anything it likes in there, but should use
    it for run-time information, not platform data (which should be static
    and known before the device is probed).
 
-   2. If platdata_auto_alloc_size is non-zero, then the platform data space
+   2. If platdata_auto is non-zero, then the platform data space
    is allocated. This is only useful for device tree operation, since
    otherwise you would have to specific the platform data in the
    U_BOOT_DEVICE() declaration. The space is allocated for the device and
    zeroed. It will be accessible as dev->platdata.
 
-   3. If the device's uclass specifies a non-zero per_device_auto_alloc_size,
+   3. If the device's uclass specifies a non-zero per_device_auto,
    then this space is allocated and zeroed also. It is allocated for and
    stored in the device, but it is uclass data. owned by the uclass driver.
    It is possible for the device to access it.
 
-   4. If the device's immediate parent specifies a per_child_auto_alloc_size
+   4. If the device's immediate parent specifies a per_child_auto
    then this space is allocated. This is intended for use by the parent
    device to keep track of things related to the child. For example a USB
    flash stick attached to a USB host controller would likely use this
@@ -726,7 +726,7 @@ The steps are:
    works the same way whether it was bound using a device tree node or
    U_BOOT_DEVICE() structure. In either case, the platform data is now stored
    in the platdata structure. Typically you will use the
-   platdata_auto_alloc_size feature to specify the size of the platform data
+   platdata_auto feature to specify the size of the platform data
    structure, and U-Boot will automatically allocate and zero it for you before
    entry to ofdata_to_platdata(). But if not, you can allocate it yourself in
    ofdata_to_platdata(). Note that it is preferable to do all the device tree
@@ -795,9 +795,9 @@ as above and then following these steps (see device_probe()):
       - uclass data in dev->uclass_priv (for things the uclass stores
         about this device)
 
-   Note: If you don't use priv_auto_alloc_size then you will need to
+   Note: If you don't use priv_auto then you will need to
    allocate the priv space here yourself. The same applies also to
-   platdata_auto_alloc_size. Remember to free them in the remove() method.
+   platdata_auto. Remember to free them in the remove() method.
 
    5. The device is marked 'activated'
 
@@ -843,10 +843,10 @@ remove it. This performs the probe steps in reverse:
    be dynamically allocated, and thus needs to be deallocated during the
    remove() method, either:
 
-      - if the platdata_auto_alloc_size is non-zero, the deallocation
+      - if the platdata_auto is non-zero, the deallocation
         happens automatically within the driver model core; or
 
-      - when platdata_auto_alloc_size is 0, both the allocation (in probe()
+      - when platdata_auto is 0, both the allocation (in probe()
         or preferably ofdata_to_platdata()) and the deallocation in remove()
         are the responsibility of the driver author.
 
index 1f5310daaa0834acf11a3fc850696764d21eae98..781644d2e276fc0c6015521b6246ee7bd992e39b 100644 (file)
@@ -28,14 +28,14 @@ the UCLASS_ETH .id field in the U-Boot driver struct:
                .ofdata_to_platdata     = eth_ape_ofdata_to_platdata,
                .probe                  = eth_ape_probe,
                .ops                    = &eth_ape_ops,
-               .priv_auto_alloc_size   = sizeof(struct eth_ape_priv),
-               .platdata_auto_alloc_size = sizeof(struct eth_ape_pdata),
+               .priv_auto      = sizeof(struct eth_ape_priv),
+               .platdata_auto = sizeof(struct eth_ape_pdata),
                .flags                  = DM_FLAG_ALLOC_PRIV_DMA,
        };
 
 struct eth_ape_priv contains runtime per-instance data, like buffers, pointers
 to current descriptors, current speed settings, pointers to PHY related data
-(like struct mii_dev) and so on. Declaring its size in .priv_auto_alloc_size
+(like struct mii_dev) and so on. Declaring its size in .priv_auto
 will let the driver framework allocate it at the right time.
 It can be retrieved using a dev_get_priv(dev) call.
 
@@ -43,7 +43,7 @@ struct eth_ape_pdata contains static platform data, like the MMIO base address,
 a hardware variant, the MAC address. ``struct eth_pdata eth_pdata``
 as the first member of this struct helps to avoid duplicated code.
 If you don't need any more platform data beside the standard member,
-just use sizeof(struct eth_pdata) for the platdata_auto_alloc_size.
+just use sizeof(struct eth_pdata) for the platdata_auto.
 
 PCI devices add a line pointing to supported vendor/device ID pairs:
 
index 58481665cecea90a475c36bc78ac7b4316ce9387..2df59edb7ccfffc73c3f7a169cb616bb965e7c44 100644 (file)
@@ -293,8 +293,8 @@ For example:
             .of_match       = mmc_ids,
             .ofdata_to_platdata = mmc_ofdata_to_platdata,
             .probe          = mmc_probe,
-            .priv_auto_alloc_size = sizeof(struct mmc_priv),
-            .platdata_auto_alloc_size = sizeof(struct mmc_platdata),
+            .priv_auto = sizeof(struct mmc_priv),
+            .platdata_auto = sizeof(struct mmc_platdata),
     };
 
     U_BOOT_DRIVER_ALIAS(mmc_drv, vendor_mmc) /* matches compatible string */
@@ -305,7 +305,7 @@ keep the use of each of-platdata struct to the smallest possible code area.
 There is just one driver C file for each struct, that can convert from the
 of-platdata struct to the standard one used by the driver.
 
-In the case where SPL_OF_PLATDATA is enabled, platdata_auto_alloc_size is
+In the case where SPL_OF_PLATDATA is enabled, platdata_auto is
 still used to allocate space for the platform data. This is different from
 the normal behaviour and is triggered by the use of of-platdata (strictly
 speaking it is a non-zero platdata_size which triggers this).
index 9631a5059d3f9bc3fccb0a77ee96082c4bd1722c..a12d6922e55039c39dbacf9c690e160298cb878f 100644 (file)
@@ -231,7 +231,7 @@ tree, but we need to tell it the size:
 
        U_BOOT_DRIVER(spi_exynos) = {
        ...
-               .platdata_auto_alloc_size = sizeof(struct exynos_spi_platdata),
+               .platdata_auto = sizeof(struct exynos_spi_platdata),
 
 
 Here is a sample function. It gets a pointer to the platform data and
@@ -335,7 +335,7 @@ DM can auto-allocate this also:
 
        U_BOOT_DRIVER(spi_exynos) = {
        ...
-               .priv_auto_alloc_size = sizeof(struct exynos_spi_priv),
+               .priv_auto = sizeof(struct exynos_spi_priv),
 
 
 Note that this is created before the probe method is called, and destroyed
@@ -621,7 +621,7 @@ needs, but this is the minimum.
 
        U_BOOT_DRIVER(exynos_spi) = {
        ...
-               .per_child_auto_alloc_size      = sizeof(struct spi_slave),
+               .per_child_auto = sizeof(struct spi_slave),
        }
 
 
index 1817df420fbfd1a91e9b0f5bc077a91c256b8f75..5f7cbfce0973f581b06453d27737ea0e65eae537 100644 (file)
@@ -43,8 +43,8 @@ as drivers in the USB uclass. For example:
                .probe = tegra_ehci_usb_probe,
                .remove = tegra_ehci_usb_remove,
                .ops    = &ehci_usb_ops,
-               .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-               .priv_auto_alloc_size = sizeof(struct fdt_usb),
+               .platdata_auto = sizeof(struct usb_platdata),
+               .priv_auto = sizeof(struct fdt_usb),
                .flags  = DM_FLAG_ALLOC_PRIV_DMA,
        };
 
@@ -58,7 +58,7 @@ The ops here are ehci_usb_ops. All EHCI drivers will use these same ops in
 most cases, since they are all EHCI-compatible. For EHCI there are also some
 special operations that can be overridden when calling ehci_register().
 
-The driver can use priv_auto_alloc_size to set the size of its private data.
+The driver can use priv_auto to set the size of its private data.
 This can hold run-time information needed by the driver for operation. It
 exists when the device is probed (not when it is bound) and is removed when
 the driver is removed.
index e40ac360e860eeae24a5110b3a47e89992586917..f47ca8832ded7e9ab546c7af5b890806ac095840 100644 (file)
@@ -37,7 +37,7 @@ Design decisions:
   modify clk-uclass.c file and add there struct uc_clk_priv, which would have
   clock related members (like pointer to clk). As of this writing there is no
   such need, so to avoid extra allocations (as it can be auto allocated by
-  setting .per_device_auto_alloc_size = sizeof(struct uc_clk_priv)) the
+  setting .per_device_auto = sizeof(struct uc_clk_priv)) the
   uclass_priv stores the pointer to struct clk.
 
 * Non-CCF clocks do not have a pointer to a clock in clk->dev->priv. In the case
index d435667258109801562684b9c5c12dab5a821de2..7d0c8579478385f6d458e5da787679c7bf5ca76a 100644 (file)
@@ -437,5 +437,5 @@ UCLASS_DRIVER(adc) = {
        .id     = UCLASS_ADC,
        .name   = "adc",
        .pre_probe =  adc_pre_probe,
-       .per_device_platdata_auto_alloc_size = ADC_UCLASS_PLATDATA_SIZE,
+       .per_device_platdata_auto       = ADC_UCLASS_PLATDATA_SIZE,
 };
index b459b5705076a7b5a702cf0d113d24f12b88824e..6bdc45a5fc0cf9d3669256c4be5ecb522ca02f14 100644 (file)
@@ -140,5 +140,5 @@ U_BOOT_DRIVER(exynos_adc) = {
        .ops            = &exynos_adc_ops,
        .probe          = exynos_adc_probe,
        .ofdata_to_platdata = exynos_adc_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct exynos_adc_priv),
+       .priv_auto      = sizeof(struct exynos_adc_priv),
 };
index 72b0cc4e5bd14d222a714c838da5a3c3038bf24b..469ab1f178d1a6db507f7e18787d1e558c0372b1 100644 (file)
@@ -721,5 +721,5 @@ U_BOOT_DRIVER(meson_saradc) = {
        .ops            = &meson_saradc_ops,
        .probe          = meson_saradc_probe,
        .ofdata_to_platdata = meson_saradc_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct meson_saradc_priv),
+       .priv_auto      = sizeof(struct meson_saradc_priv),
 };
index 561740f63b5fa5632ca159e3883e38e6ffdbce35..1e127209746ab7a6b3ff0e6e56af1a8add86ea74 100644 (file)
@@ -180,5 +180,5 @@ U_BOOT_DRIVER(rockchip_saradc) = {
        .ops            = &rockchip_saradc_ops,
        .probe          = rockchip_saradc_probe,
        .ofdata_to_platdata = rockchip_saradc_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct rockchip_saradc_priv),
+       .priv_auto      = sizeof(struct rockchip_saradc_priv),
 };
index 1f32289f60366826be2856ae11f0bd7a23b610e8..14f2c2a7ed0a77f3074fecb9703be1f2a3573a46 100644 (file)
@@ -169,5 +169,5 @@ U_BOOT_DRIVER(sandbox_adc) = {
        .ops            = &sandbox_adc_ops,
        .probe          = sandbox_adc_probe,
        .ofdata_to_platdata = sandbox_adc_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct sandbox_adc_priv),
+       .priv_auto      = sizeof(struct sandbox_adc_priv),
 };
index f20c46fb36cf815c97bc7b8ea87873e4ed1ba222..6c176961f17ae6007f67f26e6762d8dec92afee4 100644 (file)
@@ -209,5 +209,5 @@ U_BOOT_DRIVER(stm32_adc_core) = {
        .id = UCLASS_SIMPLE_BUS,
        .of_match = stm32_adc_core_ids,
        .probe = stm32_adc_core_probe,
-       .priv_auto_alloc_size = sizeof(struct stm32_adc_common),
+       .priv_auto      = sizeof(struct stm32_adc_common),
 };
index 3f0ed48846c7f4f44aae9b24a2c3065781fdd3ef..2c6984f2aa3c67d6734326caaa397cdaaaf359c5 100644 (file)
@@ -258,5 +258,5 @@ U_BOOT_DRIVER(stm32_adc) = {
        .of_match = stm32_adc_ids,
        .probe = stm32_adc_probe,
        .ops = &stm32_adc_ops,
-       .priv_auto_alloc_size = sizeof(struct stm32_adc),
+       .priv_auto      = sizeof(struct stm32_adc),
 };
index 42bbff962bcfc2886a6bac623e862830bb8d5402..c4c7a03fe744d6c53d2d014b16c9223b148cab9e 100644 (file)
@@ -11,5 +11,5 @@
 UCLASS_DRIVER(ahci) = {
        .id             = UCLASS_AHCI,
        .name           = "ahci",
-       .per_device_auto_alloc_size = sizeof(struct ahci_uc_priv),
+       .per_device_auto        = sizeof(struct ahci_uc_priv),
 };
index ed0527c97688816d3a4b5d1501300678615ae0ed..a865bcbcf9edcc4fdc1315ed1ebb73028cc1c921 100644 (file)
@@ -95,5 +95,5 @@ U_BOOT_DRIVER(dwc_ahci) = {
        .ofdata_to_platdata = dwc_ahci_ofdata_to_platdata,
        .ops    = &scsi_ops,
        .probe  = dwc_ahci_probe,
-       .priv_auto_alloc_size = sizeof(struct dwc_ahci_priv),
+       .priv_auto      = sizeof(struct dwc_ahci_priv),
 };
index 8c6726a62146419bcd9abddb821f7cd68a86784c..8e4f382fd1855fb0a263a06185c60192ed409e2c 100644 (file)
@@ -900,7 +900,7 @@ U_BOOT_DRIVER(sata_fsl_driver) = {
        .name = "sata_fsl_blk",
        .id = UCLASS_BLK,
        .ops = &sata_fsl_blk_ops,
-       .platdata_auto_alloc_size = sizeof(struct fsl_ata_priv),
+       .platdata_auto  = sizeof(struct fsl_ata_priv),
 };
 
 static int fsl_ata_ofdata_to_platdata(struct udevice *dev)
@@ -1029,6 +1029,6 @@ U_BOOT_DRIVER(fsl_ahci) = {
        .ofdata_to_platdata = fsl_ata_ofdata_to_platdata,
        .probe  = fsl_ata_probe,
        .remove = fsl_ata_remove,
-       .priv_auto_alloc_size = sizeof(struct fsl_ata_priv),
+       .priv_auto      = sizeof(struct fsl_ata_priv),
 };
 #endif
index 4ad260a5bb9ab55f940d98d64513f41d0fe59f3c..ac7fa493b2f3659db049ae5d1dfe676455c0896f 100644 (file)
@@ -124,5 +124,5 @@ U_BOOT_DRIVER(mtk_ahci) = {
        .ofdata_to_platdata = mtk_ahci_ofdata_to_platdata,
        .ops    = &scsi_ops,
        .probe  = mtk_ahci_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_ahci_priv),
+       .priv_auto      = sizeof(struct mtk_ahci_priv),
 };
index 77508aa5bc76f568ea19d0cd8d8a976823ee7ddc..9a77725ae6124aecefaee0c99def76c26ab1e6bf 100644 (file)
@@ -233,7 +233,7 @@ U_BOOT_DRIVER(ceva_host_blk) = {
        .of_match = sata_ceva_ids,
        .bind = sata_ceva_bind,
        .ops = &scsi_ops,
-       .priv_auto_alloc_size = sizeof(struct ceva_sata_priv),
+       .priv_auto      = sizeof(struct ceva_sata_priv),
        .probe = sata_ceva_probe,
        .ofdata_to_platdata = sata_ceva_ofdata_to_platdata,
 };
index b2b5c699ad14910392776bc228e9f678f23ea609..b49bd5c54503d29501578bb2f4565bdc89eccb87 100644 (file)
@@ -1030,7 +1030,7 @@ U_BOOT_DRIVER(sata_mv_driver) = {
        .name = "sata_mv_blk",
        .id = UCLASS_BLK,
        .ops = &sata_mv_blk_ops,
-       .platdata_auto_alloc_size = sizeof(struct mv_priv),
+       .platdata_auto  = sizeof(struct mv_priv),
 };
 
 static int sata_mv_probe(struct udevice *dev)
index d5ba94c1725326f2c0c25970312dbefe70e04c34..4d83f756b2bd2e419a6dcec04e2132822350709d 100644 (file)
@@ -772,7 +772,7 @@ U_BOOT_DRIVER(sata_sil_driver) = {
        .name = "sata_sil_blk",
        .id = UCLASS_BLK,
        .ops = &sata_sil_blk_ops,
-       .platdata_auto_alloc_size = sizeof(struct sil_sata_priv),
+       .platdata_auto  = sizeof(struct sil_sata_priv),
 };
 
 static int sil_unbind_device(struct udevice *dev)
@@ -920,7 +920,7 @@ U_BOOT_DRIVER(sil_ahci_pci) = {
        .ops = &sata_sil_ops,
        .probe = sil_pci_probe,
        .remove = sil_pci_remove,
-       .priv_auto_alloc_size = sizeof(struct sil_sata_priv),
+       .priv_auto      = sizeof(struct sil_sata_priv),
 };
 
 U_BOOT_PCI_DEVICE(sil_ahci_pci, supported);
index 3945511090708ff403f31ad34d20a2b56e9f0481..a7e9761fbfc2bcee2b31c2c3fe725696ec221033 100644 (file)
@@ -291,6 +291,6 @@ U_BOOT_DRIVER(ihs_axi_bus) = {
        .id             = UCLASS_AXI,
        .of_match       = ihs_axi_ids,
        .ops            = &ihs_axi_ops,
-       .priv_auto_alloc_size = sizeof(struct ihs_axi_priv),
+       .priv_auto      = sizeof(struct ihs_axi_priv),
        .probe          = ihs_axi_probe,
 };
index 42bcae6af26b46de9ce5c8a2f612c57bbb25e733..ef349a50b7981736912b38b9966e0138bd6b584b 100644 (file)
@@ -119,7 +119,7 @@ U_BOOT_DRIVER(sandbox_axi_store) = {
        .id             = UCLASS_AXI_EMUL,
        .of_match       = sandbox_store_ids,
        .ops            = &sandbox_store_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_store_priv),
+       .priv_auto      = sizeof(struct sandbox_store_priv),
        .probe          = sandbox_store_probe,
        .remove         = sandbox_store_remove,
 };
index 2fb9f6b765ee61010c3f8cfb69dc8cd26b32dcc9..714e5d769c3e32a01fde32c2e9a5312bdf48dc47 100644 (file)
@@ -660,5 +660,5 @@ UCLASS_DRIVER(blk) = {
        .id             = UCLASS_BLK,
        .name           = "blk",
        .post_probe     = blk_post_probe,
-       .per_device_platdata_auto_alloc_size = sizeof(struct blk_desc),
+       .per_device_platdata_auto       = sizeof(struct blk_desc),
 };
index cca2237136a6edfa2e41b7d15da8f62a0b039235..e5ef260cf2b1d77f5af068e7f21794fb184e2c36 100644 (file)
@@ -228,7 +228,7 @@ U_BOOT_DRIVER(sandbox_host_blk) = {
        .name           = "sandbox_host_blk",
        .id             = UCLASS_BLK,
        .ops            = &sandbox_host_blk_ops,
-       .platdata_auto_alloc_size = sizeof(struct host_block_dev),
+       .platdata_auto  = sizeof(struct host_block_dev),
 };
 #else
 U_BOOT_LEGACY_BLK(sandbox_host) = {
index e8db8542f9349c099ad8c477646f96eba174a3e2..343b8a34414fb2b86b8dcd00ef5d3d009712ec3a 100644 (file)
@@ -136,7 +136,7 @@ static const struct udevice_id bootcount_mem_ids[] = {
 U_BOOT_DRIVER(bootcount_mem) = {
        .name   = "bootcount-mem",
        .id     = UCLASS_BOOTCOUNT,
-       .priv_auto_alloc_size = sizeof(struct bootcount_mem_priv),
+       .priv_auto      = sizeof(struct bootcount_mem_priv),
        .probe  = bootcount_mem_probe,
        .of_match = bootcount_mem_ids,
        .ops    = &bootcount_mem_ops,
index a3aa0cf5595787b278e2bd68e6605df99bcdc32c..709be094b118084e7a340b215516bf23be3e3225 100644 (file)
@@ -89,7 +89,7 @@ static const struct udevice_id bootcount_i2c_eeprom_ids[] = {
 U_BOOT_DRIVER(bootcount_spi_flash) = {
        .name   = "bootcount-i2c-eeprom",
        .id     = UCLASS_BOOTCOUNT,
-       .priv_auto_alloc_size = sizeof(struct bootcount_i2c_eeprom_priv),
+       .priv_auto      = sizeof(struct bootcount_i2c_eeprom_priv),
        .probe  = bootcount_i2c_eeprom_probe,
        .of_match = bootcount_i2c_eeprom_ids,
        .ops    = &bootcount_i2c_eeprom_ops,
index 076a8bb2be8dcbcdcc4df7b2782df7075a55f769..483caaa80df400d11c4796d7ac45d55c96801bb1 100644 (file)
@@ -83,7 +83,7 @@ static const struct udevice_id bootcount_rtc_ids[] = {
 U_BOOT_DRIVER(bootcount_rtc) = {
        .name   = "bootcount-rtc",
        .id     = UCLASS_BOOTCOUNT,
-       .priv_auto_alloc_size = sizeof(struct bootcount_rtc_priv),
+       .priv_auto      = sizeof(struct bootcount_rtc_priv),
        .probe  = bootcount_rtc_probe,
        .of_match = bootcount_rtc_ids,
        .ops    = &bootcount_rtc_ops,
index 7cd388e6616c616d5d96fc5d35fb08fdeb3b223c..03050e66613470cedd1d2623c3c75d5e662037c0 100644 (file)
@@ -118,7 +118,7 @@ static const struct udevice_id bootcount_spi_flash_ids[] = {
 U_BOOT_DRIVER(bootcount_spi_flash) = {
        .name   = "bootcount-spi-flash",
        .id     = UCLASS_BOOTCOUNT,
-       .priv_auto_alloc_size = sizeof(struct bootcount_spi_flash_priv),
+       .priv_auto      = sizeof(struct bootcount_spi_flash_priv),
        .probe  = bootcount_spi_flash_probe,
        .of_match = bootcount_spi_flash_ids,
        .ops    = &bootcount_spi_flash_ops,
index 985ae7f5a7680a1bfab8118b3d5586b9522d9160..756cd6972b2fcb7cc7fa5c26afe0ab882abd52ae 100644 (file)
@@ -105,7 +105,7 @@ U_BOOT_DRIVER(button_gpio) = {
        .id             = UCLASS_BUTTON,
        .of_match       = button_gpio_ids,
        .ops            = &button_gpio_ops,
-       .priv_auto_alloc_size = sizeof(struct button_gpio_priv),
+       .priv_auto      = sizeof(struct button_gpio_priv),
        .bind           = button_gpio_bind,
        .probe          = button_gpio_probe,
        .remove         = button_gpio_remove,
index 1c742c265cfd1afd4e5abfdcbb332e2ac6bda92d..133f4dead1a6edcfe8990a047003e25e73654fdc 100644 (file)
@@ -39,5 +39,5 @@ enum button_state_t button_get_state(struct udevice *dev)
 UCLASS_DRIVER(button) = {
        .id             = UCLASS_BUTTON,
        .name           = "button",
-       .per_device_platdata_auto_alloc_size = sizeof(struct button_uc_plat),
+       .per_device_platdata_auto       = sizeof(struct button_uc_plat),
 };
index 51c074bfe233c4a5b5e3f20c4596764ed1ff619d..3d33a51e2e1fafabe1b433d41e6b642854143bd8 100644 (file)
@@ -182,7 +182,7 @@ U_BOOT_DRIVER(v5l2_cache) = {
        .of_match = v5l2_cache_ids,
        .ofdata_to_platdata = v5l2_ofdata_to_platdata,
        .probe  = v5l2_probe,
-       .platdata_auto_alloc_size = sizeof(struct v5l2_plat),
+       .platdata_auto  = sizeof(struct v5l2_plat),
        .ops = &v5l2_cache_ops,
        .flags  = DM_FLAG_PRE_RELOC,
 };
index a539889d5be4d8272f361b2f60c9439d3aa6ca6d..8a71e2f8a1da2a4cbe4cec15a685beabd09c49dd 100644 (file)
@@ -658,5 +658,5 @@ U_BOOT_DRIVER(socfpga_agilex_clk) = {
        .ops            = &socfpga_clk_ops,
        .probe          = socfpga_clk_probe,
        .ofdata_to_platdata = socfpga_clk_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct socfpga_clk_platdata),
+       .platdata_auto  = sizeof(struct socfpga_clk_platdata),
 };
index 732ed4d79b9f25677eb6add4e7af0eecfd66d96b..1d853cd300309745837354d39ae845fb4453a73c 100644 (file)
@@ -359,5 +359,5 @@ U_BOOT_DRIVER(socfpga_a10_clk) = {
        .probe          = socfpga_a10_clk_probe,
        .ofdata_to_platdata = socfpga_a10_ofdata_to_platdata,
 
-       .platdata_auto_alloc_size = sizeof(struct socfpga_a10_clk_platdata),
+       .platdata_auto  = sizeof(struct socfpga_a10_clk_platdata),
 };
index aab7d14deb75fd32ebab76fadffcce8936650f67..e2e8d49b655e79c600862e64202352bddf35c64a 100644 (file)
@@ -523,7 +523,7 @@ U_BOOT_DRIVER(aspeed_ast2500_scu) = {
        .name           = "aspeed_ast2500_scu",
        .id             = UCLASS_CLK,
        .of_match       = ast2500_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct ast2500_clk_priv),
+       .priv_auto      = sizeof(struct ast2500_clk_priv),
        .ops            = &ast2500_clk_ops,
        .bind           = ast2500_clk_bind,
        .ofdata_to_platdata             = ast2500_clk_ofdata_to_platdata,
index afd67b290d8a58715c3d741ea4c20d840c0f65ee..1b437117668fb1a4429a46760712f2c337f22d35 100644 (file)
@@ -225,7 +225,7 @@ U_BOOT_DRIVER(at91sam9x5_main_osc_clk) = {
        .id = UCLASS_CLK,
        .of_match = main_osc_clk_match,
        .probe = main_osc_clk_probe,
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .ops = &main_osc_clk_ops,
 };
 
@@ -266,7 +266,7 @@ U_BOOT_DRIVER(at91_plla_clk) = {
        .id = UCLASS_CLK,
        .of_match = plla_clk_match,
        .probe = plla_clk_probe,
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .ops = &plla_clk_ops,
 };
 
@@ -340,7 +340,7 @@ U_BOOT_DRIVER(at91_plladiv_clk) = {
        .id = UCLASS_CLK,
        .of_match = at91_plladiv_clk_match,
        .probe = at91_plladiv_clk_probe,
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .ops = &at91_plladiv_clk_ops,
 };
 
@@ -437,7 +437,7 @@ U_BOOT_DRIVER(system_clk) = {
        .name = "system-clk",
        .id = UCLASS_CLK,
        .probe = at91_clk_probe,
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .ops = &system_clk_ops,
 };
 
@@ -536,7 +536,7 @@ static struct clk_ops periph_clk_ops = {
 U_BOOT_DRIVER(clk_periph) = {
        .name   = "periph-clk",
        .id     = UCLASS_CLK,
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .probe = at91_clk_probe,
        .ops    = &periph_clk_ops,
 };
@@ -668,7 +668,7 @@ U_BOOT_DRIVER(at91sam9x5_utmi_clk) = {
        .of_match = utmi_clk_match,
        .probe = utmi_clk_probe,
        .ofdata_to_platdata = utmi_clk_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .ops = &utmi_clk_ops,
 };
 
@@ -713,7 +713,7 @@ U_BOOT_DRIVER(sama5d4_h32mx_clk) = {
        .id = UCLASS_CLK,
        .of_match = sama5d4_h32mx_clk_match,
        .probe = sama5d4_h32mx_clk_probe,
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .ops = &sama5d4_h32mx_clk_ops,
 };
 
@@ -876,8 +876,8 @@ U_BOOT_DRIVER(generic_clk) = {
        .id = UCLASS_CLK,
        .probe = at91_clk_probe,
        .ofdata_to_platdata = generic_clk_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct generic_clk_priv),
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .priv_auto      = sizeof(struct generic_clk_priv),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .ops = &generic_clk_ops,
 };
 
@@ -1012,8 +1012,8 @@ U_BOOT_DRIVER(at91_usb_clk) = {
        .of_match = at91_usb_clk_match,
        .probe = at91_usb_clk_probe,
        .ofdata_to_platdata = at91_usb_clk_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct at91_usb_clk_priv),
-       .platdata_auto_alloc_size = sizeof(struct pmc_platdata),
+       .priv_auto      = sizeof(struct at91_usb_clk_priv),
+       .platdata_auto  = sizeof(struct pmc_platdata),
        .ops = &at91_usb_clk_ops,
 };
 
index dd62dc5510e4cde046488f33adfeca16a67bb296..34ce611a98cf0f9bfad528943332df1a88856bb5 100644 (file)
@@ -165,7 +165,7 @@ U_BOOT_DRIVER(at91_sckc) = {
        .name = UBOOT_DM_CLK_AT91_SCKC,
        .id = UCLASS_CLK,
        .of_match = sam9x60_sckc_ids,
-       .priv_auto_alloc_size = sizeof(struct sam9x60_sckc) * 2,
+       .priv_auto      = sizeof(struct sam9x60_sckc) * 2,
        .ops = &sam9x60_sckc_ops,
        .probe = at91_sam9x60_sckc_probe,
        .flags = DM_FLAG_PRE_RELOC,
index fd47872ab99214a9ad4158588d2985c10c5843dc..6634b7b79953909618898aff803495347ff8c5cf 100644 (file)
@@ -251,6 +251,6 @@ U_BOOT_DRIVER(cdce9xx_clk) = {
        .id = UCLASS_CLK,
        .of_match = cdce9xx_clk_of_match,
        .probe = cdce9xx_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct cdce9xx_clk_data),
+       .priv_auto      = sizeof(struct cdce9xx_clk_data),
        .ops = &cdce9xx_clk_ops,
 };
index 3eb93a55fc412ff2dadd5e90b2550d0beccede82..449b430e23063e3883ea1ec2d8ef1e09968e808b 100644 (file)
@@ -774,6 +774,6 @@ U_BOOT_DRIVER(hsdk_cgu_clk) = {
        .id = UCLASS_CLK,
        .of_match = hsdk_cgu_clk_id,
        .probe = hsdk_cgu_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct hsdk_cgu_clk),
+       .priv_auto      = sizeof(struct hsdk_cgu_clk),
        .ops = &hsdk_cgu_ops,
 };
index 7a9a6451374d488a43fad06256dced511d1d489c..6f0fdaa111c0243a03042b07eff327083edfd3ad 100644 (file)
@@ -220,6 +220,6 @@ U_BOOT_DRIVER(ti_sci_clk) = {
        .id = UCLASS_CLK,
        .of_match = ti_sci_clk_of_match,
        .probe = ti_sci_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct ti_sci_clk_data),
+       .priv_auto      = sizeof(struct ti_sci_clk_data),
        .ops = &ti_sci_clk_ops,
 };
index b850b9fc069be6fccd19f42587e2381fe13e1343..8c22ed2f43d4a6f46cd04ff12040a4aa5eaa3744 100644 (file)
@@ -70,5 +70,5 @@ U_BOOT_DRIVER(clk_bcm6345) = {
        .of_match = bcm6345_clk_ids,
        .ops = &bcm6345_clk_ops,
        .probe = bcm63xx_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6345_clk_priv),
+       .priv_auto      = sizeof(struct bcm6345_clk_priv),
 };
index 2318dcf6a45d8122007fd9eb7fba4021314ada49..99edaec4b5235a73e69faa67ff3957310d595a13 100644 (file)
@@ -92,6 +92,6 @@ U_BOOT_DRIVER(clk_boston) = {
        .id = UCLASS_CLK,
        .of_match = clk_boston_match,
        .ofdata_to_platdata = clk_boston_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct clk_boston),
+       .platdata_auto  = sizeof(struct clk_boston),
        .ops = &clk_boston_ops,
 };
index cf9c4ae367fd25c054ab797523b7571db13e8337..4519e0579b08699bbb3bd7013686c8a612f7b4cd 100644 (file)
@@ -67,6 +67,6 @@ U_BOOT_DRIVER(clk_fixed_factor) = {
        .id = UCLASS_CLK,
        .of_match = clk_fixed_factor_match,
        .ofdata_to_platdata = clk_fixed_factor_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct clk_fixed_factor),
+       .platdata_auto  = sizeof(struct clk_fixed_factor),
        .ops = &clk_fixed_factor_ops,
 };
index f86b4a0e924630df661bda2ab50c14191fde841c..54e5e09b58cd9456e013bd4ab8af2cbbe4d8b9dc 100644 (file)
@@ -51,7 +51,7 @@ U_BOOT_DRIVER(fixed_clock) = {
        .id = UCLASS_CLK,
        .of_match = clk_fixed_rate_match,
        .ofdata_to_platdata = clk_fixed_rate_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct clk_fixed_rate),
+       .platdata_auto  = sizeof(struct clk_fixed_rate),
        .ops = &clk_fixed_rate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index fd559e05fc7f4b3bff2cb2f8dac049053cf2c709..ce274549da00209d419b45558254e69291e6a7aa 100644 (file)
@@ -68,5 +68,5 @@ U_BOOT_DRIVER(clk_octeon) = {
        .of_match = octeon_clk_ids,
        .ops = &octeon_clk_ops,
        .probe = octeon_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct octeon_clk_priv),
+       .priv_auto      = sizeof(struct octeon_clk_priv),
 };
index dc46de2a7cf97ff6fce8c6ab406004529978103e..5a10d4640d7f43cc8f2764926f64038bfda783fc 100644 (file)
@@ -423,5 +423,5 @@ U_BOOT_DRIVER(pic32_clk) = {
        .of_match       = pic32_clk_ids,
        .ops            = &pic32_pic32_clk_ops,
        .probe          = pic32_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct pic32_clk_priv),
+       .priv_auto      = sizeof(struct pic32_clk_priv),
 };
index 0ff1b4963385555172701da66badd5b20ca4611e..2c6c0e239f7e7949cd01280ef873121b072ac570 100644 (file)
@@ -130,7 +130,7 @@ U_BOOT_DRIVER(sandbox_clk) = {
        .of_match       = sandbox_clk_ids,
        .ops            = &sandbox_clk_ops,
        .probe          = sandbox_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_clk_priv),
+       .priv_auto      = sizeof(struct sandbox_clk_priv),
 };
 
 ulong sandbox_clk_query_rate(struct udevice *dev, int id)
index 873383856f9233c090991393c636c25be877a6da..e9eb738684b82013d853f8af493913be03706898 100644 (file)
@@ -189,5 +189,5 @@ U_BOOT_DRIVER(sandbox_clk_test) = {
        .id = UCLASS_MISC,
        .of_match = sandbox_clk_test_ids,
        .probe = sandbox_clk_test_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_clk_test),
+       .priv_auto      = sizeof(struct sandbox_clk_test),
 };
index 93722f74ae4df4ebfae76eecdc5dc6610c442592..7e67895ab79391a7daaa2ce6db88e7edfc117d47 100644 (file)
@@ -726,6 +726,6 @@ U_BOOT_DRIVER(stm32fx_clk) = {
        .id                     = UCLASS_CLK,
        .ops                    = &stm32_clk_ops,
        .probe                  = stm32_clk_probe,
-       .priv_auto_alloc_size   = sizeof(struct stm32_clk),
+       .priv_auto      = sizeof(struct stm32_clk),
        .flags                  = DM_FLAG_PRE_RELOC,
 };
index 5e6abca56fabc25e285524e61992eb8d29dd954a..842925f43e266230f60f2f12578bd33f132ed714 100644 (file)
@@ -868,6 +868,6 @@ U_BOOT_DRIVER(stm32h7_clk) = {
        .id                     = UCLASS_CLK,
        .ops                    = &stm32_clk_ops,
        .probe                  = stm32_clk_probe,
-       .priv_auto_alloc_size   = sizeof(struct stm32_clk),
+       .priv_auto      = sizeof(struct stm32_clk),
        .flags                  = DM_FLAG_PRE_RELOC,
 };
index c8840b9e5f117105c5b0d6ef5b2b21bf234cf5f3..72cbcdf6a21a75adaf5075b67f7ccbbed086d428 100644 (file)
@@ -2332,6 +2332,6 @@ U_BOOT_DRIVER(stm32mp1_clock) = {
        .name = "stm32mp1_clk",
        .id = UCLASS_CLK,
        .ops = &stm32mp1_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct stm32mp1_clk_priv),
+       .priv_auto      = sizeof(struct stm32mp1_clk_priv),
        .probe = stm32mp1_clk_probe,
 };
index d93b860aed35e7b14b847d2796547788ac1fa1e1..908bc7519c427669debc91c41c67b4b5b47dded1 100644 (file)
@@ -734,5 +734,5 @@ U_BOOT_DRIVER(versal_clk) = {
        .of_match = versal_clk_ids,
        .probe = versal_clk_probe,
        .ops = &versal_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct versal_clk_priv),
+       .priv_auto      = sizeof(struct versal_clk_priv),
 };
index b48319bba67f85d1676ba76769e67363408edf3b..3b1e0208d47e483d643a8cbb669d73503b877136 100644 (file)
@@ -107,6 +107,6 @@ U_BOOT_DRIVER(vexpress_osc_clk) = {
        .id = UCLASS_CLK,
        .of_match = vexpress_osc_clk_ids,
        .ops = &vexpress_osc_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct vexpress_osc_clk_priv),
+       .priv_auto      = sizeof(struct vexpress_osc_clk_priv),
        .probe = vexpress_osc_clk_probe,
 };
index a699a3664c335ac738bca1bbaf880f3e786337c4..bf32d8317ab2f4df22045640d5dede49e32a1e3d 100644 (file)
@@ -485,6 +485,6 @@ U_BOOT_DRIVER(zynq_clk) = {
        .id             = UCLASS_CLK,
        .of_match       = zynq_clk_ids,
        .ops            = &zynq_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct zynq_clk_priv),
+       .priv_auto      = sizeof(struct zynq_clk_priv),
        .probe          = zynq_clk_probe,
 };
index 779511975662d6a92bc3e07a96dfbc516bf11016..a9988d8f1a82dcbabcae05b363150118afff9328 100644 (file)
@@ -715,5 +715,5 @@ U_BOOT_DRIVER(zynqmp_clk) = {
        .of_match = zynqmp_clk_ids,
        .probe = zynqmp_clk_probe,
        .ops = &zynqmp_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct zynqmp_clk_priv),
+       .priv_auto      = sizeof(struct zynqmp_clk_priv),
 };
index 4a023ea736b402d29a394e14538eec0d5a8b9363..7d869eb02b8e429946d5cc68c975a241efd4dd4e 100644 (file)
@@ -199,7 +199,7 @@ U_BOOT_DRIVER(exynos7420_clk_topc) = {
        .id = UCLASS_CLK,
        .of_match = exynos7420_clk_topc_compat,
        .probe = exynos7420_clk_topc_probe,
-       .priv_auto_alloc_size = sizeof(struct exynos7420_clk_topc_priv),
+       .priv_auto      = sizeof(struct exynos7420_clk_topc_priv),
        .ops = &exynos7420_clk_topc_ops,
 };
 
@@ -213,7 +213,7 @@ U_BOOT_DRIVER(exynos7420_clk_top0) = {
        .id = UCLASS_CLK,
        .of_match = exynos7420_clk_top0_compat,
        .probe = exynos7420_clk_top0_probe,
-       .priv_auto_alloc_size = sizeof(struct exynos7420_clk_top0_priv),
+       .priv_auto      = sizeof(struct exynos7420_clk_top0_priv),
        .ops = &exynos7420_clk_top0_ops,
 };
 
index 76b27ad7fd0e6b288260ae5ab37cf48d90ee0166..6bc1b8ba9d3ac6ad0e32adfcaa4e7034a7eb715a 100644 (file)
@@ -226,5 +226,5 @@ U_BOOT_DRIVER(ics8n3qv01) = {
        .ops            = &ics8n3qv01_ops,
        .of_match       = ics8n3qv01_ids,
        .probe          = ics8n3qv01_probe,
-       .priv_auto_alloc_size   = sizeof(struct ics8n3qv01_priv),
+       .priv_auto      = sizeof(struct ics8n3qv01_priv),
 };
index 02461491078367b67014da59b9333b0924d1e528..259ea335959cf5de9ea5af3af74f52b1caed745b 100644 (file)
@@ -716,7 +716,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .id = UCLASS_CLK,
        .of_match = mt7622_apmixed_compat,
        .probe = mt7622_apmixedsys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_apmixedsys_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -726,7 +726,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .id = UCLASS_CLK,
        .of_match = mt7622_topckgen_compat,
        .probe = mt7622_topckgen_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_topckgen_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -736,7 +736,7 @@ U_BOOT_DRIVER(mtk_clk_infracfg) = {
        .id = UCLASS_CLK,
        .of_match = mt7622_infracfg_compat,
        .probe = mt7622_infracfg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -746,7 +746,7 @@ U_BOOT_DRIVER(mtk_clk_pericfg) = {
        .id = UCLASS_CLK,
        .of_match = mt7622_pericfg_compat,
        .probe = mt7622_pericfg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -757,7 +757,7 @@ U_BOOT_DRIVER(mtk_clk_pciesys) = {
        .of_match = mt7622_pciesys_compat,
        .probe = mt7622_pciesys_probe,
        .bind = mt7622_pciesys_bind,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
 
@@ -767,7 +767,7 @@ U_BOOT_DRIVER(mtk_clk_ethsys) = {
        .of_match = mt7622_ethsys_compat,
        .probe = mt7622_ethsys_probe,
        .bind = mt7622_ethsys_bind,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
 
@@ -776,7 +776,7 @@ U_BOOT_DRIVER(mtk_clk_sgmiisys) = {
        .id = UCLASS_CLK,
        .of_match = mt7622_sgmiisys_compat,
        .probe = mt7622_sgmiisys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
 
@@ -785,6 +785,6 @@ U_BOOT_DRIVER(mtk_clk_ssusbsys) = {
        .id = UCLASS_CLK,
        .of_match = mt7622_ssusbsys_compat,
        .probe = mt7622_ssusbsys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
index a15fb45e8e7ad6c3d7448f6af206c9ad8a6113ed..0c7411ee814db8b2bcc22cc62f18509325dde845 100644 (file)
@@ -859,7 +859,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .id = UCLASS_CLK,
        .of_match = mt7623_apmixed_compat,
        .probe = mt7623_apmixedsys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_apmixedsys_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -869,7 +869,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .id = UCLASS_CLK,
        .of_match = mt7623_topckgen_compat,
        .probe = mt7623_topckgen_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_topckgen_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -879,7 +879,7 @@ U_BOOT_DRIVER(mtk_clk_infracfg) = {
        .id = UCLASS_CLK,
        .of_match = mt7623_infracfg_compat,
        .probe = mt7623_infracfg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -889,7 +889,7 @@ U_BOOT_DRIVER(mtk_clk_pericfg) = {
        .id = UCLASS_CLK,
        .of_match = mt7623_pericfg_compat,
        .probe = mt7623_pericfg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -900,7 +900,7 @@ U_BOOT_DRIVER(mtk_clk_hifsys) = {
        .of_match = mt7623_hifsys_compat,
        .probe = mt7623_hifsys_probe,
        .bind = mt7623_ethsys_hifsys_bind,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
 
@@ -910,6 +910,6 @@ U_BOOT_DRIVER(mtk_clk_ethsys) = {
        .of_match = mt7623_ethsys_compat,
        .probe = mt7623_ethsys_probe,
        .bind = mt7623_ethsys_hifsys_bind,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
index 5b2aa5f200ae21766b2c60bf7954671eda3bbd04..31b6fa02251ac945541d07435cf69a11f5f16efa 100644 (file)
@@ -704,7 +704,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .id = UCLASS_CLK,
        .of_match = mt7629_apmixed_compat,
        .probe = mt7629_apmixedsys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_apmixedsys_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -714,7 +714,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .id = UCLASS_CLK,
        .of_match = mt7629_topckgen_compat,
        .probe = mt7629_topckgen_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_topckgen_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -724,7 +724,7 @@ U_BOOT_DRIVER(mtk_clk_infracfg) = {
        .id = UCLASS_CLK,
        .of_match = mt7629_infracfg_compat,
        .probe = mt7629_infracfg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -734,7 +734,7 @@ U_BOOT_DRIVER(mtk_clk_pericfg) = {
        .id = UCLASS_CLK,
        .of_match = mt7629_pericfg_compat,
        .probe = mt7629_pericfg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -745,7 +745,7 @@ U_BOOT_DRIVER(mtk_clk_ethsys) = {
        .of_match = mt7629_ethsys_compat,
        .probe = mt7629_ethsys_probe,
        .bind = mt7629_ethsys_bind,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
 
@@ -754,7 +754,7 @@ U_BOOT_DRIVER(mtk_clk_sgmiisys) = {
        .id = UCLASS_CLK,
        .of_match = mt7629_sgmiisys_compat,
        .probe = mt7629_sgmiisys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
 
@@ -763,6 +763,6 @@ U_BOOT_DRIVER(mtk_clk_ssusbsys) = {
        .id = UCLASS_CLK,
        .of_match = mt7629_ssusbsys_compat,
        .probe = mt7629_ssusbsys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
 };
index ad254d1cce57512aee0f93de5a5c764fd3acbaea..193e069cb05357becc63508c61875b73b88db5db 100644 (file)
@@ -838,7 +838,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .id = UCLASS_CLK,
        .of_match = mt8512_apmixed_compat,
        .probe = mt8512_apmixedsys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_apmixedsys_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -848,7 +848,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .id = UCLASS_CLK,
        .of_match = mt8512_topckgen_compat,
        .probe = mt8512_topckgen_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_topckgen_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -858,7 +858,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen_cg) = {
        .id = UCLASS_CLK,
        .of_match = mt8512_topckgen_cg_compat,
        .probe = mt8512_topckgen_cg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -868,7 +868,7 @@ U_BOOT_DRIVER(mtk_clk_infracfg) = {
        .id = UCLASS_CLK,
        .of_match = mt8512_infracfg_compat,
        .probe = mt8512_infracfg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index cd1db257836003c9f8770c2795dc0db7c6a622b6..29f70620e09dded79aecd8711d6fe3df7d381c7b 100644 (file)
@@ -777,7 +777,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .id = UCLASS_CLK,
        .of_match = mt8516_apmixed_compat,
        .probe = mt8516_apmixedsys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_apmixedsys_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -787,7 +787,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .id = UCLASS_CLK,
        .of_match = mt8516_topckgen_compat,
        .probe = mt8516_topckgen_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_topckgen_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -797,7 +797,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen_cg) = {
        .id = UCLASS_CLK,
        .of_match = mt8516_topckgen_cg_compat,
        .probe = mt8516_topckgen_cg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 985a0c1de5e258803ba8cf103a8c1deb8c0efc1e..23865148372693e3878ddf6c89168b27d4e03afe 100644 (file)
@@ -1533,7 +1533,7 @@ U_BOOT_DRIVER(mtk_clk_apmixedsys) = {
        .id = UCLASS_CLK,
        .of_match = mt8518_apmixed_compat,
        .probe = mt8518_apmixedsys_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_apmixedsys_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -1543,7 +1543,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen) = {
        .id = UCLASS_CLK,
        .of_match = mt8518_topckgen_compat,
        .probe = mt8518_topckgen_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_clk_priv),
+       .priv_auto      = sizeof(struct mtk_clk_priv),
        .ops = &mtk_clk_topckgen_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
@@ -1553,7 +1553,7 @@ U_BOOT_DRIVER(mtk_clk_topckgen_cg) = {
        .id = UCLASS_CLK,
        .of_match = mt8518_topckgen_cg_compat,
        .probe = mt8518_topckgen_cg_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_cg_priv),
+       .priv_auto      = sizeof(struct mtk_cg_priv),
        .ops = &mtk_clk_gate_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 6ef8b418d782f37180e4a347d06cb63e635c49f7..82068578ffb990099de19134d22f82de95e1cccb 100644 (file)
@@ -320,7 +320,7 @@ U_BOOT_DRIVER(meson_clk_axg) = {
        .name           = "meson_clk_axg",
        .id             = UCLASS_CLK,
        .of_match       = meson_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct meson_clk),
+       .priv_auto      = sizeof(struct meson_clk),
        .ops            = &meson_clk_ops,
        .probe          = meson_clk_probe,
 };
index bf2f357435ab7a99cfb9f994a7af55ce1cdd5ac9..01b22abc34d17e8990dd3e806e433397705bc287 100644 (file)
@@ -1014,7 +1014,7 @@ U_BOOT_DRIVER(meson_clk_g12a) = {
        .name           = "meson_clk_g12a",
        .id             = UCLASS_CLK,
        .of_match       = meson_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct meson_clk),
+       .priv_auto      = sizeof(struct meson_clk),
        .ops            = &meson_clk_ops,
        .probe          = meson_clk_probe,
 };
index b9353c053eb2c01d310f36a908e1a0a900266d66..2a20541dcb466254ad071b5e778ca5e861a10f7f 100644 (file)
@@ -919,7 +919,7 @@ U_BOOT_DRIVER(meson_clk) = {
        .name           = "meson_clk",
        .id             = UCLASS_CLK,
        .of_match       = meson_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct meson_clk),
+       .priv_auto      = sizeof(struct meson_clk),
        .ops            = &meson_clk_ops,
        .probe          = meson_clk_probe,
 };
index 8d96ec767ac6ef13fe4a77fd43826c0c36965572..c5ced1f132cfd8df4444bcda8c55be91c4c6ed57 100644 (file)
@@ -389,7 +389,7 @@ U_BOOT_DRIVER(mpc83xx_clk) = {
        .of_match = mpc83xx_clk_match,
        .ops = &mpc83xx_clk_ops,
        .probe = mpc83xx_clk_probe,
-       .priv_auto_alloc_size   = sizeof(struct mpc83xx_clk_priv),
+       .priv_auto      = sizeof(struct mpc83xx_clk_priv),
        .bind = mpc83xx_clk_bind,
 };
 
index 35780de8c496be43d57503ead613a9beb9c7b3be..4d3ac847d1d56c2480ead9e225161440caeffc2c 100644 (file)
@@ -153,6 +153,6 @@ U_BOOT_DRIVER(mt7628_clk) = {
        .id = UCLASS_CLK,
        .of_match = mt7628_clk_ids,
        .probe = mt7628_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct mt7628_clk_priv),
+       .priv_auto      = sizeof(struct mt7628_clk_priv),
        .ops = &mt7628_clk_ops,
 };
index 223da22c1b637dc27f95306724f11dde3ae60793..0132fcb7e61d904a4cf8a92a7f1c35636ee0a82f 100644 (file)
@@ -624,6 +624,6 @@ U_BOOT_DRIVER(armada_37xx_periph_clk) = {
        .id             = UCLASS_CLK,
        .of_match       = armada_37xx_periph_clk_ids,
        .ops            = &armada_37xx_periph_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct a37xx_periphclk),
+       .priv_auto      = sizeof(struct a37xx_periphclk),
        .probe          = armada_37xx_periph_clk_probe,
 };
index 233926e9b6a877b2029598dff89004cb673aed43..b1c0852e89bf6d8b45f4393af6cfc53584676d7c 100644 (file)
@@ -150,6 +150,6 @@ U_BOOT_DRIVER(armada_37xx_tbg_clk) = {
        .id             = UCLASS_CLK,
        .of_match       = armada_37xx_tbg_clk_ids,
        .ops            = &armada_37xx_tbg_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct a37xx_tbgclk),
+       .priv_auto      = sizeof(struct a37xx_tbgclk),
        .probe          = armada_37xx_tbg_clk_probe,
 };
index 1999c87a336059aa6033d860c5d10420a8a4ea7d..96ab7fed1f3765db649a0d5e7fda02b2ba6548b8 100644 (file)
@@ -161,6 +161,6 @@ U_BOOT_DRIVER(clk_owl) = {
        .id             = UCLASS_CLK,
        .of_match       = owl_clk_ids,
        .ops            = &owl_clk_ops,
-       .priv_auto_alloc_size = sizeof(struct owl_clk_priv),
+       .priv_auto      = sizeof(struct owl_clk_priv),
        .probe          = owl_clk_probe,
 };
index 6997054b3043009686dc523a0b3809a5e485a7dc..1c54eca6c0fa4e6bec1ef6067d4b06b7ced9adf2 100644 (file)
@@ -336,7 +336,7 @@ U_BOOT_DRIVER(clk_r8a774a1) = {
        .name           = "clk_r8a774a1",
        .id             = UCLASS_CLK,
        .of_match       = r8a774a1_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index 7b6947b5b903d2d1d7408a0384df647a77da5f10..03851d0b5a38b771b03a828a705542ba2420de21 100644 (file)
@@ -329,7 +329,7 @@ U_BOOT_DRIVER(clk_r8a774b1) = {
        .name           = "clk_r8a774b1",
        .id             = UCLASS_CLK,
        .of_match       = r8a774b1_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index c9f0f7221d7af55c8da862402d0a7c089825d777..37a7123f73d1066b2aaf14c762ed2c4a8c5f010f 100644 (file)
@@ -301,7 +301,7 @@ U_BOOT_DRIVER(clk_r8a774c0) = {
        .name           = "clk_r8a774c0",
        .id             = UCLASS_CLK,
        .of_match       = r8a774c0_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index 6cce007aa138ca618db2c67938b8c15b36d23b4e..c969ec688833c502fc15280516783e916fa51b7e 100644 (file)
@@ -351,7 +351,7 @@ U_BOOT_DRIVER(clk_r8a774e1) = {
        .name           = "clk_r8a774e1",
        .id             = UCLASS_CLK,
        .of_match       = r8a774e1_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index 7451f53ba39accfb8f2cc16b210ac4f4001ee9f8..09e7dbd3a3619891df20ab8b0e505137278cb9c2 100644 (file)
@@ -283,7 +283,7 @@ U_BOOT_DRIVER(clk_r8a7790) = {
        .name           = "clk_r8a7790",
        .id             = UCLASS_CLK,
        .of_match       = r8a7790_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen2_clk_priv),
+       .priv_auto      = sizeof(struct gen2_clk_priv),
        .ops            = &gen2_clk_ops,
        .probe          = gen2_clk_probe,
        .remove         = gen2_clk_remove,
index 25fd4896094549794fe33175cfe2f5863017cd0d..675ac83a61d93618807c7ca207c775cfff64218b 100644 (file)
@@ -289,7 +289,7 @@ U_BOOT_DRIVER(clk_r8a7791) = {
        .name           = "clk_r8a7791",
        .id             = UCLASS_CLK,
        .of_match       = r8a7791_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen2_clk_priv),
+       .priv_auto      = sizeof(struct gen2_clk_priv),
        .ops            = &gen2_clk_ops,
        .probe          = gen2_clk_probe,
        .remove         = gen2_clk_remove,
index d47ab99e8826b18dca1ef3afe5c8b37fb5cc60c3..d2225a3ff5f1fd0e432d5ddbe689101dd8282085 100644 (file)
@@ -235,7 +235,7 @@ U_BOOT_DRIVER(clk_r8a7792) = {
        .name           = "clk_r8a7792",
        .id             = UCLASS_CLK,
        .of_match       = r8a7792_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen2_clk_priv),
+       .priv_auto      = sizeof(struct gen2_clk_priv),
        .ops            = &gen2_clk_ops,
        .probe          = gen2_clk_probe,
        .remove         = gen2_clk_remove,
index 7093e0d42cb7240125dd7ea4ce918e3e6ebd7737..1fcac9b59d899f22a3176da92f4daaa888763e2f 100644 (file)
@@ -264,7 +264,7 @@ U_BOOT_DRIVER(clk_r8a7794) = {
        .name           = "clk_r8a7794",
        .id             = UCLASS_CLK,
        .of_match       = r8a7794_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen2_clk_priv),
+       .priv_auto      = sizeof(struct gen2_clk_priv),
        .ops            = &gen2_clk_ops,
        .probe          = gen2_clk_probe,
        .remove         = gen2_clk_remove,
index dcd96ad0177454370aa8b82c508c5ad954535a1d..101f6583fac076741c43f1aa352f6b569e44a18c 100644 (file)
@@ -373,7 +373,7 @@ U_BOOT_DRIVER(clk_r8a7795) = {
        .name           = "clk_r8a7795",
        .id             = UCLASS_CLK,
        .of_match       = r8a7795_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index 89dc141239deb78f8306399932cd715f6204dbaa..3c17bcbb187c595dd9a959905ec0e311f6d9f31d 100644 (file)
@@ -351,7 +351,7 @@ U_BOOT_DRIVER(clk_r8a7796) = {
        .name           = "clk_r8a7796",
        .id             = UCLASS_CLK,
        .of_match       = r8a7796_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index 6ed88295c98b8705739b029059eccfc52a64aab9..5f37f6285f39482bfde9a77ead1869fe50ecaf72 100644 (file)
@@ -349,7 +349,7 @@ U_BOOT_DRIVER(clk_r8a77965) = {
        .name           = "clk_r8a77965",
        .id             = UCLASS_CLK,
        .of_match       = r8a77965_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index df07120171871630f2e740cbf8a5e11673e87020..bafe4bbb0943f2a1ca5abc64042be165c2678707 100644 (file)
@@ -226,7 +226,7 @@ U_BOOT_DRIVER(clk_r8a77970) = {
        .name           = "clk_r8a77970",
        .id             = UCLASS_CLK,
        .of_match       = r8a77970_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index c8d7a9469bab03b66cf4cc11535fb4710f3e5ab4..a202005121b2eb0b2eda3cf17302a5e1685471db 100644 (file)
@@ -249,7 +249,7 @@ U_BOOT_DRIVER(clk_r8a77980) = {
        .name           = "clk_r8a77980",
        .id             = UCLASS_CLK,
        .of_match       = r8a77980_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index 357e7b534da9868ea83f7497a99cc5faba942d83..5cc9270869e3f93f79bafd773da87c63ad3810df 100644 (file)
@@ -308,7 +308,7 @@ U_BOOT_DRIVER(clk_r8a77990) = {
        .name           = "clk_r8a77990",
        .id             = UCLASS_CLK,
        .of_match       = r8a77990_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index d62aeba635bb7c45baefa64d13f7caee22c3e0eb..eef154bc826c8cd51f313c3b41eed450fb7b098b 100644 (file)
@@ -247,7 +247,7 @@ U_BOOT_DRIVER(clk_r8a77995) = {
        .name           = "clk_r8a77995",
        .id             = UCLASS_CLK,
        .of_match       = r8a77995_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct gen3_clk_priv),
+       .priv_auto      = sizeof(struct gen3_clk_priv),
        .ops            = &gen3_clk_ops,
        .probe          = gen3_clk_probe,
        .remove         = gen3_clk_remove,
index 71916dbf3b11b8fd953facd800ebbea67a2d6297..f12b010d5af89313a85214b2e8ac92cb9af6c2a7 100644 (file)
@@ -1480,7 +1480,7 @@ U_BOOT_DRIVER(rockchip_px30_cru) = {
        .name           = "rockchip_px30_cru",
        .id             = UCLASS_CLK,
        .of_match       = px30_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct px30_clk_priv),
+       .priv_auto      = sizeof(struct px30_clk_priv),
        .ofdata_to_platdata = px30_clk_ofdata_to_platdata,
        .ops            = &px30_clk_ops,
        .bind           = px30_clk_bind,
@@ -1627,7 +1627,7 @@ U_BOOT_DRIVER(rockchip_px30_pmucru) = {
        .name           = "rockchip_px30_pmucru",
        .id             = UCLASS_CLK,
        .of_match       = px30_pmuclk_ids,
-       .priv_auto_alloc_size = sizeof(struct px30_pmuclk_priv),
+       .priv_auto      = sizeof(struct px30_pmuclk_priv),
        .ofdata_to_platdata = px30_pmuclk_ofdata_to_platdata,
        .ops            = &px30_pmuclk_ops,
        .probe          = px30_pmuclk_probe,
index 274572f70c14ef39cbc14316bd540cb1848970af..8d11e242d05c1b981972187d0372a555820d922d 100644 (file)
@@ -375,7 +375,7 @@ U_BOOT_DRIVER(rockchip_rk3036_cru) = {
        .name           = "clk_rk3036",
        .id             = UCLASS_CLK,
        .of_match       = rk3036_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk3036_clk_priv),
+       .priv_auto      = sizeof(struct rk3036_clk_priv),
        .ofdata_to_platdata = rk3036_clk_ofdata_to_platdata,
        .ops            = &rk3036_clk_ops,
        .bind           = rk3036_clk_bind,
index 61f823e254ebd838b510148a4517720ee07e5b2e..ac44ab442c7c42a84bae5c1a069a8f6f9faf68aa 100644 (file)
@@ -597,7 +597,7 @@ U_BOOT_DRIVER(rockchip_rk3128_cru) = {
        .name           = "clk_rk3128",
        .id             = UCLASS_CLK,
        .of_match       = rk3128_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk3128_clk_priv),
+       .priv_auto      = sizeof(struct rk3128_clk_priv),
        .ofdata_to_platdata = rk3128_clk_ofdata_to_platdata,
        .ops            = &rk3128_clk_ops,
        .bind           = rk3128_clk_bind,
index aacc8cf2d14fad34089087c0be7e7dba531021eb..5940cb33d4739d457dd8334f920c3b4eac612043 100644 (file)
@@ -616,8 +616,8 @@ U_BOOT_DRIVER(rockchip_rk3188_cru) = {
        .name                   = "rockchip_rk3188_cru",
        .id                     = UCLASS_CLK,
        .of_match               = rk3188_clk_ids,
-       .priv_auto_alloc_size   = sizeof(struct rk3188_clk_priv),
-       .platdata_auto_alloc_size = sizeof(struct rk3188_clk_plat),
+       .priv_auto      = sizeof(struct rk3188_clk_priv),
+       .platdata_auto  = sizeof(struct rk3188_clk_plat),
        .ops                    = &rk3188_clk_ops,
        .bind                   = rk3188_clk_bind,
        .ofdata_to_platdata     = rk3188_clk_ofdata_to_platdata,
index 054b2fd349b3cd72181da265bfece8d76913d6c3..92e7ff384e1b9c220226f272e80c39f0b919c0ea 100644 (file)
@@ -532,7 +532,7 @@ U_BOOT_DRIVER(rockchip_rk322x_cru) = {
        .name           = "clk_rk322x",
        .id             = UCLASS_CLK,
        .of_match       = rk322x_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk322x_clk_priv),
+       .priv_auto      = sizeof(struct rk322x_clk_priv),
        .ofdata_to_platdata = rk322x_clk_ofdata_to_platdata,
        .ops            = &rk322x_clk_ops,
        .bind           = rk322x_clk_bind,
index a1dd642eefe23b8cd5489321154bd98ee6ef8668..7c91e00c6858ff46586191205d2dd45546753338 100644 (file)
@@ -1040,8 +1040,8 @@ U_BOOT_DRIVER(rockchip_rk3288_cru) = {
        .name           = "rockchip_rk3288_cru",
        .id             = UCLASS_CLK,
        .of_match       = rk3288_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk3288_clk_priv),
-       .platdata_auto_alloc_size = sizeof(struct rk3288_clk_plat),
+       .priv_auto      = sizeof(struct rk3288_clk_priv),
+       .platdata_auto  = sizeof(struct rk3288_clk_plat),
        .ops            = &rk3288_clk_ops,
        .bind           = rk3288_clk_bind,
        .ofdata_to_platdata     = rk3288_clk_ofdata_to_platdata,
index d3633b69795fa28cb1acac03c26da0af94448ea0..c36512b67948e29de47582c5be3b0d18efb2df85 100644 (file)
@@ -1067,7 +1067,7 @@ U_BOOT_DRIVER(rockchip_rk3308_cru) = {
        .name           = "rockchip_rk3308_cru",
        .id             = UCLASS_CLK,
        .of_match       = rk3308_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk3308_clk_priv),
+       .priv_auto      = sizeof(struct rk3308_clk_priv),
        .ofdata_to_platdata = rk3308_clk_ofdata_to_platdata,
        .ops            = &rk3308_clk_ops,
        .bind           = rk3308_clk_bind,
index bf4f1069ea6d27690a69ee525c731a0b0db121ce..e28e0996c68d7c52d14a01ed4a1d49f386004c2c 100644 (file)
@@ -845,7 +845,7 @@ U_BOOT_DRIVER(rockchip_rk3328_cru) = {
        .name           = "rockchip_rk3328_cru",
        .id             = UCLASS_CLK,
        .of_match       = rk3328_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk3328_clk_priv),
+       .priv_auto      = sizeof(struct rk3328_clk_priv),
        .ofdata_to_platdata = rk3328_clk_ofdata_to_platdata,
        .ops            = &rk3328_clk_ops,
        .bind           = rk3328_clk_bind,
index d1804c6e1682d949dac0dffcef87433510722850..84b55ac6180a486fd1bdd37b1228d4f1b3346422 100644 (file)
@@ -643,9 +643,9 @@ U_BOOT_DRIVER(rockchip_rk3368_cru) = {
        .name           = "rockchip_rk3368_cru",
        .id             = UCLASS_CLK,
        .of_match       = rk3368_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk3368_clk_priv),
+       .priv_auto      = sizeof(struct rk3368_clk_priv),
 #if CONFIG_IS_ENABLED(OF_PLATDATA)
-       .platdata_auto_alloc_size = sizeof(struct rk3368_clk_plat),
+       .platdata_auto  = sizeof(struct rk3368_clk_plat),
 #endif
        .ofdata_to_platdata = rk3368_clk_ofdata_to_platdata,
        .ops            = &rk3368_clk_ops,
index 3fd863e7bd0c632271c10007d95af42a0cda70f1..2e2613fd0dc801a3e341d6275a0a64228bdda8fc 100644 (file)
@@ -1447,13 +1447,13 @@ U_BOOT_DRIVER(clk_rk3399) = {
        .name           = "rockchip_rk3399_cru",
        .id             = UCLASS_CLK,
        .of_match       = rk3399_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk3399_clk_priv),
+       .priv_auto      = sizeof(struct rk3399_clk_priv),
        .ofdata_to_platdata = rk3399_clk_ofdata_to_platdata,
        .ops            = &rk3399_clk_ops,
        .bind           = rk3399_clk_bind,
        .probe          = rk3399_clk_probe,
 #if CONFIG_IS_ENABLED(OF_PLATDATA)
-       .platdata_auto_alloc_size = sizeof(struct rk3399_clk_plat),
+       .platdata_auto  = sizeof(struct rk3399_clk_plat),
 #endif
 };
 
@@ -1642,12 +1642,12 @@ U_BOOT_DRIVER(rockchip_rk3399_pmuclk) = {
        .name           = "rockchip_rk3399_pmucru",
        .id             = UCLASS_CLK,
        .of_match       = rk3399_pmuclk_ids,
-       .priv_auto_alloc_size = sizeof(struct rk3399_pmuclk_priv),
+       .priv_auto      = sizeof(struct rk3399_pmuclk_priv),
        .ofdata_to_platdata = rk3399_pmuclk_ofdata_to_platdata,
        .ops            = &rk3399_pmuclk_ops,
        .probe          = rk3399_pmuclk_probe,
        .bind           = rk3399_pmuclk_bind,
 #if CONFIG_IS_ENABLED(OF_PLATDATA)
-       .platdata_auto_alloc_size = sizeof(struct rk3399_pmuclk_plat),
+       .platdata_auto  = sizeof(struct rk3399_pmuclk_plat),
 #endif
 };
index aa1d98ca2a29d2d7c98d8b9ad35b89ef6269d520..efc07a05b1d072b4a3c09831504d15665e7c6a2c 100644 (file)
@@ -719,7 +719,7 @@ U_BOOT_DRIVER(clk_rv1108) = {
        .name           = "clk_rv1108",
        .id             = UCLASS_CLK,
        .of_match       = rv1108_clk_ids,
-       .priv_auto_alloc_size = sizeof(struct rv1108_clk_priv),
+       .priv_auto      = sizeof(struct rv1108_clk_priv),
        .ops            = &rv1108_clk_ops,
        .bind           = rv1108_clk_bind,
        .ofdata_to_platdata     = rv1108_clk_ofdata_to_platdata,
index 1b4d81d4f06f651bfc10a9da1e14f54dbcb64f70..9a08c148a0d632745fa8e995f79a6395fa26ddd4 100644 (file)
@@ -807,6 +807,6 @@ U_BOOT_DRIVER(sifive_fu540_prci) = {
        .of_match = sifive_fu540_prci_ids,
        .probe = sifive_fu540_prci_probe,
        .ops = &sifive_fu540_prci_ops,
-       .priv_auto_alloc_size = sizeof(struct __prci_data),
+       .priv_auto      = sizeof(struct __prci_data),
        .bind = sifive_fu540_clk_bind,
 };
index 67507c5ab1da629356d410bc29db1a63be3f2d8f..1b5de86e2047b4d6307440cb8a592049346c98a2 100644 (file)
@@ -79,7 +79,7 @@ U_BOOT_DRIVER(clk_sun4i_a10) = {
        .name           = "sun4i_a10_ccu",
        .id             = UCLASS_CLK,
        .of_match       = a10_ccu_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = a10_clk_bind,
index d11a4b5f038d118c1bf892f711461e134fbe871c..184f61ab234ccbb02405f5ac30a860417b616c57 100644 (file)
@@ -66,7 +66,7 @@ U_BOOT_DRIVER(clk_sun5i_a10s) = {
        .name           = "sun5i_a10s_ccu",
        .id             = UCLASS_CLK,
        .of_match       = a10s_ccu_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = a10s_clk_bind,
index 4d562bfe427087139abf08ab129de189ced03902..5750514a74fcfe9479c9931a08a28a6a21f2c524 100644 (file)
@@ -82,7 +82,7 @@ U_BOOT_DRIVER(clk_sun8i_a23) = {
        .name           = "sun8i_a23_ccu",
        .id             = UCLASS_CLK,
        .of_match       = a23_clk_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = a23_clk_bind,
index 4a9454eebe761722aa024849fcbfa62aa71e6fbe..9226112f4afdb5281df4340172e158774daecaa8 100644 (file)
@@ -99,7 +99,7 @@ U_BOOT_DRIVER(clk_sun6i_a31) = {
        .name           = "sun6i_a31_ccu",
        .id             = UCLASS_CLK,
        .of_match       = a31_clk_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = a31_clk_bind,
index d96cb1aac1c9d991abb8bce71fb8955177a7d9e1..0553ffa4399affe3fc980ce431ffe6f6658a3788 100644 (file)
@@ -87,7 +87,7 @@ U_BOOT_DRIVER(clk_sun50i_a64) = {
        .name           = "sun50i_a64_ccu",
        .id             = UCLASS_CLK,
        .of_match       = a64_ccu_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = a64_clk_bind,
index 80d7407037e553449d1c35ff6593c32cde40e483..68973d528ed320dc702adc73bbe872105cd752a1 100644 (file)
@@ -94,7 +94,7 @@ U_BOOT_DRIVER(clk_sun9i_a80) = {
        .name           = "sun9i_a80_ccu",
        .id             = UCLASS_CLK,
        .of_match       = a80_ccu_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = a80_clk_bind,
index d6f23ddc77815048c5bc08e30cf180d6c1c3dbb6..880c7d7599720afb2566eae25a944437c8726993 100644 (file)
@@ -84,7 +84,7 @@ U_BOOT_DRIVER(clk_sun8i_a83t) = {
        .name           = "sun8i_a83t_ccu",
        .id             = UCLASS_CLK,
        .of_match       = a83t_clk_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = a83t_clk_bind,
index 7e844f4ff1688f67b36c02ebf2a7274c9e3f89ed..f81633b92d5a3426bb52733f0a85b9ddbdc67b21 100644 (file)
@@ -102,7 +102,7 @@ U_BOOT_DRIVER(clk_sun8i_h3) = {
        .name           = "sun8i_h3_ccu",
        .id             = UCLASS_CLK,
        .of_match       = h3_ccu_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = h3_clk_bind,
index a1cb8952d39c02768b5511372b214e22fe2a9f3a..ac8656fe8956e774e067318fcdb0781e52d072ee 100644 (file)
@@ -95,7 +95,7 @@ U_BOOT_DRIVER(clk_sun50i_h6) = {
        .name           = "sun50i_h6_ccu",
        .id             = UCLASS_CLK,
        .of_match       = h6_ccu_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = h6_clk_bind,
index ac360b2bebd59605b896201d1388e1f419562fee..ee1e86d22eb992a02a7f5ad2ef4286ac49ed13f2 100644 (file)
@@ -107,7 +107,7 @@ U_BOOT_DRIVER(clk_sun8i_r40) = {
        .name           = "sun8i_r40_ccu",
        .id             = UCLASS_CLK,
        .of_match       = r40_clk_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = r40_clk_bind,
index f3fc06ab31ed2302f906a5f8b42c988ab446c43e..29622199fdc03dc18b2bc24afe9abf15ec6fe98a 100644 (file)
@@ -65,7 +65,7 @@ U_BOOT_DRIVER(clk_sun8i_v3s) = {
        .name           = "sun8i_v3s_ccu",
        .id             = UCLASS_CLK,
        .of_match       = v3s_clk_ids,
-       .priv_auto_alloc_size   = sizeof(struct ccu_priv),
+       .priv_auto      = sizeof(struct ccu_priv),
        .ops            = &sunxi_clk_ops,
        .probe          = sunxi_clk_probe,
        .bind           = v3s_clk_bind,
index 4e25db354e0c0b5e1764482291dcf5875afc5405..c31e59641d9344bd5f6e870bfd0c2c3ed081e657 100644 (file)
@@ -342,6 +342,6 @@ U_BOOT_DRIVER(uniphier_clk) = {
        .id = UCLASS_CLK,
        .of_match = uniphier_clk_match,
        .probe = uniphier_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_clk_priv),
+       .priv_auto      = sizeof(struct uniphier_clk_priv),
        .ops = &uniphier_clk_ops,
 };
index efdb0f29058f641837d936389563ceb47543d980..9953118ff8c1224ea03af9e657c558babb531eef 100644 (file)
@@ -124,20 +124,20 @@ void device_free(struct udevice *dev)
 {
        int size;
 
-       if (dev->driver->priv_auto_alloc_size) {
+       if (dev->driver->priv_auto) {
                free(dev->priv);
                dev->priv = NULL;
        }
-       size = dev->uclass->uc_drv->per_device_auto_alloc_size;
+       size = dev->uclass->uc_drv->per_device_auto;
        if (size) {
                free(dev->uclass_priv);
                dev->uclass_priv = NULL;
        }
        if (dev->parent) {
-               size = dev->parent->driver->per_child_auto_alloc_size;
+               size = dev->parent->driver->per_child_auto;
                if (!size) {
                        size = dev->parent->uclass->uc_drv->
-                                       per_child_auto_alloc_size;
+                                       per_child_auto;
                }
                if (size) {
                        free(dev->parent_priv);
index 79afaf062900d49d7ce37ccb8a87789b43539388..5df61128c62c5cce3869b8c21ec793530e30579a 100644 (file)
@@ -96,21 +96,19 @@ static int device_bind_common(struct udevice *parent, const struct driver *drv,
                }
        }
 
-       if (drv->platdata_auto_alloc_size) {
+       if (drv->platdata_auto) {
                bool alloc = !platdata;
 
                if (CONFIG_IS_ENABLED(OF_PLATDATA)) {
                        if (of_platdata_size) {
                                dev->flags |= DM_FLAG_OF_PLATDATA;
-                               if (of_platdata_size <
-                                               drv->platdata_auto_alloc_size)
+                               if (of_platdata_size < drv->platdata_auto)
                                        alloc = true;
                        }
                }
                if (alloc) {
                        dev->flags |= DM_FLAG_ALLOC_PDATA;
-                       dev->platdata = calloc(1,
-                                              drv->platdata_auto_alloc_size);
+                       dev->platdata = calloc(1, drv->platdata_auto);
                        if (!dev->platdata) {
                                ret = -ENOMEM;
                                goto fail_alloc1;
@@ -122,7 +120,7 @@ static int device_bind_common(struct udevice *parent, const struct driver *drv,
                }
        }
 
-       size = uc->uc_drv->per_device_platdata_auto_alloc_size;
+       size = uc->uc_drv->per_device_platdata_auto;
        if (size) {
                dev->flags |= DM_FLAG_ALLOC_UCLASS_PDATA;
                dev->uclass_platdata = calloc(1, size);
@@ -133,10 +131,9 @@ static int device_bind_common(struct udevice *parent, const struct driver *drv,
        }
 
        if (parent) {
-               size = parent->driver->per_child_platdata_auto_alloc_size;
+               size = parent->driver->per_child_platdata_auto;
                if (!size) {
-                       size = parent->uclass->uc_drv->
-                                       per_child_platdata_auto_alloc_size;
+                       size = parent->uclass->uc_drv->per_child_platdata_auto;
                }
                if (size) {
                        dev->flags |= DM_FLAG_ALLOC_PARENT_PDATA;
@@ -363,15 +360,15 @@ int device_ofdata_to_platdata(struct udevice *dev)
        assert(drv);
 
        /* Allocate private data if requested and not reentered */
-       if (drv->priv_auto_alloc_size && !dev->priv) {
-               dev->priv = alloc_priv(drv->priv_auto_alloc_size, drv->flags);
+       if (drv->priv_auto && !dev->priv) {
+               dev->priv = alloc_priv(drv->priv_auto, drv->flags);
                if (!dev->priv) {
                        ret = -ENOMEM;
                        goto fail;
                }
        }
        /* Allocate private data if requested and not reentered */
-       size = dev->uclass->uc_drv->per_device_auto_alloc_size;
+       size = dev->uclass->uc_drv->per_device_auto;
        if (size && !dev->uclass_priv) {
                dev->uclass_priv = alloc_priv(size,
                                              dev->uclass->uc_drv->flags);
@@ -383,10 +380,9 @@ int device_ofdata_to_platdata(struct udevice *dev)
 
        /* Allocate parent data for this child */
        if (dev->parent) {
-               size = dev->parent->driver->per_child_auto_alloc_size;
+               size = dev->parent->driver->per_child_auto;
                if (!size) {
-                       size = dev->parent->uclass->uc_drv->
-                                       per_child_auto_alloc_size;
+                       size = dev->parent->uclass->uc_drv->per_child_auto;
                }
                if (size && !dev->parent_priv) {
                        dev->parent_priv = alloc_priv(size, drv->flags);
index 7cc1d46009ffc9f94533f1f1350cd89319588b0a..c244b393459318223919e48e2a2ad2384bbcf762 100644 (file)
@@ -47,7 +47,7 @@ UCLASS_DRIVER(simple_bus) = {
        .id             = UCLASS_SIMPLE_BUS,
        .name           = "simple_bus",
        .post_bind      = simple_bus_post_bind,
-       .per_device_platdata_auto_alloc_size = sizeof(struct simple_bus_plat),
+       .per_device_platdata_auto       = sizeof(struct simple_bus_plat),
 };
 
 static const struct udevice_id generic_simple_bus_ids[] = {
index 51dc9b206fd6b73d28336fe3d26f65a2c9291e26..7a18953cba127910409e5ba1f1ae55f502f4bcbb 100644 (file)
@@ -51,6 +51,6 @@ U_BOOT_DRIVER(simple_pm_bus_drv) = {
        .of_match = simple_pm_bus_ids,
        .probe = simple_pm_bus_probe,
        .remove = simple_pm_bus_remove,
-       .priv_auto_alloc_size = sizeof(struct clk_bulk),
+       .priv_auto      = sizeof(struct clk_bulk),
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 567d0a4b50aee679660903c7f15c8f8666b4ee81..823d0731640cc25c8a947834e65b1a906c24a51c 100644 (file)
@@ -174,7 +174,7 @@ void *syscon_get_first_range(ulong driver_data)
 UCLASS_DRIVER(syscon) = {
        .id             = UCLASS_SYSCON,
        .name           = "syscon",
-       .per_device_auto_alloc_size = sizeof(struct syscon_uc_info),
+       .per_device_auto        = sizeof(struct syscon_uc_info),
        .pre_probe = syscon_pre_probe,
 };
 
index c3f1b73cd6b4c3b751bd81fadf977ccea5163f4a..b1d882e14e0641e2823aebabdfecd878619adaa6 100644 (file)
@@ -71,8 +71,8 @@ static int uclass_add(enum uclass_id id, struct uclass **ucp)
        uc = calloc(1, sizeof(*uc));
        if (!uc)
                return -ENOMEM;
-       if (uc_drv->priv_auto_alloc_size) {
-               uc->priv = calloc(1, uc_drv->priv_auto_alloc_size);
+       if (uc_drv->priv_auto) {
+               uc->priv = calloc(1, uc_drv->priv_auto);
                if (!uc->priv) {
                        ret = -ENOMEM;
                        goto fail_mem;
@@ -93,7 +93,7 @@ static int uclass_add(enum uclass_id id, struct uclass **ucp)
 
        return 0;
 fail:
-       if (uc_drv->priv_auto_alloc_size) {
+       if (uc_drv->priv_auto) {
                free(uc->priv);
                uc->priv = NULL;
        }
@@ -131,7 +131,7 @@ int uclass_destroy(struct uclass *uc)
        if (uc_drv->destroy)
                uc_drv->destroy(uc);
        list_del(&uc->sibling_node);
-       if (uc_drv->priv_auto_alloc_size)
+       if (uc_drv->priv_auto)
                free(uc->priv);
        free(uc);
 
index 058ae3a81199d0dc8c22d622609100dfcc0806b0..07dba7d5601d6517f2c631666b536c914b7040e2 100644 (file)
@@ -118,6 +118,6 @@ U_BOOT_DRIVER(cpu_at91_drv) = {
        .of_match       = at91_cpu_ids,
        .ops            = &at91_cpu_ops,
        .probe          = at91_cpu_probe,
-       .platdata_auto_alloc_size = sizeof(struct at91_cpu_platdata),
+       .platdata_auto  = sizeof(struct at91_cpu_platdata),
        .flags          = DM_FLAG_PRE_RELOC,
 };
index 421cc7a9a4c78bede22d0cbff7ab0fedfb7f3f9b..0946b95f5899f215674dc88bdf96da61c4e23222 100644 (file)
@@ -489,7 +489,7 @@ U_BOOT_DRIVER(bmips_cpu_drv) = {
        .of_match = bmips_cpu_ids,
        .bind = bmips_cpu_bind,
        .probe = bmips_cpu_probe,
-       .priv_auto_alloc_size = sizeof(struct bmips_cpu_priv),
+       .priv_auto      = sizeof(struct bmips_cpu_priv),
        .ops = &bmips_cpu_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 37e3cf2d8ff06d6077e624445df7661e86329979..6f6f90c5581baf80911055effaf82707c74232c7 100644 (file)
@@ -115,7 +115,7 @@ int cpu_get_vendor(const struct udevice *dev, char *buf, int size)
 U_BOOT_DRIVER(cpu_bus) = {
        .name   = "cpu_bus",
        .id     = UCLASS_SIMPLE_BUS,
-       .per_child_platdata_auto_alloc_size = sizeof(struct cpu_platdata),
+       .per_child_platdata_auto        = sizeof(struct cpu_platdata),
 };
 
 static int uclass_cpu_init(struct uclass *uc)
index 502c8ebb433173f140da626b0f2bcdd47fd3db7b..641322554cc325144aa54f2cc6b236f40387999d 100644 (file)
@@ -230,6 +230,6 @@ U_BOOT_DRIVER(cpu_imx8_drv) = {
        .of_match       = cpu_imx8_ids,
        .ops            = &cpu_imx8_ops,
        .probe          = imx8_cpu_probe,
-       .platdata_auto_alloc_size = sizeof(struct cpu_imx_platdata),
+       .platdata_auto  = sizeof(struct cpu_imx_platdata),
        .flags          = DM_FLAG_PRE_RELOC,
 };
index 5f1592f9ad4ade3ee802c548b11a2887a5169fb4..e451c11116ab8037f4fe0df497396f678da6d317 100644 (file)
@@ -348,7 +348,7 @@ U_BOOT_DRIVER(mpc83xx_cpu) = {
        .id = UCLASS_CPU,
        .of_match = mpc83xx_cpu_ids,
        .probe = mpc83xx_cpu_probe,
-       .priv_auto_alloc_size = sizeof(struct mpc83xx_cpu_priv),
+       .priv_auto      = sizeof(struct mpc83xx_cpu_priv),
        .ops = &mpc83xx_cpu_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 3c0c2b067f353141b82bc0c9e750913866c5642c..0636494805218a28d3769a1050285108adc77bdc 100644 (file)
@@ -83,6 +83,6 @@ U_BOOT_DRIVER(caam_rng) = {
        .id = UCLASS_RNG,
        .ops = &caam_rng_ops,
        .probe = caam_rng_probe,
-       .priv_auto_alloc_size = sizeof(struct caam_rng_priv),
+       .priv_auto      = sizeof(struct caam_rng_priv),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 1360bd0a3b82a7faa9c614843a726b0c30c424b9..4c118f0846adf2f554db00ae3071f66fc082b785 100644 (file)
@@ -647,9 +647,9 @@ U_BOOT_DRIVER(altera_gen5_sdram) = {
        .of_match = altera_gen5_sdram_ids,
        .ops = &altera_gen5_sdram_ops,
        .ofdata_to_platdata = altera_gen5_sdram_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_gen5_sdram_platdata),
+       .platdata_auto  = sizeof(struct altera_gen5_sdram_platdata),
        .probe = altera_gen5_sdram_probe,
-       .priv_auto_alloc_size = sizeof(struct altera_gen5_sdram_priv),
+       .priv_auto      = sizeof(struct altera_gen5_sdram_priv),
 };
 
 #endif /* CONFIG_SPL_BUILD */
index 8cb75fe02a2a289e8c9a1abd1c1d6f887eb706e6..2c44b78bffe7be2675ac7d72b5a27eedbd3aecf9 100644 (file)
@@ -304,7 +304,7 @@ U_BOOT_DRIVER(altera_sdram) = {
        .of_match = altera_sdram_ids,
        .ops = &altera_sdram_ops,
        .ofdata_to_platdata = altera_sdram_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_sdram_platdata),
+       .platdata_auto  = sizeof(struct altera_sdram_platdata),
        .probe = altera_sdram_probe,
-       .priv_auto_alloc_size = sizeof(struct altera_sdram_priv),
+       .priv_auto      = sizeof(struct altera_sdram_priv),
 };
index 8686c998457ab86ead7c67aa659294306f1925b0..0f5cda23dd333ced9cc16cbf6bbb2bf67084af4b 100644 (file)
@@ -193,6 +193,6 @@ U_BOOT_DRIVER(demo_shape_drv) = {
        .ops    = &shape_ops,
        .probe = dm_shape_probe,
        .remove = dm_shape_remove,
-       .priv_auto_alloc_size = sizeof(struct shape_data),
-       .platdata_auto_alloc_size = sizeof(struct dm_demo_pdata),
+       .priv_auto      = sizeof(struct shape_data),
+       .platdata_auto  = sizeof(struct dm_demo_pdata),
 };
index 68972c780f44cd636610910d75fb229eb7ebba7f..bf714660ce650c985b95f157cb6702929b30c124 100644 (file)
@@ -43,5 +43,5 @@ U_BOOT_DRIVER(demo_simple_drv) = {
        .id     = UCLASS_DEMO,
        .ofdata_to_platdata = demo_shape_ofdata_to_platdata,
        .ops    = &simple_ops,
-       .platdata_auto_alloc_size = sizeof(struct dm_demo_pdata),
+       .platdata_auto  = sizeof(struct dm_demo_pdata),
 };
index 91172d483c79a9150c0d59ffe0a0d4ad7808f9a4..98577601b58c27efa5a5dd8dd737dbb73f77e174 100644 (file)
@@ -649,6 +649,6 @@ U_BOOT_DRIVER(bcm6348_iudma) = {
        .id = UCLASS_DMA,
        .of_match = bcm6348_iudma_ids,
        .ops = &bcm6348_iudma_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6348_iudma_priv),
+       .priv_auto      = sizeof(struct bcm6348_iudma_priv),
        .probe = bcm6348_iudma_probe,
 };
index 50403148d6da2a00ccf9bd7fc445b76c4d792172..a93b0b7ba08bdb9f259afe36398f47d1c1a889e5 100644 (file)
@@ -254,5 +254,5 @@ UCLASS_DRIVER(dma) = {
        .id             = UCLASS_DMA,
        .name           = "dma",
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
-       .per_device_auto_alloc_size = sizeof(struct dma_dev_priv),
+       .per_device_auto        = sizeof(struct dma_dev_priv),
 };
index 838596b24b671e870ed38d11cd2a64c6733e79f3..aebf3eef966ce392c8ec347402fc71e0c80411fa 100644 (file)
@@ -280,5 +280,5 @@ U_BOOT_DRIVER(sandbox_dma) = {
        .of_match = sandbox_dma_ids,
        .ops    = &sandbox_dma_ops,
        .probe = sandbox_dma_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_dma_dev),
+       .priv_auto      = sizeof(struct sandbox_dma_dev),
 };
index 13ab967089042943280414899c89949a46f5307c..4272f4cab80ab0c5d43af031c5a7db032cb276c3 100644 (file)
@@ -576,6 +576,6 @@ U_BOOT_DRIVER(ti_edma3) = {
        .ops    = &ti_edma3_ops,
        .ofdata_to_platdata = ti_edma3_ofdata_to_platdata,
        .probe  = ti_edma3_probe,
-       .priv_auto_alloc_size = sizeof(struct ti_edma3_priv),
+       .priv_auto      = sizeof(struct ti_edma3_priv),
 };
 #endif /* CONFIG_DMA */
index 94216045ccce612f652d7da33659686168609e26..f3ec827897fce42a8ecf7a085a35ea64d08f425a 100644 (file)
@@ -1933,5 +1933,5 @@ U_BOOT_DRIVER(ti_edma3) = {
        .of_match = udma_ids,
        .ops    = &udma_ops,
        .probe  = udma_probe,
-       .priv_auto_alloc_size = sizeof(struct udma_dev),
+       .priv_auto      = sizeof(struct udma_dev),
 };
index a85cff1097efa5d1157c321e01136bdd698c2f73..3f4b04a4ae412d7354972fe74e3e4748797c6d2e 100644 (file)
@@ -97,7 +97,7 @@ U_BOOT_DRIVER(scmi_mbox) = {
        .name           = "scmi-over-mailbox",
        .id             = UCLASS_SCMI_AGENT,
        .of_match       = scmi_mbox_ids,
-       .priv_auto_alloc_size = sizeof(struct scmi_mbox_channel),
+       .priv_auto      = sizeof(struct scmi_mbox_channel),
        .probe          = scmi_mbox_probe,
        .ops            = &scmi_mbox_ops,
 };
index 5b6a4232af4ceb73b69377888a459f4c4ce3b3e2..35de68c75d38429b389bd2f137fcfcf5d192cf8a 100644 (file)
@@ -403,7 +403,7 @@ U_BOOT_DRIVER(sandbox_scmi_agent) = {
        .name = "sandbox-scmi_agent",
        .id = UCLASS_SCMI_AGENT,
        .of_match = sandbox_scmi_test_ids,
-       .priv_auto_alloc_size = sizeof(struct sandbox_scmi_agent),
+       .priv_auto      = sizeof(struct sandbox_scmi_agent),
        .probe = sandbox_scmi_test_probe,
        .remove = sandbox_scmi_test_remove,
        .ops = &sandbox_scmi_test_ops,
index c69967bf6935d8fda54395627b8953ec1c3e3a14..414da6f4df1611d73b16797aac058450653f0ded 100644 (file)
@@ -107,7 +107,7 @@ U_BOOT_DRIVER(sandbox_scmi_devices) = {
        .name = "sandbox-scmi_devices",
        .id = UCLASS_MISC,
        .of_match = sandbox_scmi_devices_ids,
-       .priv_auto_alloc_size = sizeof(struct sandbox_scmi_device_priv),
+       .priv_auto      = sizeof(struct sandbox_scmi_device_priv),
        .remove = sandbox_scmi_devices_remove,
        .probe = sandbox_scmi_devices_probe,
 };
index 85dbf9195e04608fd3a85e109f584e6da2506434..64d0929f69c12803dd6f77444542b4d6e7278c50 100644 (file)
@@ -83,7 +83,7 @@ U_BOOT_DRIVER(scmi_smccc) = {
        .name           = "scmi-over-smccc",
        .id             = UCLASS_SCMI_AGENT,
        .of_match       = scmi_smccc_ids,
-       .priv_auto_alloc_size = sizeof(struct scmi_smccc_channel),
+       .priv_auto      = sizeof(struct scmi_smccc_channel),
        .probe          = scmi_smccc_probe,
        .ops            = &scmi_smccc_ops,
 };
index a2beb0079d8d9b851619ed59b8017b596ce01277..0cdfb0e91a95e4854b2b4bdd32bae9e30a842dcb 100644 (file)
@@ -3166,5 +3166,5 @@ U_BOOT_DRIVER(ti_sci) = {
        .id = UCLASS_FIRMWARE,
        .of_match = ti_sci_ids,
        .probe = ti_sci_probe,
-       .priv_auto_alloc_size = sizeof(struct ti_sci_info),
+       .priv_auto      = sizeof(struct ti_sci_info),
 };
index 64717a6780e066d6ce5a3dfae9e7a40671142a76..0c06301a81cb1ee1d62101c6c226ab042be08867 100644 (file)
@@ -187,6 +187,6 @@ U_BOOT_DRIVER(74x164) = {
        .id             = UCLASS_GPIO,
        .ops            = &gen_74x164_ops,
        .probe          = gen_74x164_probe,
-       .priv_auto_alloc_size = sizeof(struct gen_74x164_priv),
+       .priv_auto      = sizeof(struct gen_74x164_priv),
        .of_match       = gen_74x164_ids,
 };
index 75800d9f31c60293fbe0032e555584ef5faba88d..cf0785aeb6a744b340031d6259497c2343f3333e 100644 (file)
@@ -117,6 +117,6 @@ U_BOOT_DRIVER(altera_pio) = {
        .of_match       = altera_pio_ids,
        .ops            = &altera_pio_ops,
        .ofdata_to_platdata = altera_pio_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_pio_platdata),
+       .platdata_auto  = sizeof(struct altera_pio_platdata),
        .probe          = altera_pio_probe,
 };
index ef7984374b12fb037116bccd5a2a2a25c6cef5b0..90e692c13edad9c47b5ad5ff3d09d8f95ea6fc83 100644 (file)
@@ -629,10 +629,10 @@ U_BOOT_DRIVER(atmel_at91rm9200_gpio) = {
        .id     = UCLASS_GPIO,
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .of_match = at91_gpio_ids,
-       .platdata_auto_alloc_size = sizeof(struct at91_port_platdata),
+       .platdata_auto  = sizeof(struct at91_port_platdata),
 #endif
        .ops    = &gpio_at91_ops,
        .probe  = at91_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct at91_port_priv),
+       .priv_auto      = sizeof(struct at91_port_priv),
 };
 #endif
index 18f365fa4116102163e49510b93e0abbfcac8fda..d92c061928de493cf92516130803aa7e2bd8a815 100644 (file)
@@ -338,7 +338,7 @@ U_BOOT_DRIVER(gpio_atmel_pio4) = {
        .probe  = atmel_pio4_probe,
        .bind   = atmel_pio4_bind,
        .of_match = atmel_pio4_ids,
-       .platdata_auto_alloc_size = sizeof(struct atmel_pio4_platdata),
+       .platdata_auto  = sizeof(struct atmel_pio4_platdata),
 };
 
 #endif
index 0dff9ac711d724d51d207db9a98b4e8d32472dd5..db349cf24bf5a4a0e674dbdd7bc37d45cd124af7 100644 (file)
@@ -134,9 +134,9 @@ U_BOOT_DRIVER(gpio_bcm2835) = {
        .name   = "gpio_bcm2835",
        .id     = UCLASS_GPIO,
        .ofdata_to_platdata = of_match_ptr(bcm2835_gpio_ofdata_to_platdata),
-       .platdata_auto_alloc_size = sizeof(struct bcm2835_gpio_platdata),
+       .platdata_auto  = sizeof(struct bcm2835_gpio_platdata),
        .ops    = &gpio_bcm2835_ops,
        .probe  = bcm2835_gpio_probe,
        .flags  = DM_FLAG_PRE_RELOC,
-       .priv_auto_alloc_size = sizeof(struct bcm2835_gpios),
+       .priv_auto      = sizeof(struct bcm2835_gpios),
 };
index 5da11d988e08718065f63237c485038294cec091..e031f71a784d987697af9d8559f3d955b9cb3f46 100644 (file)
@@ -114,6 +114,6 @@ U_BOOT_DRIVER(bcm6345_gpio) = {
        .id = UCLASS_GPIO,
        .of_match = bcm6345_gpio_ids,
        .ops = &bcm6345_gpio_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6345_gpio_priv),
+       .priv_auto      = sizeof(struct bcm6345_gpio_priv),
        .probe = bcm6345_gpio_probe,
 };
index 055907c1a1d3536db5657f1218aad8d59f41bdf2..72ef523be96054a6638d37f84fd4f65c1d8b84b3 100644 (file)
@@ -107,7 +107,7 @@ U_BOOT_DRIVER(cortina_gpio) = {
        .id = UCLASS_GPIO,
        .ops = &gpio_cortina_ops,
        .probe = ca_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct cortina_gpio_bank),
+       .priv_auto      = sizeof(struct cortina_gpio_bank),
        .of_match = ca_gpio_ids,
 };
 #endif /* CONFIG_DM_GPIO */
index f875888510101157e39cde0d4651a36e0bbd70bf..507f8b18c21694543ac6502644c2b9c254280b1c 100644 (file)
@@ -560,9 +560,9 @@ U_BOOT_DRIVER(ti_dm6441_gpio) = {
        .ofdata_to_platdata = of_match_ptr(davinci_gpio_ofdata_to_platdata),
        .of_match = davinci_gpio_ids,
        .bind   = dm_scan_fdt_dev,
-       .platdata_auto_alloc_size = sizeof(struct davinci_gpio_platdata),
+       .platdata_auto  = sizeof(struct davinci_gpio_platdata),
        .probe  = davinci_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct davinci_gpio_bank),
+       .priv_auto      = sizeof(struct davinci_gpio_bank),
 };
 
 #endif
index cf20a5024e0e9a888997e51319e6761fd37e1f1f..3a86884443066b78ed77ed27fe5b9d3212f8a050 100644 (file)
@@ -237,5 +237,5 @@ U_BOOT_DRIVER(gpio_dwapb) = {
        .bind           = gpio_dwapb_bind,
        .probe          = gpio_dwapb_probe,
        .remove         = gpio_dwapb_remove,
-       .priv_auto_alloc_size   = sizeof(struct gpio_dwapb_priv),
+       .priv_auto        = sizeof(struct gpio_dwapb_priv),
 };
index a993fd4d7003c41ffa141c69384a8fb233cb9a81..beae34f233ab32f4061c1ba30769fb1b7263bfcf 100644 (file)
@@ -189,6 +189,6 @@ U_BOOT_DRIVER(rcar_gpio) = {
        .id     = UCLASS_GPIO,
        .of_match = rcar_gpio_ids,
        .ops    = &rcar_gpio_ops,
-       .priv_auto_alloc_size = sizeof(struct rcar_gpio_priv),
+       .priv_auto      = sizeof(struct rcar_gpio_priv),
        .probe  = rcar_gpio_probe,
 };
index 86804ac2f5ff626e3177c9196e370f705b64fe7b..ee7de4c17e9153100a2006a4da8a4fbac28b7c7b 100644 (file)
@@ -130,6 +130,6 @@ U_BOOT_DRIVER(r7s72100_gpio) = {
        .name   = "r7s72100-gpio",
        .id     = UCLASS_GPIO,
        .ops    = &r7s72100_gpio_ops,
-       .priv_auto_alloc_size = sizeof(struct r7s72100_gpio_priv),
+       .priv_auto      = sizeof(struct r7s72100_gpio_priv),
        .probe  = r7s72100_gpio_probe,
 };
index 4785b6b34a271ef8b8a4ea624932cd7ca6f3652d..fb9393d39da01f4675e28a28929d99882c2ca750 100644 (file)
@@ -340,8 +340,8 @@ U_BOOT_DRIVER(gpio_hog) = {
        .id     = UCLASS_NOP,
        .ofdata_to_platdata = gpio_hog_ofdata_to_platdata,
        .probe = gpio_hog_probe,
-       .priv_auto_alloc_size = sizeof(struct gpio_hog_priv),
-       .platdata_auto_alloc_size = sizeof(struct gpio_hog_data),
+       .priv_auto      = sizeof(struct gpio_hog_priv),
+       .platdata_auto  = sizeof(struct gpio_hog_data),
 };
 #else
 int gpio_hog_lookup_name(const char *name, struct gpio_desc **desc)
@@ -1339,5 +1339,5 @@ UCLASS_DRIVER(gpio) = {
        .post_probe     = gpio_post_probe,
        .post_bind      = gpio_post_bind,
        .pre_remove     = gpio_pre_remove,
-       .per_device_auto_alloc_size = sizeof(struct gpio_dev_priv),
+       .per_device_auto        = sizeof(struct gpio_dev_priv),
 };
index 54a38da0f10429ea66637bbec019aac45f352bdd..61c705b5ac56d896f070c6caff51e55431e72d32 100644 (file)
@@ -166,6 +166,6 @@ U_BOOT_DRIVER(uniphier_gpio) = {
        .id     = UCLASS_GPIO,
        .of_match = uniphier_gpio_match,
        .probe  = uniphier_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_gpio_priv),
+       .priv_auto      = sizeof(struct uniphier_gpio_priv),
        .ops    = &uniphier_gpio_ops,
 };
index 95de2ae3660d6ce549ce9fcda6c63a912deab0f9..c49dc78baa5ffda5afdba6a34437c21e55daaaaf 100644 (file)
@@ -89,7 +89,7 @@ U_BOOT_DRIVER(gpio_hi6220) = {
        .id     = UCLASS_GPIO,
        .ops    = &gpio_hi6220_ops,
        .probe  = hi6220_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct gpio_bank),
+       .priv_auto      = sizeof(struct gpio_bank),
 };
 
 
index 35b114904d527ee2d6413bffb47a0836d2579c20..d40365e82d1fa1a3ccfbffca95dec467a538a17e 100644 (file)
@@ -165,5 +165,5 @@ U_BOOT_DRIVER(gpio_hsdk_creg) = {
        .ops    = &hsdk_creg_gpio_ops,
        .probe  = hsdk_creg_gpio_probe,
        .of_match = hsdk_creg_gpio_ids,
-       .platdata_auto_alloc_size = sizeof(struct hsdk_creg_gpio),
+       .platdata_auto  = sizeof(struct hsdk_creg_gpio),
 };
index 1e876f69147761ea906c96e581f0b8d201c3ec31..2a09975b6e43935fe622a3495a273e2a851389c1 100644 (file)
@@ -200,7 +200,7 @@ U_BOOT_DRIVER(imx_rgpio2p) = {
        .id     = UCLASS_GPIO,
        .ops    = &imx_rgpio2p_ops,
        .probe  = imx_rgpio2p_probe,
-       .priv_auto_alloc_size = sizeof(struct imx_rgpio2p_plat),
+       .priv_auto      = sizeof(struct imx_rgpio2p_plat),
        .of_match = imx_rgpio2p_ids,
        .bind   = imx_rgpio2p_bind,
 };
index 95f8b2ba6cd9b282c52077efab261e5e7ef45dd8..cb217403cd19ac340c5d21b836ffa05b54cc06aa 100644 (file)
@@ -184,6 +184,6 @@ U_BOOT_DRIVER(gpio_broadwell) = {
        .ops    = &gpio_broadwell_ops,
        .ofdata_to_platdata     = broadwell_gpio_ofdata_to_platdata,
        .probe  = broadwell_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct broadwell_bank_priv),
-       .platdata_auto_alloc_size = sizeof(struct broadwell_bank_platdata),
+       .priv_auto      = sizeof(struct broadwell_bank_priv),
+       .platdata_auto  = sizeof(struct broadwell_bank_platdata),
 };
index 73d98fde55497a69f713464886edff17c4323779..bba85b3791282de1096e0bd2fc487b3c8337a96a 100644 (file)
@@ -236,6 +236,6 @@ U_BOOT_DRIVER(gpio_ich6) = {
        .ops    = &gpio_ich6_ops,
        .ofdata_to_platdata     = gpio_ich6_ofdata_to_platdata,
        .probe  = ich6_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct ich6_bank_priv),
-       .platdata_auto_alloc_size = sizeof(struct ich6_bank_platdata),
+       .priv_auto      = sizeof(struct ich6_bank_priv),
+       .platdata_auto  = sizeof(struct ich6_bank_platdata),
 };
index cc26a1306b63ba061a6ef372b636faef03f71968..81eb2e1ebc4b8d2ed59a93fd1acbf1b8599505c2 100644 (file)
@@ -286,5 +286,5 @@ U_BOOT_DRIVER(iproc_gpio) = {
        .of_match               = iproc_gpio_ids,
        .ops                    = &iproc_gpio_ops,
        .ofdata_to_platdata     = iproc_gpio_ofdata_to_platdata,
-       .platdata_auto_alloc_size       = sizeof(struct iproc_gpio_platdata),
+       .platdata_auto  = sizeof(struct iproc_gpio_platdata),
 };
index 1265ee41a60bc129e330bb002818d10dd3d655cd..ffaec32ac2ba40b808791e85485f9e79a59bee60 100644 (file)
@@ -317,5 +317,5 @@ U_BOOT_DRIVER(gpio_lpc32xx) = {
        .id     = UCLASS_GPIO,
        .ops    = &gpio_lpc32xx_ops,
        .probe  = lpc32xx_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct lpc32xx_gpio_priv),
+       .priv_auto      = sizeof(struct lpc32xx_gpio_priv),
 };
index 54dc437e1c4d15b73be59c0f607f40d7a483e6bf..3020cc9502a2f6c582b0a05e2ec20d3396b69a4d 100644 (file)
@@ -141,9 +141,9 @@ U_BOOT_DRIVER(spisel_boot_mpc83xx) = {
        .ops    = &mpc83xx_spisel_boot_ops,
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .ofdata_to_platdata = mpc83xx_spisel_boot_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct mpc8xxx_gpio_plat),
+       .platdata_auto  = sizeof(struct mpc8xxx_gpio_plat),
        .of_match = mpc83xx_spisel_boot_ids,
 #endif
        .probe  = mpc83xx_spisel_boot_probe,
-       .priv_auto_alloc_size = sizeof(struct mpc83xx_spisel_boot),
+       .priv_auto      = sizeof(struct mpc83xx_spisel_boot),
 };
index 27881a73224babaf48a652628f12215a50f184c9..fa08909b2b965d7f1db339bfd37b82f9a767b4d2 100644 (file)
@@ -295,9 +295,9 @@ U_BOOT_DRIVER(gpio_mpc8xxx) = {
        .ops    = &gpio_mpc8xxx_ops,
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .ofdata_to_platdata = mpc8xxx_gpio_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct mpc8xxx_gpio_plat),
+       .platdata_auto  = sizeof(struct mpc8xxx_gpio_plat),
        .of_match = mpc8xxx_gpio_ids,
 #endif
        .probe  = mpc8xxx_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct mpc8xxx_gpio_data),
+       .priv_auto      = sizeof(struct mpc8xxx_gpio_data),
 };
index 780d77b2f86e5cb91be225015fb50bd3004db708..1cbcc43489a1d04e581bb5e92b1dd298eb066e18 100644 (file)
@@ -275,5 +275,5 @@ U_BOOT_DRIVER(gpio_mscc_sgpio) = {
        .of_match               = mscc_sgpio_ids,
        .ops                    = &mscc_sgpio_ops,
        .probe                  = mscc_sgpio_probe,
-       .priv_auto_alloc_size   = sizeof(struct mscc_sgpio_priv),
+       .priv_auto      = sizeof(struct mscc_sgpio_priv),
 };
index 416fb56a98d67a64dcb15b5336d31c308df94934..0feafb30ee39dafc63e20a2fa793d51119961079 100644 (file)
@@ -129,5 +129,5 @@ U_BOOT_DRIVER(gpio_msm) = {
        .ofdata_to_platdata = msm_gpio_ofdata_to_platdata,
        .probe  = msm_gpio_probe,
        .ops    = &gpio_msm_ops,
-       .priv_auto_alloc_size = sizeof(struct msm_gpio_bank),
+       .priv_auto      = sizeof(struct msm_gpio_bank),
 };
index 65eaa71c201c116449a3ff85fc33c9af22157d97..166fc668843f2c777bded8621a552208cb88482b 100644 (file)
@@ -117,5 +117,5 @@ U_BOOT_DRIVER(gpio_mvebu) = {
        .of_match               = mvebu_gpio_ids,
        .ops                    = &mvebu_gpio_ops,
        .probe                  = mvebu_gpio_probe,
-       .priv_auto_alloc_size   = sizeof(struct mvebu_gpio_priv),
+       .priv_auto      = sizeof(struct mvebu_gpio_priv),
 };
index 88b920a0746b9aa96ef42fc7dc9e9a704692aae6..488103219f800ee3d8087d0323f81da975b40889 100644 (file)
@@ -339,8 +339,8 @@ U_BOOT_DRIVER(gpio_mxc) = {
        .ops    = &gpio_mxc_ops,
        .probe  = mxc_gpio_probe,
        .ofdata_to_platdata = mxc_gpio_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct mxc_gpio_plat),
-       .priv_auto_alloc_size = sizeof(struct mxc_bank_info),
+       .platdata_auto  = sizeof(struct mxc_gpio_plat),
+       .priv_auto      = sizeof(struct mxc_bank_info),
        .of_match = mxc_gpio_ids,
        .bind   = mxc_gpio_bind,
 };
index aaabb0216be0a25c65bc3c006072de490b9ef46f..83147b49190401894f3075af792913f9e209ef26 100644 (file)
@@ -298,8 +298,8 @@ U_BOOT_DRIVER(fsl_imx23_gpio) = {
        .id     = UCLASS_GPIO,
        .ops    = &gpio_mxs_ops,
        .probe  = mxs_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct mxs_gpio_priv),
-       .platdata_auto_alloc_size = sizeof(struct mxs_gpio_platdata),
+       .priv_auto      = sizeof(struct mxs_gpio_priv),
+       .platdata_auto  = sizeof(struct mxs_gpio_platdata),
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = mxs_gpio_ids,
        .ofdata_to_platdata = mxs_ofdata_to_platdata,
index 5ec73c43599e4c8c1dd7f4c52c30c8369c63bcbf..1bd12f1568600ee5639e5d35ea5c7d04c8d289d0 100644 (file)
@@ -245,6 +245,6 @@ U_BOOT_DRIVER(nx_gpio) = {
        .of_match       = nx_gpio_ids,
        .ops            = &nx_gpio_ops,
        .ofdata_to_platdata = nx_gpio_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct nx_gpio_platdata),
+       .platdata_auto  = sizeof(struct nx_gpio_platdata),
        .probe          = nx_gpio_probe,
 };
index 45acaadcdb6bc01ce9841ddd795a57c931534126..f34b05d4278c31db27af6bd7f9c126ee3a3d95d6 100644 (file)
@@ -236,7 +236,7 @@ U_BOOT_DRIVER(octeon_gpio) = {
        .id     = UCLASS_GPIO,
        .of_match = of_match_ptr(octeon_gpio_ids),
        .probe = octeon_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct octeon_gpio),
+       .priv_auto      = sizeof(struct octeon_gpio),
        .ops    = &octeon_gpio_ops,
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 6eaa0a08a26a914462e425f959aeb092467690c9..9e828058cdf524f0bf5c1635a38c7fdb1926f088 100644 (file)
@@ -363,14 +363,14 @@ U_BOOT_DRIVER(gpio_omap) = {
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = omap_gpio_ids,
        .ofdata_to_platdata = of_match_ptr(omap_gpio_ofdata_to_platdata),
-       .platdata_auto_alloc_size = sizeof(struct omap_gpio_platdata),
+       .platdata_auto  = sizeof(struct omap_gpio_platdata),
 #endif
 #else
        .bind   = omap_gpio_bind,
 #endif
        .ops    = &gpio_omap_ops,
        .probe  = omap_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct gpio_bank),
+       .priv_auto      = sizeof(struct gpio_bank),
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
        .flags = DM_FLAG_PRE_RELOC,
 #endif
index fd17d1a591028ccd336297ebe1d0b4d0aefebccb..32d4a8361311f63ad85ac1b7e880993c15554a99 100644 (file)
@@ -385,6 +385,6 @@ U_BOOT_DRIVER(pca953x) = {
        .id             = UCLASS_GPIO,
        .ops            = &pca953x_ops,
        .probe          = pca953x_probe,
-       .platdata_auto_alloc_size = sizeof(struct pca953x_info),
+       .platdata_auto  = sizeof(struct pca953x_info),
        .of_match       = pca953x_ids,
 };
index 1b9a18fe5dc0cf9244aa2b8759e16a7571546826..7fcadc79c15267ea0b6c14264850a85bee071295 100644 (file)
@@ -177,5 +177,5 @@ U_BOOT_DRIVER(gpio_pcf8575) = {
        .of_match = pcf8575_gpio_ids,
        .ofdata_to_platdata = pcf8575_ofdata_platdata,
        .probe  = pcf8575_gpio_probe,
-       .platdata_auto_alloc_size = sizeof(struct pcf8575_chip),
+       .platdata_auto  = sizeof(struct pcf8575_chip),
 };
index bb1ad256fac0d6ebf9e01497c4d17a43f68f6e38..253a9ba2f84cc63fabe5656f98da5e5a16191cfb 100644 (file)
@@ -161,5 +161,5 @@ U_BOOT_DRIVER(gpio_pic32) = {
        .of_match       = pic32_gpio_ids,
        .ops            = &gpio_pic32_ops,
        .probe          = pic32_gpio_probe,
-       .priv_auto_alloc_size   = sizeof(struct pic32_gpio_priv),
+       .priv_auto      = sizeof(struct pic32_gpio_priv),
 };
index 58f044678b7de49e3764e311adae46a5a3d59b5e..20d5bd55d004af6f487f029cf62ddab00ed83dbb 100644 (file)
@@ -212,7 +212,7 @@ U_BOOT_DRIVER(gpio_pm8916) = {
        .ofdata_to_platdata = pm8916_gpio_ofdata_to_platdata,
        .probe  = pm8916_gpio_probe,
        .ops    = &pm8916_gpio_ops,
-       .priv_auto_alloc_size = sizeof(struct pm8916_gpio_bank),
+       .priv_auto      = sizeof(struct pm8916_gpio_bank),
 };
 
 
@@ -297,5 +297,5 @@ U_BOOT_DRIVER(pwrkey_pm8941) = {
        .ofdata_to_platdata = pm8941_pwrkey_ofdata_to_platdata,
        .probe  = pm8941_pwrkey_probe,
        .ops    = &pm8941_pwrkey_ops,
-       .priv_auto_alloc_size = sizeof(struct pm8916_gpio_bank),
+       .priv_auto      = sizeof(struct pm8916_gpio_bank),
 };
index 8cc288581c99f98db2848ac95fda1b77f2c764b4..68f30157a9a6de64b162445dff1e21c3650e2d5c 100644 (file)
@@ -177,6 +177,6 @@ U_BOOT_DRIVER(rockchip_gpio_bank) = {
        .id     = UCLASS_GPIO,
        .of_match = rockchip_gpio_ids,
        .ops    = &gpio_rockchip_ops,
-       .priv_auto_alloc_size = sizeof(struct rockchip_gpio_priv),
+       .priv_auto      = sizeof(struct rockchip_gpio_priv),
        .probe  = rockchip_gpio_probe,
 };
index ec8d54922d3027897ea00f2e060ba1cc83b74734..3fc436759ccf6688098147036704bd4b061cbd17 100644 (file)
@@ -365,7 +365,7 @@ U_BOOT_DRIVER(gpio_exynos) = {
        .of_match = exynos_gpio_ids,
        .bind   = gpio_exynos_bind,
        .probe = gpio_exynos_probe,
-       .priv_auto_alloc_size = sizeof(struct exynos_bank_info),
+       .priv_auto      = sizeof(struct exynos_bank_info),
        .ops    = &gpio_exynos_ops,
 };
 #endif
index eb2600de3111d8cea5f882ff5a3580fe257c4d96..fa871305baf1bd885eba075b9b07323c0bcbc2e3 100644 (file)
@@ -532,6 +532,6 @@ U_BOOT_DRIVER(sandbox_pinctrl_gpio) = {
        .ops = &sandbox_pinctrl_gpio_ops,
        .bind = dm_scan_fdt_dev,
        .probe = sandbox_pinctrl_probe,
-       .priv_auto_alloc_size   = sizeof(struct sb_pinctrl_priv),
+       .priv_auto      = sizeof(struct sb_pinctrl_priv),
        ACPI_OPS_PTR(&pinctrl_sandbox_acpi_ops)
 };
index bf3537b76bdbdc49cbf346d3d29dd8af018806c4..19239f5db91c0ef17f6d308763c7f343fa9221f7 100644 (file)
@@ -172,7 +172,7 @@ U_BOOT_DRIVER(gpio_sifive) = {
        .id     = UCLASS_GPIO,
        .of_match = sifive_gpio_match,
        .ofdata_to_platdata = of_match_ptr(sifive_gpio_ofdata_to_platdata),
-       .platdata_auto_alloc_size = sizeof(struct sifive_gpio_platdata),
+       .platdata_auto  = sizeof(struct sifive_gpio_platdata),
        .ops    = &sifive_gpio_ops,
        .probe  = sifive_gpio_probe,
 };
index 51e1efd7014b49288490a23e5090405c9f9016bb..79d55e812db985adcaa4d9e3ee8f5926ba4aa5d4 100644 (file)
@@ -342,5 +342,5 @@ U_BOOT_DRIVER(gpio_stm32) = {
        .probe  = gpio_stm32_probe,
        .ops    = &gpio_stm32_ops,
        .flags  = DM_UC_FLAG_SEQ_ALIAS,
-       .priv_auto_alloc_size   = sizeof(struct stm32_gpio_priv),
+       .priv_auto      = sizeof(struct stm32_gpio_priv),
 };
index 22d25313227583cd50d7ecd87d2eb6ee56840d11..7583c8d6b26ad8cb2216747600fdbf8f33ecb65c 100644 (file)
@@ -377,6 +377,6 @@ U_BOOT_DRIVER(gpio_tegra) = {
        .of_match = tegra_gpio_ids,
        .bind   = gpio_tegra_bind,
        .probe = gpio_tegra_probe,
-       .priv_auto_alloc_size = sizeof(struct tegra_port_info),
+       .priv_auto      = sizeof(struct tegra_port_info),
        .ops    = &gpio_tegra_ops,
 };
index 4efff5c3643810a071af38b7110411c9c7bb95c7..9c4bba8e37ec9106843880c4ed3a2b4e07a34784 100644 (file)
@@ -132,6 +132,6 @@ U_BOOT_DRIVER(gpio_vybrid) = {
        .of_match = vybrid_gpio_ids,
        .ofdata_to_platdata = vybrid_gpio_odata_to_platdata,
        .probe  = vybrid_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct vybrid_gpios),
-       .platdata_auto_alloc_size = sizeof(struct vybrid_gpio_platdata),
+       .priv_auto      = sizeof(struct vybrid_gpios),
+       .platdata_auto  = sizeof(struct vybrid_gpio_platdata),
 };
index 014f120d609f88d77429d35f6e3b168989892345..1bb70b12c92f165c93f7b5e8a8d1ca262200289e 100644 (file)
@@ -307,6 +307,6 @@ U_BOOT_DRIVER(xilinx_gpio) = {
        .of_match = xilinx_gpio_ids,
        .ofdata_to_platdata = xilinx_gpio_ofdata_to_platdata,
        .probe = xilinx_gpio_probe,
-       .platdata_auto_alloc_size = sizeof(struct xilinx_gpio_platdata),
-       .priv_auto_alloc_size = sizeof(struct xilinx_gpio_privdata),
+       .platdata_auto  = sizeof(struct xilinx_gpio_platdata),
+       .priv_auto      = sizeof(struct xilinx_gpio_privdata),
 };
index d0e90b8d633f5cbe642c8602a46a60e2a95a0e5b..4ef2985e76600be314dd873251c1a4001ef07a29 100644 (file)
@@ -407,5 +407,5 @@ U_BOOT_DRIVER(gpio_zynq) = {
        .of_match = zynq_gpio_ids,
        .ofdata_to_platdata = zynq_gpio_ofdata_to_platdata,
        .probe  = zynq_gpio_probe,
-       .platdata_auto_alloc_size = sizeof(struct zynq_gpio_platdata),
+       .platdata_auto  = sizeof(struct zynq_gpio_platdata),
 };
index 8be585a0c8660935b5695c4dea118e671e66524c..fdc1f6fd53ee50ccadb0bd7f5c456a84076796d8 100644 (file)
@@ -90,5 +90,5 @@ U_BOOT_DRIVER(hwspinlock_stm32mp1) = {
        .of_match = stm32mp1_hwspinlock_ids,
        .ops = &stm32mp1_hwspinlock_ops,
        .probe = stm32mp1_hwspinlock_probe,
-       .priv_auto_alloc_size = sizeof(struct stm32mp1_hws_priv),
+       .priv_auto      = sizeof(struct stm32mp1_hws_priv),
 };
index 2cdfb5561b7dff8866daf0c317405c6a058738d9..9a223d8828fe19a48eb3bfe46e52ac3456ade4d5 100644 (file)
@@ -352,6 +352,6 @@ U_BOOT_DRIVER(ast_i2c) = {
        .of_match = ast_i2c_ids,
        .probe = ast_i2c_probe,
        .ofdata_to_platdata = ast_i2c_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct ast_i2c_priv),
+       .priv_auto      = sizeof(struct ast_i2c_priv),
        .ops = &ast_i2c_ops,
 };
index 9d6c6d80e2a6047c573d96d1fa28c06419b92998..db2fbc9d66d16c6672260f72b475d352ec425d74 100644 (file)
@@ -318,7 +318,7 @@ U_BOOT_DRIVER(i2c_at91) = {
        .of_match = at91_i2c_ids,
        .probe = at91_i2c_probe,
        .ofdata_to_platdata = at91_i2c_ofdata_to_platdata,
-       .per_child_auto_alloc_size = sizeof(struct dm_i2c_chip),
-       .priv_auto_alloc_size = sizeof(struct at91_i2c_bus),
+       .per_child_auto = sizeof(struct dm_i2c_chip),
+       .priv_auto      = sizeof(struct at91_i2c_bus),
        .ops    = &at91_i2c_ops,
 };
index a630817352ec2bef91f04860d6331b6e35237e05..1cc5c0618e5bfcce247eb38e0283ff0718cfcaf5 100644 (file)
@@ -56,6 +56,6 @@ U_BOOT_DRIVER(cros_ec_tunnel) = {
        .id     = UCLASS_I2C,
        .of_match = cros_ec_i2c_ids,
        .ofdata_to_platdata = cros_ec_i2c_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct cros_ec_i2c_bus),
+       .priv_auto      = sizeof(struct cros_ec_i2c_bus),
        .ops    = &cros_ec_i2c_ops,
 };
index a54f2151fd3ae88d855b23e8a85a24d9a2d4b51f..074d6095e2ca62a4a28196a5dc7ffb0f227c9dfe 100644 (file)
@@ -504,7 +504,7 @@ U_BOOT_DRIVER(i2c_davinci) = {
        .id     = UCLASS_I2C,
        .of_match = davinci_i2c_ids,
        .probe  = davinci_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct i2c_bus),
+       .priv_auto      = sizeof(struct i2c_bus),
        .ops    = &davinci_i2c_ops,
 };
 
index c54989504ea24d4ff0d1b97d41afdf68c1306e64..1a083d959fb40e4204f8e7783ad0d1dfd9184c5e 100644 (file)
@@ -844,7 +844,7 @@ U_BOOT_DRIVER(i2c_designware) = {
        .of_match = designware_i2c_ids,
        .ofdata_to_platdata = designware_i2c_ofdata_to_platdata,
        .probe  = designware_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct dw_i2c),
+       .priv_auto      = sizeof(struct dw_i2c),
        .remove = designware_i2c_remove,
        .flags  = DM_FLAG_OS_PREPARE,
        .ops    = &designware_i2c_ops,
index d0d869c81a1cf4b7bf0a880a37a5545e021aa324..d62805aa519ea98d579570faf166575b2ba632de 100644 (file)
@@ -213,7 +213,7 @@ U_BOOT_DRIVER(i2c_designware_pci) = {
        .bind   = designware_i2c_pci_bind,
        .ofdata_to_platdata     = designware_i2c_pci_ofdata_to_platdata,
        .probe  = designware_i2c_pci_probe,
-       .priv_auto_alloc_size = sizeof(struct dw_i2c),
+       .priv_auto      = sizeof(struct dw_i2c),
        .remove = designware_i2c_remove,
        .flags = DM_FLAG_OS_PREPARE,
        .ops    = &designware_i2c_ops,
index 5785adedb6d06a21df7ec57353ea9c911a1ff531..2ef6f53a8ba14721367841fa0f5c87d4d6fa1ab9 100644 (file)
@@ -558,6 +558,6 @@ U_BOOT_DRIVER(hs_i2c) = {
        .id     = UCLASS_I2C,
        .of_match = exynos_hs_i2c_ids,
        .ofdata_to_platdata = s3c_i2c_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct s3c24x0_i2c_bus),
+       .priv_auto      = sizeof(struct s3c24x0_i2c_bus),
        .ops    = &exynos_hs_i2c_ops,
 };
index da933452f5156c16b2195dff904cc0cd78ae28aa..f55b4751977ab8b022cffce1c502ba9028a7057d 100644 (file)
@@ -650,7 +650,7 @@ U_BOOT_DRIVER(i2c_fsl) = {
        .of_match = fsl_i2c_ids,
        .probe = fsl_i2c_probe,
        .ofdata_to_platdata = fsl_i2c_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct fsl_i2c_dev),
+       .priv_auto      = sizeof(struct fsl_i2c_dev),
        .ops = &fsl_i2c_ops,
 };
 
index 7144d39984ec99428cd4b4cae390ec2630e5b92c..2cf22330e0b0ad19d79d40e1bcdf75640e7db3b7 100644 (file)
@@ -504,6 +504,6 @@ U_BOOT_DRIVER(cdns_i2c) = {
        .id = UCLASS_I2C,
        .of_match = cdns_i2c_of_match,
        .ofdata_to_platdata = cdns_i2c_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct i2c_cdns_bus),
+       .priv_auto      = sizeof(struct i2c_cdns_bus),
        .ops = &cdns_i2c_ops,
 };
index 036fc4282b53261b478cf40bf5c383a848d10a29..420dfdbab94ece70539dc6197bf5777914a090dd 100644 (file)
@@ -341,7 +341,7 @@ U_BOOT_DRIVER(i2c_cortina) = {
        .of_match = ca_i2c_ids,
        .ofdata_to_platdata = ca_i2c_ofdata_to_platdata,
        .probe  = ca_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct ca_i2c),
+       .priv_auto      = sizeof(struct ca_i2c),
        .ops    = &ca_i2c_ops,
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 84b6a219d19e5b06343fd2da778abf7a711513d4..956ebeefb615ed9ef78fa4e4c13e1bae35fc06d4 100644 (file)
@@ -64,14 +64,14 @@ int i2c_emul_find(struct udevice *dev, struct udevice **emulp)
 UCLASS_DRIVER(i2c_emul) = {
        .id             = UCLASS_I2C_EMUL,
        .name           = "i2c_emul",
-       .per_device_platdata_auto_alloc_size =
+       .per_device_platdata_auto       =
                 sizeof(struct i2c_emul_uc_platdata),
 };
 
 /*
  * This uclass is a child of the i2c bus. Its platdata is not defined here so
  * is defined by its parent, UCLASS_I2C, which uses struct dm_i2c_chip. See
- * per_child_platdata_auto_alloc_size in UCLASS_DRIVER(i2c).
+ * per_child_platdata_auto     in UCLASS_DRIVER(i2c).
  */
 UCLASS_DRIVER(i2c_emul_parent) = {
        .id             = UCLASS_I2C_EMUL_PARENT,
index 381938c956f726f0ca0e5e16c2f798ead59aa31e..9b2f6f20a990f5075d7987f886111e4f570d23b9 100644 (file)
@@ -372,6 +372,6 @@ U_BOOT_DRIVER(i2c_gpio) = {
        .of_match = i2c_gpio_ids,
        .probe  = i2c_gpio_drv_probe,
        .ofdata_to_platdata = i2c_gpio_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct i2c_gpio_bus),
+       .priv_auto      = sizeof(struct i2c_gpio_bus),
        .ops    = &i2c_gpio_ops,
 };
index 5c4626b04421d62a626df0727f4c3ef80be0039a..2feb5882e62f021e758c2474cdeb1afb319dab47 100644 (file)
@@ -739,11 +739,11 @@ UCLASS_DRIVER(i2c) = {
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
        .post_bind      = i2c_post_bind,
        .init           = i2c_uclass_init,
-       .priv_auto_alloc_size = sizeof(struct i2c_priv),
+       .priv_auto      = sizeof(struct i2c_priv),
        .pre_probe      = i2c_pre_probe,
        .post_probe     = i2c_post_probe,
-       .per_device_auto_alloc_size = sizeof(struct dm_i2c_bus),
-       .per_child_platdata_auto_alloc_size = sizeof(struct dm_i2c_chip),
+       .per_device_auto        = sizeof(struct dm_i2c_bus),
+       .per_child_platdata_auto        = sizeof(struct dm_i2c_chip),
        .child_post_bind = i2c_child_post_bind,
 };
 
@@ -766,7 +766,7 @@ U_BOOT_DRIVER(i2c_generic_chip_drv) = {
        .of_match       = generic_chip_i2c_ids,
 #if CONFIG_IS_ENABLED(ACPIGEN)
        .ofdata_to_platdata     = acpi_i2c_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct acpi_i2c_priv),
+       .priv_auto      = sizeof(struct acpi_i2c_priv),
 #endif
        ACPI_OPS_PTR(&acpi_i2c_ops)
 };
index a110fe9e8d95b85266fbe85f652a203af7c146bb..9d6f1688cb100dd5bb18543793a8beebb6c775b6 100644 (file)
@@ -326,6 +326,6 @@ U_BOOT_DRIVER(uniphier_fi2c) = {
        .id = UCLASS_I2C,
        .of_match = uniphier_fi2c_of_match,
        .probe = uniphier_fi2c_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_fi2c_priv),
+       .priv_auto      = sizeof(struct uniphier_fi2c_priv),
        .ops = &uniphier_fi2c_ops,
 };
index e7f44e14e9c2e3428d445dd8e45df009bbd70e31..6eafbeeef4e0586a6d5684f3bac171aed7c60dbb 100644 (file)
@@ -214,6 +214,6 @@ U_BOOT_DRIVER(uniphier_i2c) = {
        .id = UCLASS_I2C,
        .of_match = uniphier_i2c_of_match,
        .probe = uniphier_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_i2c_priv),
+       .priv_auto      = sizeof(struct uniphier_i2c_priv),
        .ops = &uniphier_i2c_ops,
 };
index 62831522bd3328dd4c431bed51ab6703cacf8afb..8183202d316c6ce81ddf40dba2e2d4c5979ca1d9 100644 (file)
@@ -277,6 +277,6 @@ U_BOOT_DRIVER(versatile_i2c) = {
        .id = UCLASS_I2C,
        .of_match = versatile_i2c_of_match,
        .probe = versatile_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct versatile_i2c_priv),
+       .priv_auto      = sizeof(struct versatile_i2c_priv),
        .ops = &versatile_i2c_ops,
 };
index cec38538da43aeb65e758bb131b3e2b6a8d72f04..f91a96a3aa316f282e3dce8cb9bf2324fbbfeb53 100644 (file)
@@ -354,7 +354,7 @@ U_BOOT_DRIVER(i2c_ihs) = {
        .id = UCLASS_I2C,
        .of_match = ihs_i2c_ids,
        .probe = ihs_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct ihs_i2c_priv),
+       .priv_auto      = sizeof(struct ihs_i2c_priv),
        .ops = &ihs_i2c_ops,
 };
 
index feeed1e9a2f95ec43d348a19c14a00abfe75f8cd..270a49423c6d7121d50dcb5d416de8fbcda31c57 100644 (file)
@@ -519,6 +519,6 @@ U_BOOT_DRIVER(imx_lpi2c) = {
        .id = UCLASS_I2C,
        .of_match = imx_lpi2c_ids,
        .probe = imx_lpi2c_probe,
-       .priv_auto_alloc_size = sizeof(struct imx_lpi2c_bus),
+       .priv_auto      = sizeof(struct imx_lpi2c_bus),
        .ops = &imx_lpi2c_ops,
 };
index 3b79cb40cd3c5b52e0a9312fc0646ea22e1267ce..c92074a61929f8783cf75b82c07c78e446233636 100644 (file)
@@ -306,7 +306,7 @@ U_BOOT_DRIVER(intel_i2c) = {
        .id     = UCLASS_I2C,
        .of_match = intel_i2c_ids,
        .ops    = &intel_i2c_ops,
-       .priv_auto_alloc_size = sizeof(struct intel_i2c),
+       .priv_auto      = sizeof(struct intel_i2c),
        .bind   = intel_i2c_bind,
        .probe  = intel_i2c_probe,
 };
index b7e9ced898310490d73e8ad1ccaaf79e2f9a179f..20e259573305dccf620dd4525ebc3cee3201dd2c 100644 (file)
@@ -707,7 +707,7 @@ U_BOOT_DRIVER(iproc_i2c) = {
        .of_match = iproc_i2c_ids,
        .ofdata_to_platdata = iproc_i2c_ofdata_to_platdata,
        .probe  = iproc_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct iproc_i2c),
+       .priv_auto      = sizeof(struct iproc_i2c),
        .ops    = &iproc_i2c_ops,
        .flags  = DM_FLAG_PRE_RELOC,
 };
index e070caf43f2a073bd5e9f4a6f5113873a3ab0b48..434e3461b1dd0b74dd57762b95722a319507b16a 100644 (file)
@@ -308,6 +308,6 @@ U_BOOT_DRIVER(i2c_meson) = {
        .id   = UCLASS_I2C,
        .of_match = meson_i2c_ids,
        .probe = meson_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct meson_i2c),
+       .priv_auto      = sizeof(struct meson_i2c),
        .ops = &meson_i2c_ops,
 };
index 584d0a4fef19b5037dd18eb125dda75c594b35c2..928e02b7af176264f46b6df1ab248a3c3268e6f0 100644 (file)
@@ -145,5 +145,5 @@ U_BOOT_DRIVER(i2c_arbitrator) = {
        .probe = i2c_arbitrator_probe,
        .remove = i2c_arbitrator_remove,
        .ops = &i2c_arbitrator_ops,
-       .priv_auto_alloc_size = sizeof(struct i2c_arbitrator_priv),
+       .priv_auto      = sizeof(struct i2c_arbitrator_priv),
 };
index 83dcb40213320a9acce9296a5e5c31ce2a7c8cfd..8d6e208a0b86716bd56aa5a947cfbb2460dcd1bd 100644 (file)
@@ -136,5 +136,5 @@ U_BOOT_DRIVER(i2c_mux_gpio) = {
        .of_match = i2c_mux_gpio_ids,
        .ops = &i2c_mux_gpio_ops,
        .probe = i2c_mux_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct i2c_mux_gpio_priv),
+       .priv_auto      = sizeof(struct i2c_mux_gpio_priv),
 };
index 26897554b0f2bc729c95e794f40c4ce3b1c22ace..cefd9dbfff00b0190c4ece51e14fcd64f0cac10f 100644 (file)
@@ -220,7 +220,7 @@ UCLASS_DRIVER(i2c_mux) = {
        .name           = "i2c_mux",
        .post_bind      = i2c_mux_post_bind,
        .post_probe     = i2c_mux_post_probe,
-       .per_device_auto_alloc_size = sizeof(struct i2c_mux),
-       .per_child_platdata_auto_alloc_size = sizeof(struct i2c_mux_bus),
+       .per_device_auto        = sizeof(struct i2c_mux),
+       .per_child_platdata_auto        = sizeof(struct i2c_mux_bus),
        .child_post_bind = i2c_mux_child_post_bind,
 };
index 7360e162eeb5398494458d2ff951161fdf861143..06efe846765d15c82e12a3ad36998297a160677e 100644 (file)
@@ -172,5 +172,5 @@ U_BOOT_DRIVER(pca954x) = {
        .remove = pca954x_remove,
        .ops = &pca954x_ops,
        .ofdata_to_platdata = pca954x_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct pca954x_priv),
+       .priv_auto      = sizeof(struct pca954x_priv),
 };
index 82e8fdac4137336c1738cf70af1ffd8b1480dc27..ef1007de142a69d9a90c4db1ff3a2ebc06d452d6 100644 (file)
@@ -600,7 +600,7 @@ U_BOOT_DRIVER(i2c_mv) = {
        .id     = UCLASS_I2C,
        .of_match = mv_i2c_ids,
        .probe  = mv_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct mv_i2c_priv),
+       .priv_auto      = sizeof(struct mv_i2c_priv),
        .ops    = &mv_i2c_ops,
 };
 #endif /* CONFIG_DM_I2C */
index 14c594d648ba24ee8f6b1d22db4588450432b88f..dd9cfebdfe690148b3a3eeb49bd61bf8ef96dabc 100644 (file)
@@ -889,7 +889,7 @@ U_BOOT_DRIVER(i2c_mvtwsi) = {
        .bind = mvtwsi_i2c_bind,
        .probe = mvtwsi_i2c_probe,
        .ofdata_to_platdata = mvtwsi_i2c_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct mvtwsi_i2c_dev),
+       .priv_auto      = sizeof(struct mvtwsi_i2c_dev),
        .ops = &mvtwsi_i2c_ops,
 };
 #endif /* CONFIG_DM_I2C */
index 7609594bd01467d494fa4f847e1232f1af9e87ef..3d37858fb419115aab76f65f0fc792a73e19d239 100644 (file)
@@ -1072,7 +1072,7 @@ U_BOOT_DRIVER(i2c_mxc) = {
        .id = UCLASS_I2C,
        .of_match = mxc_i2c_ids,
        .probe = mxc_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct mxc_i2c_bus),
+       .priv_auto      = sizeof(struct mxc_i2c_bus),
        .ops = &mxc_i2c_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index ca14a0ecac71655ed71cf6c7451988513f97e275..a672c011d20e4fdb900337803ce9ddb9b2831878 100644 (file)
@@ -621,6 +621,6 @@ U_BOOT_DRIVER(i2c_nexell) = {
        .id             = UCLASS_I2C,
        .of_match       = nx_i2c_ids,
        .probe          = nx_i2c_probe,
-       .priv_auto_alloc_size   = sizeof(struct nx_i2c_bus),
+       .priv_auto      = sizeof(struct nx_i2c_bus),
        .ops            = &nx_i2c_ops,
 };
index c4f2cc43f9e5c02c7a0e15f530612f89180c1d91..48ed1d5bffb86310ccc0c04383d72312cec4df2a 100644 (file)
@@ -632,6 +632,6 @@ U_BOOT_DRIVER(i2c_ocores) = {
        .id     = UCLASS_I2C,
        .of_match = ocores_i2c_ids,
        .probe = ocores_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct ocores_i2c_bus),
+       .priv_auto = sizeof(struct ocores_i2c_bus),
        .ops    = &ocores_i2c_ops,
 };
index 23dcb1563ea56f546c2f3cb9f02fa65199dd1820..b1a9cce71c44f9c4853598182abb5e632f8f91f5 100644 (file)
@@ -835,6 +835,6 @@ U_BOOT_DRIVER(octeon_pci_twsi) = {
        .id     = UCLASS_I2C,
        .of_match = octeon_i2c_ids,
        .probe  = octeon_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct octeon_twsi),
+       .priv_auto      = sizeof(struct octeon_twsi),
        .ops    = &octeon_i2c_ops,
 };
index 0af4e333c412799c56a70f8e95a28671e4fd82e6..bdb4f079e9d462c2d4e12aa64b3e80446336875f 100644 (file)
@@ -1094,10 +1094,10 @@ U_BOOT_DRIVER(i2c_omap) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = omap_i2c_ids,
        .ofdata_to_platdata = omap_i2c_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct omap_i2c_platdata),
+       .platdata_auto  = sizeof(struct omap_i2c_platdata),
 #endif
        .probe  = omap_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct omap_i2c),
+       .priv_auto      = sizeof(struct omap_i2c),
        .ops    = &omap_i2c_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
        .flags  = DM_FLAG_PRE_RELOC,
index 663c342cd839a6e9404a117e354cbccad9ad4b21..14bb6603d59ec927b92298030dffaeef0dba4157 100644 (file)
@@ -371,6 +371,6 @@ U_BOOT_DRIVER(i2c_rcar) = {
        .id             = UCLASS_I2C,
        .of_match       = rcar_i2c_ids,
        .probe          = rcar_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct rcar_i2c_priv),
+       .priv_auto      = sizeof(struct rcar_i2c_priv),
        .ops            = &rcar_i2c_ops,
 };
index cad0a623d363ee886a4525a1001904e9ad59e1c3..f0e50914c68d4330f404a39fa31c8f7ee1d48d0a 100644 (file)
@@ -269,6 +269,6 @@ U_BOOT_DRIVER(iic_rcar) = {
        .id             = UCLASS_I2C,
        .of_match       = rcar_iic_ids,
        .probe          = rcar_iic_probe,
-       .priv_auto_alloc_size = sizeof(struct rcar_iic_priv),
+       .priv_auto      = sizeof(struct rcar_iic_priv),
        .ops            = &rcar_iic_ops,
 };
index 659461088b73b48d08cfad846b98fb51d406cfac..e9717e530c37fca1e0e45f73bc486a4827b0b781 100644 (file)
@@ -491,7 +491,7 @@ U_BOOT_DRIVER(rockchip_rk3066_i2c) = {
        .of_match = rockchip_i2c_ids,
        .ofdata_to_platdata = rockchip_i2c_ofdata_to_platdata,
        .probe  = rockchip_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct rk_i2c),
+       .priv_auto      = sizeof(struct rk_i2c),
        .ops    = &rockchip_i2c_ops,
 };
 
index cb45d3c100fedb3105a91cd94dedac4bab08d5da..ca94d2950ef49d33ac2bed9608d1ce4a52af9bf2 100644 (file)
@@ -343,6 +343,6 @@ U_BOOT_DRIVER(i2c_s3c) = {
        .id     = UCLASS_I2C,
        .of_match = s3c_i2c_ids,
        .ofdata_to_platdata = s3c_i2c_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct s3c24x0_i2c_bus),
+       .priv_auto      = sizeof(struct s3c24x0_i2c_bus),
        .ops    = &s3c_i2c_ops,
 };
index 2cbdaf9cc736c3a07fd1a3fac98cbec52d23b50c..3abd05324af0f9c86e9bc19df087a761df1fa00e 100644 (file)
@@ -98,5 +98,5 @@ U_BOOT_DRIVER(sandbox_i2c) = {
        .id     = UCLASS_I2C,
        .of_match = sandbox_i2c_ids,
        .ops    = &sandbox_i2c_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_i2c_priv),
+       .priv_auto      = sizeof(struct sandbox_i2c_priv),
 };
index 2f60911549425f4cc28747e7717eed89ef4040f3..483d83409f77baaf958bec774a2922de868a750f 100644 (file)
@@ -955,6 +955,6 @@ U_BOOT_DRIVER(stm32f7_i2c) = {
        .of_match = stm32_i2c_of_match,
        .ofdata_to_platdata = stm32_ofdata_to_platdata,
        .probe = stm32_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct stm32_i2c_priv),
+       .priv_auto      = sizeof(struct stm32_i2c_priv),
        .ops = &stm32_i2c_ops,
 };
index 37204718ca134ef605698cae62b0a20ca952131c..88e4e9a5c9dd8a8d7f82d9bcc5dee80e38750dc6 100644 (file)
@@ -122,6 +122,6 @@ U_BOOT_DRIVER(i2c_gpio) = {
        .id     = UCLASS_I2C,
        .of_match = tegra186_bpmp_i2c_ids,
        .probe  = tegra186_bpmp_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct tegra186_bpmp_i2c),
+       .priv_auto      = sizeof(struct tegra186_bpmp_i2c),
        .ops    = &tegra186_bpmp_i2c_ops,
 };
index 65b3734348b010aae6c3a86e83499de4772e875f..7cb5e8b343692ff489aa18dbe3ac22aeddfbe0d5 100644 (file)
@@ -523,6 +523,6 @@ U_BOOT_DRIVER(i2c_tegra) = {
        .id     = UCLASS_I2C,
        .of_match = tegra_i2c_ids,
        .probe  = tegra_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct i2c_bus),
+       .priv_auto      = sizeof(struct i2c_bus),
        .ops    = &tegra_i2c_ops,
 };
index 149bd327bdfe7ab42d4513de69adb33c8aa80013..72199a62b2d77c844a25b79a8f2cc70926831b12 100644 (file)
@@ -348,6 +348,6 @@ U_BOOT_DRIVER(xilinx_xiic) = {
        .id             = UCLASS_I2C,
        .of_match       = xilinx_xiic_ids,
        .probe          = xilinx_xiic_probe,
-       .priv_auto_alloc_size = sizeof(struct xilinx_xiic_priv),
+       .priv_auto      = sizeof(struct xilinx_xiic_priv),
        .ops            = &xilinx_xiic_ops,
 };
index 0c0f52205b289ac0f5f11b303a9521aea3dac2d1..dc3b08c0f66865d9883e371160089f78657a2010 100644 (file)
@@ -251,5 +251,5 @@ U_BOOT_DRIVER(google_cros_ec_keyb) = {
        .of_match = cros_ec_kbd_ids,
        .probe = cros_ec_kbd_probe,
        .ops    = &cros_ec_kbd_ops,
-       .priv_auto_alloc_size = sizeof(struct cros_ec_keyb_priv),
+       .priv_auto      = sizeof(struct cros_ec_keyb_priv),
 };
index 7beaccca2c8c88762086ff34f0e9168e753aeb61..1ea11fd67b44a6c3a85ea319fce8c799ea39341d 100644 (file)
@@ -357,5 +357,5 @@ U_BOOT_DRIVER(i8042_kbd) = {
        .probe = i8042_kbd_probe,
        .remove = i8042_kbd_remove,
        .ops    = &i8042_kbd_ops,
-       .priv_auto_alloc_size = sizeof(struct i8042_kbd_priv),
+       .priv_auto      = sizeof(struct i8042_kbd_priv),
 };
index f19934e6bb6629762e6a824a712fa45a435c227d..2c6680337d9d3a05fecc3032230112887be98f6b 100644 (file)
@@ -87,5 +87,5 @@ UCLASS_DRIVER(keyboard) = {
        .id             = UCLASS_KEYBOARD,
        .name           = "keyboard",
        .pre_probe      = keyboard_pre_probe,
-       .per_device_auto_alloc_size = sizeof(struct keyboard_priv),
+       .per_device_auto        = sizeof(struct keyboard_priv),
 };
index f07a51dc30768c15bd38076f63ca1c038f8d090d..5113041d3e5b3d7748807360517843330af1c41f 100644 (file)
@@ -350,5 +350,5 @@ U_BOOT_DRIVER(tegra_kbd) = {
        .of_match = tegra_kbd_ids,
        .probe = tegra_kbd_probe,
        .ops    = &tegra_kbd_ops,
-       .priv_auto_alloc_size = sizeof(struct tegra_kbd_priv),
+       .priv_auto      = sizeof(struct tegra_kbd_priv),
 };
index 2859475a6b8e99a93377d1182543a181aa94a455..d20e28dc616244c4a62fe02a3715da34d9eda5ab 100644 (file)
@@ -96,5 +96,5 @@ int led_default_state(void)
 UCLASS_DRIVER(led) = {
        .id             = UCLASS_LED,
        .name           = "led",
-       .per_device_platdata_auto_alloc_size = sizeof(struct led_uc_plat),
+       .per_device_platdata_auto       = sizeof(struct led_uc_plat),
 };
index 52946835de33c246a3b47f1443b9aa82e7b4d397..dbe9ab15a50a683fd9e6f5c3bcc984864cc24888 100644 (file)
@@ -241,5 +241,5 @@ U_BOOT_DRIVER(bcm6328_led) = {
        .ops = &bcm6328_led_ops,
        .bind = bcm6328_led_bind,
        .probe = bcm6328_led_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6328_led_priv),
+       .priv_auto      = sizeof(struct bcm6328_led_priv),
 };
index 307d418a17894c3ff1640a029705357f7a78da7d..4bf4a09a0a5689cb9c8e7897eccaf4a82f6ec069 100644 (file)
@@ -210,6 +210,6 @@ U_BOOT_DRIVER(bcm6358_led) = {
        .of_match = bcm6358_led_ids,
        .bind = bcm6358_led_bind,
        .probe = bcm6358_led_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6358_led_priv),
+       .priv_auto      = sizeof(struct bcm6358_led_priv),
        .ops = &bcm6358_led_ops,
 };
index 511185ffad7d2e497139423f7babdbe98b880f19..0b1379dfd889a3cb878e0b5f4393e4a05469e4c9 100644 (file)
@@ -247,6 +247,6 @@ U_BOOT_DRIVER(bcm6858_led) = {
        .of_match = bcm6858_led_ids,
        .bind = bcm6858_led_bind,
        .probe = bcm6858_led_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6858_led_priv),
+       .priv_auto      = sizeof(struct bcm6858_led_priv),
        .ops = &bcm6858_led_ops,
 };
index 8fd6fd15396fedde2963aca9a007f57bef0f1378..b8760bef3933605ed7a859652ad27247f7c562c8 100644 (file)
@@ -292,7 +292,7 @@ U_BOOT_DRIVER(cortina_led) = {
        .ofdata_to_platdata = ca_led_ofdata_to_platdata,
        .bind = cortina_led_bind,
        .probe = cortina_led_probe,
-       .platdata_auto_alloc_size = sizeof(struct cortina_led_platdata),
-       .priv_auto_alloc_size = sizeof(struct cortina_led_cfg),
+       .platdata_auto  = sizeof(struct cortina_led_platdata),
+       .priv_auto      = sizeof(struct cortina_led_cfg),
        .ops = &cortina_led_ops,
 };
index 2cdb0269f416c9c384b9e27891ec72d034a48fab..fe18ae3eed1c3ff8be3b46dd3b6a4215e68abf64 100644 (file)
@@ -128,7 +128,7 @@ U_BOOT_DRIVER(led_gpio) = {
        .id     = UCLASS_LED,
        .of_match = led_gpio_ids,
        .ops    = &gpio_led_ops,
-       .priv_auto_alloc_size = sizeof(struct led_gpio_priv),
+       .priv_auto      = sizeof(struct led_gpio_priv),
        .bind   = led_gpio_bind,
        .probe  = led_gpio_probe,
        .remove = led_gpio_remove,
index 27ccc6eab060649de893960978d2d3604925e138..8dd93a3e11e96cd0eda8cb71bc64865464c10de2 100644 (file)
@@ -438,6 +438,6 @@ U_BOOT_DRIVER(k3_sec_proxy) = {
        .of_match = k3_sec_proxy_ids,
        .probe = k3_sec_proxy_probe,
        .remove = k3_sec_proxy_remove,
-       .priv_auto_alloc_size = sizeof(struct k3_sec_proxy_mbox),
+       .priv_auto      = sizeof(struct k3_sec_proxy_mbox),
        .ops = &k3_sec_proxy_mbox_ops,
 };
index faca8fcc441c97c1c6718117c96b13812e134ca9..ffd4674d1ef7f12089ab0a5191b33fea8348a75c 100644 (file)
@@ -50,5 +50,5 @@ U_BOOT_DRIVER(sandbox_mbox_test) = {
        .name = "sandbox_mbox_test",
        .id = UCLASS_MISC,
        .of_match = sandbox_mbox_test_ids,
-       .priv_auto_alloc_size = sizeof(struct sandbox_mbox_test),
+       .priv_auto      = sizeof(struct sandbox_mbox_test),
 };
index 19704dd5da9e510885b5bcff7caa781c0e3c8879..87d38de0cb612afaf971e47434298f4bb2448e28 100644 (file)
@@ -100,6 +100,6 @@ U_BOOT_DRIVER(sandbox_mbox) = {
        .of_match = sandbox_mbox_ids,
        .bind = sandbox_mbox_bind,
        .probe = sandbox_mbox_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_mbox),
+       .priv_auto      = sizeof(struct sandbox_mbox),
        .ops = &sandbox_mbox_mbox_ops,
 };
index 81a411598638a72421d1ed6f165f5b69bc664700..093b570414f5e7b3b535e614afa8870b1ac88019 100644 (file)
@@ -163,6 +163,6 @@ U_BOOT_DRIVER(stm32_ipcc) = {
        .id = UCLASS_MAILBOX,
        .of_match = stm32_ipcc_ids,
        .probe = stm32_ipcc_probe,
-       .priv_auto_alloc_size = sizeof(struct stm32_ipcc),
+       .priv_auto      = sizeof(struct stm32_ipcc),
        .ops = &stm32_ipcc_mbox_ops,
 };
index e91dac201d2ab613ed811bec5cda95c09f128949..1d66d95fe48db18ff91b4c4a15c24f2bd09d0726 100644 (file)
@@ -189,6 +189,6 @@ U_BOOT_DRIVER(tegra_hsp) = {
        .of_match = tegra_hsp_ids,
        .bind = tegra_hsp_bind,
        .probe = tegra_hsp_probe,
-       .priv_auto_alloc_size = sizeof(struct tegra_hsp),
+       .priv_auto      = sizeof(struct tegra_hsp),
        .ops = &tegra_hsp_mbox_ops,
 };
index 847a03648b8a7c5aae52268e0b9964ac66d56c64..959cce923c5982266003be5396f487ce49697e64 100644 (file)
@@ -137,6 +137,6 @@ U_BOOT_DRIVER(zynqmp_ipi) = {
        .id = UCLASS_MAILBOX,
        .of_match = zynqmp_ipi_ids,
        .probe = zynqmp_ipi_probe,
-       .priv_auto_alloc_size = sizeof(struct zynqmp_ipi),
+       .priv_auto      = sizeof(struct zynqmp_ipi),
        .ops = &zynqmp_ipi_mbox_ops,
 };
index d887a1e09d0b1d5f4f45e1b3f22d466bbfbc60b9..f3f48f8b38d578a5be54fdf145caf49b785747f5 100644 (file)
@@ -1051,6 +1051,6 @@ U_BOOT_DRIVER(stm32_fmc2_ebi) = {
        .id = UCLASS_NOP,
        .of_match = stm32_fmc2_ebi_match,
        .probe = stm32_fmc2_ebi_probe,
-       .priv_auto_alloc_size = sizeof(struct stm32_fmc2_ebi),
+       .priv_auto      = sizeof(struct stm32_fmc2_ebi),
        .bind = dm_scan_fdt_dev,
 };
index c6502650b75d08a9d52ebf449f686e91e2292458..509fd7eb550e6f73321c3b3164ebc52f52252a75 100644 (file)
@@ -94,6 +94,6 @@ U_BOOT_DRIVER(altera_sysid) = {
        .id     = UCLASS_MISC,
        .of_match = altera_sysid_ids,
        .ofdata_to_platdata = altera_sysid_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_sysid_platdata),
+       .platdata_auto  = sizeof(struct altera_sysid_platdata),
        .ops    = &altera_sysid_ops,
 };
index 422ea6f3e5ab29515eb796ca5dc73656212f8c53..bacd47e60f1f1f2325484d26992363b3e519c492 100644 (file)
@@ -407,5 +407,5 @@ U_BOOT_DRIVER(atsha204) = {
        .id                     = UCLASS_MISC,
        .of_match               = atsha204a_ids,
        .ofdata_to_platdata     = atsha204a_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(fdt_addr_t),
+       .priv_auto      = sizeof(fdt_addr_t),
 };
index 1b22f1883eeca9ad73f4df16d3e9c4af9cff7e48..f03b7d55d649803a63fe15852d456b90aaed5610 100644 (file)
@@ -1505,7 +1505,7 @@ int cros_ec_set_lid_shutdown_mask(struct udevice *dev, int enable)
 UCLASS_DRIVER(cros_ec) = {
        .id             = UCLASS_CROS_EC,
        .name           = "cros-ec",
-       .per_device_auto_alloc_size = sizeof(struct cros_ec_dev),
+       .per_device_auto        = sizeof(struct cros_ec_dev),
        .post_bind      = dm_scan_fdt_dev,
        .flags          = DM_UC_FLAG_ALLOC_PRIV_DMA,
 };
index ff7f782742a86f507a5dc1148a363cfe27966e72..cb7229ae96f07309bd58223565d00ca253e8167e 100644 (file)
@@ -587,6 +587,6 @@ U_BOOT_DRIVER(google_cros_ec_sandbox) = {
        .id             = UCLASS_CROS_EC,
        .of_match       = cros_ec_ids,
        .probe          = cros_ec_probe,
-       .priv_auto_alloc_size = sizeof(struct ec_state),
+       .priv_auto      = sizeof(struct ec_state),
        .ops            = &cros_ec_ops,
 };
index 56406aa1dd2d48aee2a7099a4601940a51978994..71e20a492782ae068b7bd8cac4204304f319e954 100644 (file)
@@ -285,8 +285,8 @@ U_BOOT_DRIVER(fs_loader) = {
        .of_match               = fs_loader_ids,
        .probe                  = fs_loader_probe,
        .ofdata_to_platdata     = fs_loader_ofdata_to_platdata,
-       .platdata_auto_alloc_size       = sizeof(struct device_platdata),
-       .priv_auto_alloc_size   = sizeof(struct firmware),
+       .platdata_auto  = sizeof(struct device_platdata),
+       .priv_auto      = sizeof(struct firmware),
 };
 
 UCLASS_DRIVER(fs_loader) = {
index 69e16a06a0a77d30bbf50095f888109bd15f0699..145cfa23c6c5fea0401e1656d680dc3a51729371 100644 (file)
@@ -206,5 +206,5 @@ U_BOOT_DRIVER(gdsys_ioep) = {
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
        .of_match       = gdsys_ioep_ids,
        .probe          = gdsys_ioep_probe,
-       .priv_auto_alloc_size = sizeof(struct gdsys_ioep_priv),
+       .priv_auto      = sizeof(struct gdsys_ioep_priv),
 };
index c56abce4d4c13fafcbc3088adeb59c27b9d7459f..8f5cbe420f8756b8609bd252deb5e1e2effebbe5 100644 (file)
@@ -77,5 +77,5 @@ U_BOOT_DRIVER(gdsys_rxaui_ctrl) = {
        .ops            = &gdsys_rxaui_ctrl_ops,
        .of_match       = gdsys_rxaui_ctrl_ids,
        .probe          = gdsys_rxaui_ctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct gdsys_rxaui_ctrl_priv),
+       .priv_auto      = sizeof(struct gdsys_rxaui_ctrl_priv),
 };
index b4c721c6fe631563946615e008ce1365ad9adbc4..27e7dc483276e71abfa72d4eb600905b717e14fc 100644 (file)
@@ -71,5 +71,5 @@ U_BOOT_DRIVER(gdsys_soc_bus) = {
        .id             = UCLASS_SIMPLE_BUS,
        .of_match       = gdsys_soc_ids,
        .probe          = gdsys_soc_probe,
-       .priv_auto_alloc_size = sizeof(struct gdsys_soc_priv),
+       .priv_auto      = sizeof(struct gdsys_soc_priv),
 };
index 92e1835625444d1a648da15d29c3dc2bcff973ce..3499114394de83628115d0a34c1b433ef78dc241 100644 (file)
@@ -284,7 +284,7 @@ U_BOOT_DRIVER(i2c_eeprom_std) = {
        .bind                   = i2c_eeprom_std_bind,
        .probe                  = i2c_eeprom_std_probe,
        .ofdata_to_platdata     = i2c_eeprom_std_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct i2c_eeprom),
+       .priv_auto      = sizeof(struct i2c_eeprom),
        .ops                    = &i2c_eeprom_std_ops,
 };
 
@@ -366,7 +366,7 @@ U_BOOT_DRIVER(i2c_eeprom_partition) = {
        .id                     = UCLASS_I2C_EEPROM,
        .probe                  = i2c_eeprom_partition_probe,
        .ofdata_to_platdata     = i2c_eeprom_partition_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct i2c_eeprom_partition),
+       .priv_auto      = sizeof(struct i2c_eeprom_partition),
        .ops                    = &i2c_eeprom_partition_ops,
 };
 
index 6be76ad02ef686813a3aa9d609c4214ff2c39bd4..2089df1e0084007b3fc89803ca1385031f732d4d 100644 (file)
@@ -200,7 +200,7 @@ U_BOOT_DRIVER(sandbox_i2c_emul) = {
        .ofdata_to_platdata = sandbox_i2c_eeprom_ofdata_to_platdata,
        .probe          = sandbox_i2c_eeprom_probe,
        .remove         = sandbox_i2c_eeprom_remove,
-       .priv_auto_alloc_size = sizeof(struct sandbox_i2c_flash),
-       .platdata_auto_alloc_size = sizeof(struct sandbox_i2c_flash_plat_data),
+       .priv_auto      = sizeof(struct sandbox_i2c_flash),
+       .platdata_auto  = sizeof(struct sandbox_i2c_flash_plat_data),
        .ops            = &sandbox_i2c_emul_ops,
 };
index 00d34a3adc2be95cbcde01cbf762993a3c77445f..a0fece985d85bc3105d6448458fea5c095be8585 100644 (file)
@@ -866,5 +866,5 @@ U_BOOT_DRIVER(ihs_fpga_bus) = {
        .id             = UCLASS_MISC,
        .of_match       = ihs_fpga_ids,
        .probe          = ihs_fpga_probe,
-       .priv_auto_alloc_size = sizeof(struct ihs_fpga_priv),
+       .priv_auto      = sizeof(struct ihs_fpga_priv),
 };
index 223aac8518a624bcacb192c79da599706b9b060b..5a2a0e6c5235a0911c91ec220cde8c5be0bb4106 100644 (file)
@@ -245,6 +245,6 @@ U_BOOT_DRIVER(imx8_scu) = {
        .bind           = imx8_scu_bind,
        .remove         = imx8_scu_remove,
        .ops            = &imx8_scu_ops,
-       .platdata_auto_alloc_size = sizeof(struct imx8_scu),
+       .platdata_auto  = sizeof(struct imx8_scu),
        .flags          = DM_FLAG_PRE_RELOC,
 };
index a2511b32fcd624351af5b2738519d173934e9b53..1f7e62e66142e837bfc9dee9557737ea0e2c51a2 100644 (file)
@@ -108,5 +108,5 @@ U_BOOT_DRIVER(sandbox_irq_drv) = {
        .id             = UCLASS_IRQ,
        .of_match       = sandbox_irq_ids,
        .ops            = &sandbox_irq_ops,
-       .priv_auto_alloc_size   = sizeof(struct sandbox_irq_priv),
+       .priv_auto      = sizeof(struct sandbox_irq_priv),
 };
index 408c89315a9f8a30dee1c0538235082df2604612..840148d0900c28244af7c042700d5cfb59770bd4 100644 (file)
@@ -390,5 +390,5 @@ U_BOOT_DRIVER(k3_avs) = {
        .of_match = k3_avs_ids,
        .id = UCLASS_MISC,
        .probe = k3_avs_probe,
-       .priv_auto_alloc_size = sizeof(struct k3_avs_privdata),
+       .priv_auto      = sizeof(struct k3_avs_privdata),
 };
index 64cc4ae7b61ead62855b7b5b9cdb48bb0ab90025..43a539e942e6a81f0f7b9e3e58f69a14a7bb538b 100644 (file)
@@ -62,5 +62,5 @@ U_BOOT_DRIVER(microchip_flexcom) = {
        .id     = UCLASS_MISC,
        .of_match = microchip_flexcom_ids,
        .ofdata_to_platdata = microchip_flexcom_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct microchip_flexcom_platdata),
+       .platdata_auto  = sizeof(struct microchip_flexcom_platdata),
 };
index f7c5b2e25fa03510f73425c5f675c9c4c8cdb1c2..0e4292fd0aa97e097852d6bf3e0bd8420c770b5e 100644 (file)
@@ -129,5 +129,5 @@ U_BOOT_DRIVER(misc_sandbox) = {
        .ops            = &misc_sandbox_ops,
        .of_match       = misc_sandbox_ids,
        .probe          = misc_sandbox_probe,
-       .priv_auto_alloc_size = sizeof(struct misc_sandbox_priv),
+       .priv_auto      = sizeof(struct misc_sandbox_priv),
 };
index ab1e34e6f46c3a77d36742ab981884b9be31bca6..93c87e998c4f3923213d60e3096bee1ef6cd7a40 100644 (file)
@@ -183,5 +183,5 @@ U_BOOT_DRIVER(mpc83xx_serdes) = {
        .id             = UCLASS_MISC,
        .of_match       = mpc83xx_serdes_ids,
        .probe          = mpc83xx_serdes_probe,
-       .priv_auto_alloc_size = sizeof(struct mpc83xx_serdes_priv),
+       .priv_auto      = sizeof(struct mpc83xx_serdes_priv),
 };
index 12abcff2da405adf98e3ee6f917642a34dc05db7..e41c2cd4814a6dc1a7e315004dcf07d72a48672b 100644 (file)
@@ -221,9 +221,9 @@ static int p2sb_post_bind(struct udevice *dev)
 UCLASS_DRIVER(p2sb) = {
        .id             = UCLASS_P2SB,
        .name           = "p2sb",
-       .per_device_auto_alloc_size = sizeof(struct p2sb_uc_priv),
+       .per_device_auto        = sizeof(struct p2sb_uc_priv),
        .post_bind      = p2sb_post_bind,
        .child_post_bind = p2sb_child_post_bind,
-       .per_child_platdata_auto_alloc_size =
+       .per_child_platdata_auto        =
                sizeof(struct p2sb_child_platdata),
 };
index a4b6dba51620595c82af9c9592bac4fb3a2ce701..acdc2c099b4e59cd8281328b4aeaefb05fa49c48 100644 (file)
@@ -262,8 +262,8 @@ U_BOOT_DRIVER(sandbox_p2sb_emul_emul) = {
        .id             = UCLASS_PCI_EMUL,
        .of_match       = sandbox_p2sb_emul_ids,
        .ops            = &sandbox_p2sb_emul_emul_ops,
-       .priv_auto_alloc_size = sizeof(struct p2sb_emul_priv),
-       .platdata_auto_alloc_size = sizeof(struct p2sb_emul_platdata),
+       .priv_auto      = sizeof(struct p2sb_emul_priv),
+       .platdata_auto  = sizeof(struct p2sb_emul_platdata),
 };
 
 static struct pci_device_id sandbox_p2sb_emul_supported[] = {
index ce50a9732ee76fdc7c2f1d85b42f8d8a60533da6..d80bca22a6b2fce145b34a5512d65e964b0ff74b 100644 (file)
@@ -35,5 +35,5 @@ U_BOOT_DRIVER(p2sb_sandbox) = {
        .id = UCLASS_P2SB,
        .of_match = sandbox_p2sb_ids,
        .probe = sandbox_p2sb_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_p2sb_priv),
+       .priv_auto      = sizeof(struct sandbox_p2sb_priv),
 };
index 46ce6305fe68ecccc09ef4044f1e822e17c218af..447b180231d6fd7177dcfebd9e89eceae565dfe7 100644 (file)
@@ -155,6 +155,6 @@ U_BOOT_DRIVER(rockchip_efuse) = {
        .id = UCLASS_MISC,
        .of_match = rockchip_efuse_ids,
        .ofdata_to_platdata = rockchip_efuse_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct rockchip_efuse_platdata),
+       .platdata_auto  = sizeof(struct rockchip_efuse_platdata),
        .ops = &rockchip_efuse_ops,
 };
index bdd443b3db9bea0da1386e01bb902b4476303691..139855adc4d747feec73bad14e3576a6d3c32085 100644 (file)
@@ -172,5 +172,5 @@ U_BOOT_DRIVER(rockchip_otp) = {
        .of_match = rockchip_otp_ids,
        .ops = &rockchip_otp_ops,
        .ofdata_to_platdata = rockchip_otp_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct rockchip_otp_platdata),
+       .platdata_auto  = sizeof(struct rockchip_otp_platdata),
 };
index df262e62555b176fe340c4c69188c6555424aad4..fed7ecfb9291f31a24125eeb50e5610d3d2f209e 100644 (file)
@@ -56,5 +56,5 @@ U_BOOT_DRIVER(adder_sandbox) = {
        .of_match = sandbox_adder_ids,
        .probe = sandbox_adder_probe,
        .ops = &sandbox_adder_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_adder_priv),
+       .priv_auto      = sizeof(struct sandbox_adder_priv),
 };
index 92f08dde011ac3c1feb0ff642df371f766d7f9c0..3dab126f3a6d95d8b27fb85816cf915fb35d6b4a 100644 (file)
@@ -270,6 +270,6 @@ U_BOOT_DRIVER(sifive_otp) = {
        .id = UCLASS_MISC,
        .of_match = sifive_otp_ids,
        .ofdata_to_platdata = sifive_otp_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct sifive_otp_platdata),
+       .platdata_auto  = sizeof(struct sifive_otp_platdata),
        .ops = &sifive_otp_ops,
 };
index 07c67577d5468f09a6dd2ab64dfe919d7fc916bb..d75df8e9639d9ec716c28a67303855de5c3dfeff 100644 (file)
@@ -391,8 +391,8 @@ U_BOOT_DRIVER(sandbox_swap_case_emul) = {
        .id             = UCLASS_PCI_EMUL,
        .of_match       = sandbox_swap_case_ids,
        .ops            = &sandbox_swap_case_emul_ops,
-       .priv_auto_alloc_size = sizeof(struct swap_case_priv),
-       .platdata_auto_alloc_size = sizeof(struct swap_case_platdata),
+       .priv_auto      = sizeof(struct swap_case_priv),
+       .platdata_auto  = sizeof(struct swap_case_platdata),
 };
 
 static struct pci_device_id sandbox_swap_case_supported[] = {
index 18da138507c9db79d2bcf6e34e203c89425a69b1..f2366d6592db057317ec88a6f114923913e65ca4 100644 (file)
@@ -257,5 +257,5 @@ U_BOOT_DRIVER(tegra186_bpmp) = {
        .probe          = tegra186_bpmp_probe,
        .remove         = tegra186_bpmp_remove,
        .ops            = &tegra186_bpmp_ops,
-       .priv_auto_alloc_size = sizeof(struct tegra186_bpmp),
+       .priv_auto      = sizeof(struct tegra186_bpmp),
 };
index 82abf484e4f732f1490995aa8315de80271b2bf8..926fba68638bf232dbe3b7b695ad0ff4c35250f4 100644 (file)
@@ -494,6 +494,6 @@ U_BOOT_DRIVER(am654_sdhci_drv) = {
        .ops            = &sdhci_ops,
        .bind           = am654_sdhci_bind,
        .probe          = am654_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct am654_sdhci_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct am654_sdhci_plat),
 };
index 846622892a971c8c0a8aa04077e74d32d28d5a39..6c118b4819057659a7df0bd3cb457156d7305490 100644 (file)
@@ -551,7 +551,7 @@ U_BOOT_DRIVER(arm_pl180_mmc) = {
        .probe = arm_pl180_mmc_probe,
        .ofdata_to_platdata = arm_pl180_mmc_ofdata_to_platdata,
        .bind = arm_pl180_mmc_bind,
-       .priv_auto_alloc_size = sizeof(struct pl180_mmc_host),
-       .platdata_auto_alloc_size = sizeof(struct arm_pl180_mmc_plat),
+       .priv_auto      = sizeof(struct pl180_mmc_host),
+       .platdata_auto  = sizeof(struct arm_pl180_mmc_plat),
 };
 #endif
index 543c65a8e359af22cfcdb6629eaecb4f7faf753a..4bf02c3bb47adaccea0c7687a70a11ecd6f15018 100644 (file)
@@ -86,6 +86,6 @@ U_BOOT_DRIVER(aspeed_sdhci_drv) = {
        .ops            = &sdhci_ops,
        .bind           = aspeed_sdhci_bind,
        .probe          = aspeed_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct aspeed_sdhci_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct aspeed_sdhci_plat),
 };
index f56ae63bc2cdf13d09a3db643ac6d197b803b0be..6f3b21b98d256f17d88ca82a4f2c5e937b32b8c1 100644 (file)
@@ -130,7 +130,7 @@ U_BOOT_DRIVER(atmel_sdhci_drv) = {
        .ops            = &sdhci_ops,
        .bind           = atmel_sdhci_bind,
        .probe          = atmel_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct atmel_sdhci_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct atmel_sdhci_plat),
 };
 #endif
index 7a410d1dd361b97cf38d7bb1d2aa5826f81e8e85..7beb3b562cfe99d6cc97eaea15f669b116430ba1 100644 (file)
@@ -250,7 +250,7 @@ U_BOOT_DRIVER(sdhci_cdns) = {
        .of_match = bcm2835_sdhci_match,
        .bind = bcm2835_sdhci_bind,
        .probe = bcm2835_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm2835_sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct bcm2835_sdhci_plat),
+       .priv_auto      = sizeof(struct bcm2835_sdhci_host),
+       .platdata_auto  = sizeof(struct bcm2835_sdhci_plat),
        .ops = &sdhci_ops,
 };
index ea8b385d7e139499726b9acb7c866ef31887416f..06bebc27d3b8f502f6414255a05c1460b6d79f64 100644 (file)
@@ -806,7 +806,7 @@ U_BOOT_DRIVER(bcm2835_sdhost) = {
        .of_match = bcm2835_match,
        .bind = bcm2835_bind,
        .probe = bcm2835_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm2835_host),
-       .platdata_auto_alloc_size = sizeof(struct bcm2835_plat),
+       .priv_auto      = sizeof(struct bcm2835_host),
+       .platdata_auto  = sizeof(struct bcm2835_plat),
        .ops = &bcm2835_ops,
 };
index 5269aa77cebdd98fd0a994aa7e2f67fae6a59ae2..a92467f80047a397409927c9fa95987b5b98b154 100644 (file)
@@ -100,6 +100,6 @@ U_BOOT_DRIVER(sdhci_bcmstb) = {
        .ops = &sdhci_ops,
        .bind = sdhci_bcmstb_bind,
        .probe = sdhci_bcmstb_probe,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct sdhci_bcmstb_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct sdhci_bcmstb_plat),
 };
index 198c41f451feb90fe2d6ff93592a9e1cb6e247db..98d7f6b0b53ac4e5317fc0e83464f7f6b3931924 100644 (file)
@@ -166,6 +166,6 @@ U_BOOT_DRIVER(ca_dwmmc_drv) = {
        .bind           = ca_dwmmc_bind,
        .ops            = &ca_dwmci_dm_ops,
        .probe          = ca_dwmmc_probe,
-       .priv_auto_alloc_size   = sizeof(struct ca_dwmmc_priv_data),
-       .platdata_auto_alloc_size = sizeof(struct ca_mmc_plat),
+       .priv_auto      = sizeof(struct ca_dwmmc_priv_data),
+       .platdata_auto  = sizeof(struct ca_mmc_plat),
 };
index 0a05fb13bc98c80b846a07787b97c73084fbfdbe..0b9669abbc83c6cfc2eb886e9c7aa54caf4abc02 100644 (file)
@@ -527,7 +527,7 @@ U_BOOT_DRIVER(ti_da830_mmc) = {
        .id             = UCLASS_MMC,
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .of_match       = davinci_mmc_ids,
-       .platdata_auto_alloc_size = sizeof(struct davinci_mmc_plat),
+       .platdata_auto  = sizeof(struct davinci_mmc_plat),
        .ofdata_to_platdata = davinci_mmc_ofdata_to_platdata,
 #endif
 #if CONFIG_BLK
@@ -535,7 +535,7 @@ U_BOOT_DRIVER(ti_da830_mmc) = {
 #endif
        .probe = davinci_mmc_probe,
        .ops = &davinci_mmc_ops,
-       .priv_auto_alloc_size = sizeof(struct davinci_mmc_priv),
+       .priv_auto      = sizeof(struct davinci_mmc_priv),
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
        .flags  = DM_FLAG_PRE_RELOC,
 #endif
index 435ccac59421d93b0d352f93fc4f67e00ae89595..63d00a3141f531fadfcecc8afec164e0698cc580 100644 (file)
@@ -306,7 +306,7 @@ U_BOOT_DRIVER(exynos_dwmmc_drv) = {
        .bind           = exynos_dwmmc_bind,
        .ops            = &dm_dwmci_ops,
        .probe          = exynos_dwmmc_probe,
-       .priv_auto_alloc_size   = sizeof(struct dwmci_exynos_priv_data),
-       .platdata_auto_alloc_size = sizeof(struct exynos_mmc_plat),
+       .priv_auto      = sizeof(struct dwmci_exynos_priv_data),
+       .platdata_auto  = sizeof(struct exynos_mmc_plat),
 };
 #endif
index a18316eda71117a17273b16210ee697f7ccd0aeb..0a644853f1a102460a7117ab20679868535ee58f 100644 (file)
@@ -1136,7 +1136,7 @@ U_BOOT_DRIVER(fsl_esdhc) = {
        .ops    = &fsl_esdhc_ops,
        .bind   = fsl_esdhc_bind,
        .probe  = fsl_esdhc_probe,
-       .platdata_auto_alloc_size = sizeof(struct fsl_esdhc_plat),
-       .priv_auto_alloc_size = sizeof(struct fsl_esdhc_priv),
+       .platdata_auto  = sizeof(struct fsl_esdhc_plat),
+       .priv_auto      = sizeof(struct fsl_esdhc_priv),
 };
 #endif
index 22040c67a8440e77fb169dbab38a3c2050df8803..25129fd690e186cc0ccabd9ca3802ce29ee64fa2 100644 (file)
@@ -1707,8 +1707,8 @@ U_BOOT_DRIVER(fsl_esdhc) = {
        .bind   = fsl_esdhc_bind,
 #endif
        .probe  = fsl_esdhc_probe,
-       .platdata_auto_alloc_size = sizeof(struct fsl_esdhc_plat),
-       .priv_auto_alloc_size = sizeof(struct fsl_esdhc_priv),
+       .platdata_auto  = sizeof(struct fsl_esdhc_plat),
+       .priv_auto      = sizeof(struct fsl_esdhc_priv),
 };
 
 U_BOOT_DRIVER_ALIAS(fsl_esdhc, fsl_imx6q_usdhc)
index bc0d5ffed5153a10ac85a387b995023c4002b7a6..5d312df2b48a029bd68437a1143ed97cc694e5b0 100644 (file)
@@ -477,6 +477,6 @@ U_BOOT_DRIVER(ftsdc010_mmc) = {
        .ops            = &dm_ftsdc010_mmc_ops,
        .bind           = ftsdc010_mmc_bind,
        .probe          = ftsdc010_mmc_probe,
-       .priv_auto_alloc_size = sizeof(struct ftsdc_priv),
-       .platdata_auto_alloc_size = sizeof(struct ftsdc010_plat),
+       .priv_auto      = sizeof(struct ftsdc_priv),
+       .platdata_auto  = sizeof(struct ftsdc010_plat),
 };
index 0a347b2fb202bcd9930962f28ab92193f6615715..c135ee9b7ca668a629a9189e2837baba7568fd5d 100644 (file)
@@ -624,8 +624,8 @@ U_BOOT_DRIVER(atmel_mci) = {
        .of_match = atmel_mci_ids,
        .bind = atmel_mci_bind,
        .probe = atmel_mci_probe,
-       .platdata_auto_alloc_size = sizeof(struct atmel_mci_plat),
-       .priv_auto_alloc_size = sizeof(struct atmel_mci_priv),
+       .platdata_auto  = sizeof(struct atmel_mci_plat),
+       .priv_auto      = sizeof(struct atmel_mci_priv),
        .ops = &atmel_mci_mmc_ops,
 };
 #endif
index 67d6a05b3b5b2ad9c31b2c8c29aac24d8c9f227d..cdc9a44e3e6fd146c3f9fb2ea7c7567a361f51cc 100644 (file)
@@ -112,6 +112,6 @@ U_BOOT_DRIVER(hi6220_dwmmc_drv) = {
        .ops = &dm_dwmci_ops,
        .bind = hi6220_dwmmc_bind,
        .probe = hi6220_dwmmc_probe,
-       .priv_auto_alloc_size = sizeof(struct hi6220_dwmmc_priv_data),
-       .platdata_auto_alloc_size = sizeof(struct hi6220_dwmmc_plat),
+       .priv_auto      = sizeof(struct hi6220_dwmmc_priv_data),
+       .platdata_auto  = sizeof(struct hi6220_dwmmc_plat),
 };
index 9f530638e31308c6745fc62966bcdd4cf72448fa..e5c453e21599199d88897405f61fdf5c4b9a081f 100644 (file)
@@ -247,6 +247,6 @@ U_BOOT_DRIVER(iproc_sdhci_drv) = {
        .ops = &sdhci_ops,
        .bind = iproc_sdhci_bind,
        .probe = iproc_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct iproc_sdhci_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct iproc_sdhci_plat),
 };
index b33f0850738c1eab54cdedd014393b906981fb48..e3a2823446376d3ce07e6473c25d554fdcc4efca 100644 (file)
@@ -501,8 +501,8 @@ U_BOOT_DRIVER(jz_mmc_drv) = {
        .ofdata_to_platdata     = jz_mmc_ofdata_to_platdata,
        .bind                   = jz_mmc_bind,
        .probe                  = jz_mmc_probe,
-       .priv_auto_alloc_size   = sizeof(struct jz_mmc_priv),
-       .platdata_auto_alloc_size = sizeof(struct jz_mmc_plat),
+       .priv_auto      = sizeof(struct jz_mmc_priv),
+       .platdata_auto  = sizeof(struct jz_mmc_plat),
        .ops                    = &jz_msc_ops,
 };
 #endif /* CONFIG_DM_MMC */
index a5e9ac5637b999ed0f25c0ea9b47162565af96e8..a03a37783dae7ef14bb5d5d8b2c3586d063a0556 100644 (file)
@@ -340,7 +340,7 @@ U_BOOT_DRIVER(meson_mmc) = {
        .probe = meson_mmc_probe,
        .bind = meson_mmc_bind,
        .ofdata_to_platdata = meson_mmc_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct meson_mmc_platdata),
+       .platdata_auto  = sizeof(struct meson_mmc_platdata),
 };
 
 #ifdef CONFIG_PWRSEQ
index 285ac48061513269b497683da444eb26fab9ea12..269f31afeeeedac20f2c90c4f9b47463b8bb3209 100644 (file)
@@ -508,5 +508,5 @@ UCLASS_DRIVER(mmc) = {
        .id             = UCLASS_MMC,
        .name           = "mmc",
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
-       .per_device_auto_alloc_size = sizeof(struct mmc_uclass_priv),
+       .per_device_auto        = sizeof(struct mmc_uclass_priv),
 };
index 50fcd32674f9d0d496060d94ef21c0b7bb18faec..31c8f06ca651c3e6941b5caefa0dc394636588d8 100644 (file)
@@ -468,6 +468,6 @@ U_BOOT_DRIVER(mmc_spi) = {
        .ops = &mmc_spi_ops,
        .probe = mmc_spi_probe,
        .bind = mmc_spi_bind,
-       .platdata_auto_alloc_size = sizeof(struct mmc_spi_plat),
-       .priv_auto_alloc_size = sizeof(struct mmc_spi_priv),
+       .platdata_auto  = sizeof(struct mmc_spi_plat),
+       .priv_auto      = sizeof(struct mmc_spi_priv),
 };
index 2a1f412278e127cbc5712d43b85a01180006be2a..049dd33ce4f494eadbfa9ec750bdea0d56d2f4df 100644 (file)
@@ -208,6 +208,6 @@ U_BOOT_DRIVER(msm_sdc_drv) = {
        .bind           = msm_sdc_bind,
        .probe          = msm_sdc_probe,
        .remove         = msm_sdc_remove,
-       .priv_auto_alloc_size = sizeof(struct msm_sdhc),
-       .platdata_auto_alloc_size = sizeof(struct msm_sdhc_plat),
+       .priv_auto      = sizeof(struct msm_sdhc),
+       .platdata_auto  = sizeof(struct msm_sdhc_plat),
 };
index 4f9fa7d0ec3f7b3fb97a6c919438064b91431dd8..d701a4cd008bc1528c6c13ea5a9c317571da9a70 100644 (file)
@@ -1692,6 +1692,6 @@ U_BOOT_DRIVER(mtk_sd_drv) = {
        .bind = msdc_drv_bind,
        .probe = msdc_drv_probe,
        .ops = &msdc_ops,
-       .platdata_auto_alloc_size = sizeof(struct msdc_plat),
-       .priv_auto_alloc_size = sizeof(struct msdc_host),
+       .platdata_auto  = sizeof(struct msdc_plat),
+       .priv_auto      = sizeof(struct msdc_host),
 };
index 9b3dfa13e619fb33c7b3d84d14f86ddbed07b2d7..fb803e3be7dae12638d75708f73d48459def3bbb 100644 (file)
@@ -151,7 +151,7 @@ U_BOOT_DRIVER(mv_sdhci_drv) = {
        .bind           = mv_sdhci_bind,
        .probe          = mv_sdhci_probe,
        .ops            = &sdhci_ops,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct mv_sdhci_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct mv_sdhci_plat),
 };
 #endif /* CONFIG_DM_MMC */
index 2b3a3a992cbc6f33b0136880359da5cf223186ad..fd43f27ade5190da3555c8fba9fd167f955ccc13 100644 (file)
@@ -718,8 +718,8 @@ U_BOOT_DRIVER(fsl_imx23_mmc) = {
        .bind   = mxsmmc_bind,
 #endif
        .probe  = mxsmmc_probe,
-       .priv_auto_alloc_size = sizeof(struct mxsmmc_priv),
-       .platdata_auto_alloc_size = sizeof(struct mxsmmc_platdata),
+       .priv_auto      = sizeof(struct mxsmmc_priv),
+       .platdata_auto  = sizeof(struct mxsmmc_platdata),
 };
 
 U_BOOT_DRIVER_ALIAS(fsl_imx23_mmc, fsl_imx28_mmc)
index 046275944498300486a1cb4dd0ab55e95ff844c6..680459bae789072dcd223b06c91b715b395bbbb0 100644 (file)
@@ -232,6 +232,6 @@ U_BOOT_DRIVER(nexell_dwmmc_drv) = {
        .ops            = &dm_dwmci_ops,
        .bind           = nexell_dwmmc_bind,
        .probe          = nexell_dwmmc_probe,
-       .priv_auto_alloc_size = sizeof(struct nexell_dwmmc_priv),
-       .platdata_auto_alloc_size = sizeof(struct nexell_mmc_plat),
+       .priv_auto      = sizeof(struct nexell_dwmmc_priv),
+       .platdata_auto  = sizeof(struct nexell_mmc_plat),
 };
index 38ca3736841231f1b8d41982c29820bd5934a675..8de1f92fcb77050a15f6c93ed4f2749829f72905 100644 (file)
@@ -3883,7 +3883,7 @@ U_BOOT_DRIVER(octeontx_hsmmc_host) = {
        .id     = UCLASS_MISC,
        .of_match = of_match_ptr(octeontx_hsmmc_host_ids),
        .probe  = octeontx_mmc_host_probe,
-       .priv_auto_alloc_size = sizeof(struct octeontx_mmc_host),
+       .priv_auto      = sizeof(struct octeontx_mmc_host),
        .child_pre_probe = octeontx_mmc_host_child_pre_probe,
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 715eee0e3e0da1b8ec33d91c44834394b2553db1..31003b3cb7807b519a0a33511cdefc9d048042a5 100644 (file)
@@ -2029,14 +2029,14 @@ U_BOOT_DRIVER(omap_hsmmc) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = omap_hsmmc_ids,
        .ofdata_to_platdata = omap_hsmmc_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct omap_hsmmc_plat),
+       .platdata_auto  = sizeof(struct omap_hsmmc_plat),
 #endif
 #ifdef CONFIG_BLK
        .bind = omap_hsmmc_bind,
 #endif
        .ops = &omap_hsmmc_ops,
        .probe  = omap_hsmmc_probe,
-       .priv_auto_alloc_size = sizeof(struct omap_hsmmc_data),
+       .priv_auto      = sizeof(struct omap_hsmmc_data),
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
        .flags  = DM_FLAG_PRE_RELOC,
 #endif
index 0c45e1b8936ef26c56fe6ded9a85ed663474a9a6..004b3cb7ea5f21b0d644d70b8b25884d53147459 100644 (file)
@@ -132,8 +132,8 @@ U_BOOT_DRIVER(pci_mmc) = {
        .ofdata_to_platdata     = pci_mmc_ofdata_to_platdata,
        .probe  = pci_mmc_probe,
        .ops    = &sdhci_ops,
-       .priv_auto_alloc_size = sizeof(struct pci_mmc_priv),
-       .platdata_auto_alloc_size = sizeof(struct pci_mmc_plat),
+       .priv_auto      = sizeof(struct pci_mmc_priv),
+       .platdata_auto  = sizeof(struct pci_mmc_plat),
        ACPI_OPS_PTR(&pci_mmc_acpi_ops)
 };
 
index e201bdb8f4e7d5cc11fb6bcbdfd4b65bf868945a..dd10624dbfe2b1930f8b63311c316628c27a630e 100644 (file)
@@ -88,6 +88,6 @@ U_BOOT_DRIVER(pic32_sdhci_drv) = {
        .ops                    = &sdhci_ops,
        .bind                   = pic32_sdhci_bind,
        .probe                  = pic32_sdhci_probe,
-       .priv_auto_alloc_size   = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct pic32_sdhci_plat)
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct pic32_sdhci_plat)
 };
index 2c081fdc69f0dd92204a8311a2a584f803cadeff..8be9ed6b550bc38177e88e9391f60aeb3321c19c 100644 (file)
@@ -530,7 +530,7 @@ U_BOOT_DRIVER(pxa_mmc) = {
        .id     = UCLASS_MMC,
        .name   = "pxa_mmc",
        .ops    = &pxa_mmc_ops,
-       .priv_auto_alloc_size = sizeof(struct pxa_mmc_priv),
+       .priv_auto      = sizeof(struct pxa_mmc_priv),
        .probe  = pxa_mmc_probe,
 };
 #endif /* !CONFIG_IS_ENABLED(DM_MMC) */
index d80b3fc28f33426179fd5898e0800fa14965a109..211e69046395b4fe2812e01d8afe9323db52c01f 100644 (file)
@@ -1014,7 +1014,7 @@ U_BOOT_DRIVER(renesas_sdhi) = {
        .of_match = renesas_sdhi_match,
        .bind = tmio_sd_bind,
        .probe = renesas_sdhi_probe,
-       .priv_auto_alloc_size = sizeof(struct tmio_sd_priv),
-       .platdata_auto_alloc_size = sizeof(struct tmio_sd_plat),
+       .priv_auto      = sizeof(struct tmio_sd_priv),
+       .platdata_auto  = sizeof(struct tmio_sd_plat),
        .ops = &renesas_sdhi_ops,
 };
index f1dafa6ce711c02d55f640f8f90ef393182c4d2d..e4c5288876f827fdfa21c8f53875e7087f6d40b9 100644 (file)
@@ -176,8 +176,8 @@ U_BOOT_DRIVER(rockchip_rk3288_dw_mshc) = {
        .ops            = &dm_dwmci_ops,
        .bind           = rockchip_dwmmc_bind,
        .probe          = rockchip_dwmmc_probe,
-       .priv_auto_alloc_size = sizeof(struct rockchip_dwmmc_priv),
-       .platdata_auto_alloc_size = sizeof(struct rockchip_mmc_plat),
+       .priv_auto      = sizeof(struct rockchip_dwmmc_priv),
+       .platdata_auto  = sizeof(struct rockchip_mmc_plat),
 };
 
 U_BOOT_DRIVER_ALIAS(rockchip_rk3288_dw_mshc, rockchip_rk3328_dw_mshc)
index b073f1a08d4a3717492cac25a50cc52bfec77c6b..131c976eaf6c6b54769b997bec35af54a7944f23 100644 (file)
@@ -114,6 +114,6 @@ U_BOOT_DRIVER(arasan_sdhci_drv) = {
        .ops            = &sdhci_ops,
        .bind           = rockchip_sdhci_bind,
        .probe          = arasan_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct rockchip_sdhc),
-       .platdata_auto_alloc_size = sizeof(struct rockchip_sdhc_plat),
+       .priv_auto      = sizeof(struct rockchip_sdhc),
+       .platdata_auto  = sizeof(struct rockchip_sdhc_plat),
 };
index 24f599e868aab7cc7b6680eb7652ecc12ec21900..6841be6a1458a8932d417683cc617f43ad244de5 100644 (file)
@@ -246,7 +246,7 @@ U_BOOT_DRIVER(s5p_sdhci_drv) = {
        .bind           = s5p_sdhci_bind,
        .ops            = &sdhci_ops,
        .probe          = s5p_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct s5p_sdhci_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct s5p_sdhci_plat),
 };
 #endif /* CONFIG_DM_MMC */
index e86ea8fe096878376c43ccc47ab06ba44075e960..ece0e2d31cb212b5ff6066ab3bf36f5dc55eb57e 100644 (file)
@@ -148,5 +148,5 @@ U_BOOT_DRIVER(mmc_sandbox) = {
        .bind           = sandbox_mmc_bind,
        .unbind         = sandbox_mmc_unbind,
        .probe          = sandbox_mmc_probe,
-       .platdata_auto_alloc_size = sizeof(struct sandbox_mmc_plat),
+       .platdata_auto  = sizeof(struct sandbox_mmc_plat),
 };
index cc99bebc3058828458254cdea2f681db154b81e0..efc09b91998048b6f35e93b50d0f915027eb7646 100644 (file)
@@ -309,7 +309,7 @@ U_BOOT_DRIVER(sdhci_cdns) = {
        .of_match = sdhci_cdns_match,
        .bind = sdhci_cdns_bind,
        .probe = sdhci_cdns_probe,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct sdhci_cdns_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct sdhci_cdns_plat),
        .ops = &sdhci_cdns_mmc_ops,
 };
index ad386909e9041328c350082e70e73764defd324c..f3d10ac8be6ce26ae9dca878f125442246d2cf0f 100644 (file)
@@ -743,8 +743,8 @@ U_BOOT_DRIVER(sh_mmcif_mmc) = {
        .of_match               = sh_mmcif_sd_match,
        .bind                   = sh_mmcif_dm_bind,
        .probe                  = sh_mmcif_dm_probe,
-       .priv_auto_alloc_size   = sizeof(struct sh_mmcif_host),
-       .platdata_auto_alloc_size = sizeof(struct sh_mmcif_plat),
+       .priv_auto      = sizeof(struct sh_mmcif_host),
+       .platdata_auto  = sizeof(struct sh_mmcif_plat),
        .ops                    = &sh_mmcif_dm_ops,
 };
 #endif
index 29f83b65542968a58e7e46c142199143fef48b95..04ce521a515836847dbcfdd64b57c2310b3bd32f 100644 (file)
@@ -902,8 +902,8 @@ U_BOOT_DRIVER(sh_sdhi_mmc) = {
        .of_match               = sh_sdhi_sd_match,
        .bind                   = sh_sdhi_dm_bind,
        .probe                  = sh_sdhi_dm_probe,
-       .priv_auto_alloc_size   = sizeof(struct sh_sdhi_host),
-       .platdata_auto_alloc_size = sizeof(struct sh_sdhi_plat),
+       .priv_auto      = sizeof(struct sh_sdhi_host),
+       .platdata_auto  = sizeof(struct sh_sdhi_plat),
        .ops                    = &sh_sdhi_dm_ops,
 };
 #endif
index 4b468a1f3db74ffdc15eabdc1e2d22a14083e084..009933de5efc9e85f4045798bb65856777764a97 100644 (file)
@@ -195,6 +195,6 @@ U_BOOT_DRIVER(snps_dwmmc_drv) = {
        .ops                            = &snps_dwmci_dm_ops,
        .bind                           = snps_dwmmc_bind,
        .probe                          = snps_dwmmc_probe,
-       .priv_auto_alloc_size           = sizeof(struct snps_dwmci_priv_data),
-       .platdata_auto_alloc_size       = sizeof(struct snps_dwmci_plat),
+       .priv_auto              = sizeof(struct snps_dwmci_priv_data),
+       .platdata_auto  = sizeof(struct snps_dwmci_plat),
 };
index 0022f943bd733af1c8f27f5dd49315bbeea2c829..80c4d6ed4d4673d900e555d8de15353ce09d8dae 100644 (file)
@@ -189,6 +189,6 @@ U_BOOT_DRIVER(socfpga_dwmmc_drv) = {
        .ops            = &dm_dwmci_ops,
        .bind           = socfpga_dwmmc_bind,
        .probe          = socfpga_dwmmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dwmci_socfpga_priv_data),
-       .platdata_auto_alloc_size = sizeof(struct socfpga_dwmci_plat),
+       .priv_auto      = sizeof(struct dwmci_socfpga_priv_data),
+       .platdata_auto  = sizeof(struct socfpga_dwmci_plat),
 };
index 5578feebef7265c0fd7caa9e9f06f4f49118764b..49ddabcbe5e2a63586325a2fe07ea9e703f6dffd 100644 (file)
@@ -144,6 +144,6 @@ U_BOOT_DRIVER(sti_mmc) = {
        .ops = &sdhci_ops,
        .ofdata_to_platdata = sti_sdhci_ofdata_to_platdata,
        .probe = sti_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct sti_sdhci_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct sti_sdhci_plat),
 };
index 77871d5afc9c34fab3abc34dbc780b84e2f2f447..80eecb60e8e01e57e09dbc963e3254487523cf7f 100644 (file)
@@ -717,6 +717,6 @@ U_BOOT_DRIVER(stm32_sdmmc2) = {
        .ops = &stm32_sdmmc2_ops,
        .probe = stm32_sdmmc2_probe,
        .bind = stm32_sdmmc_bind,
-       .priv_auto_alloc_size = sizeof(struct stm32_sdmmc2_priv),
-       .platdata_auto_alloc_size = sizeof(struct stm32_sdmmc2_plat),
+       .priv_auto      = sizeof(struct stm32_sdmmc2_priv),
+       .platdata_auto  = sizeof(struct stm32_sdmmc2_plat),
 };
index 0e03b07ce555fec568cbfb56b4efdea1579a5599..12e8c99076b80b8a3186655e79a9bf28a3d94831 100644 (file)
@@ -746,7 +746,7 @@ U_BOOT_DRIVER(sunxi_mmc_drv) = {
        .bind           = sunxi_mmc_bind,
        .probe          = sunxi_mmc_probe,
        .ops            = &sunxi_mmc_ops,
-       .platdata_auto_alloc_size = sizeof(struct sunxi_mmc_plat),
-       .priv_auto_alloc_size = sizeof(struct sunxi_mmc_priv),
+       .platdata_auto  = sizeof(struct sunxi_mmc_plat),
+       .priv_auto      = sizeof(struct sunxi_mmc_priv),
 };
 #endif
index 879e2c98a21d2be752f3d06d338f73950e85ffa2..46e185e3172ad1b9838d1980a9fd68e001d41320 100644 (file)
@@ -76,6 +76,6 @@ U_BOOT_DRIVER(sdhci_tangier) = {
        .bind           = sdhci_tangier_bind,
        .probe          = sdhci_tangier_probe,
        .ops            = &sdhci_ops,
-       .priv_auto_alloc_size = sizeof(struct sdhci_host),
-       .platdata_auto_alloc_size = sizeof(struct sdhci_tangier_plat),
+       .priv_auto      = sizeof(struct sdhci_host),
+       .platdata_auto  = sizeof(struct sdhci_tangier_plat),
 };
index cc78a2f2f08e68e50c06da809526e14b3c0280d4..f915c78f5d4d5585c4040424d090312271dfcb67 100644 (file)
@@ -771,6 +771,6 @@ U_BOOT_DRIVER(tegra_mmc_drv) = {
        .bind           = tegra_mmc_bind,
        .probe          = tegra_mmc_probe,
        .ops            = &tegra_mmc_ops,
-       .platdata_auto_alloc_size = sizeof(struct tegra_mmc_plat),
-       .priv_auto_alloc_size = sizeof(struct tegra_mmc_priv),
+       .platdata_auto  = sizeof(struct tegra_mmc_plat),
+       .priv_auto      = sizeof(struct tegra_mmc_priv),
 };
index 4dbe71fa2e1ef081368f91daae85fd6311a8b103..ca674272fc0a85e73be401a82e3c5c217dc5a069 100644 (file)
@@ -84,7 +84,7 @@ U_BOOT_DRIVER(uniphier_mmc) = {
        .of_match = uniphier_sd_match,
        .bind = tmio_sd_bind,
        .probe = uniphier_sd_probe,
-       .priv_auto_alloc_size = sizeof(struct tmio_sd_priv),
-       .platdata_auto_alloc_size = sizeof(struct tmio_sd_plat),
+       .priv_auto      = sizeof(struct tmio_sd_priv),
+       .platdata_auto  = sizeof(struct tmio_sd_plat),
        .ops = &uniphier_sd_ops,
 };
index 6ce9d00d0ae7db3ac59c9744589033798aa1abbb..c089725819959f5ed8f82992af3c8ccf1b23a62d 100644 (file)
@@ -564,6 +564,6 @@ U_BOOT_DRIVER(xenon_sdhci_drv) = {
        .ops            = &sdhci_ops,
        .bind           = xenon_sdhci_bind,
        .probe          = xenon_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct xenon_sdhci_priv),
-       .platdata_auto_alloc_size = sizeof(struct xenon_sdhci_plat),
+       .priv_auto      = sizeof(struct xenon_sdhci_priv),
+       .platdata_auto  = sizeof(struct xenon_sdhci_plat),
 };
index 147ecc0d708d31fcded9f74c3024158a6d9a725a..2ef63976e9601f92af184f78f9561d2c2c5ea993 100644 (file)
@@ -659,6 +659,6 @@ U_BOOT_DRIVER(arasan_sdhci_drv) = {
        .ops            = &sdhci_ops,
        .bind           = arasan_sdhci_bind,
        .probe          = arasan_sdhci_probe,
-       .priv_auto_alloc_size = sizeof(struct arasan_sdhci_priv),
-       .platdata_auto_alloc_size = sizeof(struct arasan_sdhci_plat),
+       .priv_auto      = sizeof(struct arasan_sdhci_priv),
+       .platdata_auto  = sizeof(struct arasan_sdhci_plat),
 };
index cd4d32959a0dfbff07bfee46b661a25bb8cf4915..b50d30617415a940a5f19edb1b01ea0bb2a9b090 100644 (file)
@@ -401,6 +401,6 @@ U_BOOT_DRIVER(altera_qspi) = {
        .id     = UCLASS_MTD,
        .of_match = altera_qspi_ids,
        .ofdata_to_platdata = altera_qspi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_qspi_platdata),
+       .platdata_auto  = sizeof(struct altera_qspi_platdata),
        .probe  = altera_qspi_probe,
 };
index 846b0e832b75f883192d52341653eb7b766aa552..c86e504da301ad0039e9cd5aefc7804983fd13f6 100644 (file)
@@ -102,5 +102,5 @@ U_BOOT_DRIVER(hbmc_am654) = {
        .of_match = am654_hbmc_dt_ids,
        .probe = am654_hbmc_probe,
        .bind = am654_hbmc_bind,
-       .priv_auto_alloc_size = sizeof(struct am654_hbmc_priv),
+       .priv_auto      = sizeof(struct am654_hbmc_priv),
 };
index 541821743193537c497dcc90c59f33b06c1d95f2..9f5f672ba3f500073ad8eec026addc14d8f694d1 100644 (file)
@@ -32,5 +32,5 @@ int mtd_probe(struct udevice *dev)
 UCLASS_DRIVER(mtd) = {
        .id             = UCLASS_MTD,
        .name           = "mtd",
-       .per_device_auto_alloc_size = sizeof(struct mtd_info),
+       .per_device_auto        = sizeof(struct mtd_info),
 };
index 0615e50378093f00b6534df56991caf4c7f7e918..d4e8f8df87d83a964e6fd777100e3b2d27ef3d52 100644 (file)
@@ -1310,7 +1310,7 @@ U_BOOT_DRIVER(arasan_nand) = {
        .id = UCLASS_MTD,
        .of_match = arasan_nand_dt_ids,
        .probe = arasan_probe,
-       .priv_auto_alloc_size = sizeof(struct arasan_nand_info),
+       .priv_auto      = sizeof(struct arasan_nand_info),
 };
 
 void board_nand_init(void)
index 6313403cd65aa6cfd1a4e53bd494d0f875977fe2..71682cb6e79a28e3c2e0531a59967b06d2dcbb29 100644 (file)
@@ -109,7 +109,7 @@ U_BOOT_DRIVER(bcm63158_nand) = {
        .id = UCLASS_MTD,
        .of_match = bcm63158_nand_dt_ids,
        .probe = bcm63158_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm63158_nand_soc),
+       .priv_auto      = sizeof(struct bcm63158_nand_soc),
 };
 
 void board_nand_init(void)
index cd4b24a51a149d13b407d9c62221b8d78a27cef9..f424194ecca7bf09691a8fc69e3d0a9eb68b004d 100644 (file)
@@ -102,7 +102,7 @@ U_BOOT_DRIVER(bcm6368_nand) = {
        .id = UCLASS_MTD,
        .of_match = bcm6368_nand_dt_ids,
        .probe = bcm6368_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6368_nand_soc),
+       .priv_auto      = sizeof(struct bcm6368_nand_soc),
 };
 
 void board_nand_init(void)
index aa042bef15843b03dc4d687c1f65e0bf93bf72cd..47ddde4f9b0c13db82cab43fd4750af747131d83 100644 (file)
@@ -108,7 +108,7 @@ U_BOOT_DRIVER(bcm68360_nand) = {
        .id = UCLASS_MTD,
        .of_match = bcm68360_nand_dt_ids,
        .probe = bcm68360_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm68360_nand_soc),
+       .priv_auto      = sizeof(struct bcm68360_nand_soc),
 };
 
 void board_nand_init(void)
index 07884550906009d7466568854e46b56bf6bbceeb..646495096c2d61c9519ab496b94371f952f56625 100644 (file)
@@ -108,7 +108,7 @@ U_BOOT_DRIVER(bcm6838_nand) = {
        .id = UCLASS_MTD,
        .of_match = bcm6838_nand_dt_ids,
        .probe = bcm6838_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6838_nand_soc),
+       .priv_auto      = sizeof(struct bcm6838_nand_soc),
 };
 
 void board_nand_init(void)
index 818eae8a7c6cb21464cd0a0029a6087409aba679..7573cd944ff56e1d7a86134402350a371c9d5267 100644 (file)
@@ -109,7 +109,7 @@ U_BOOT_DRIVER(bcm6858_nand) = {
        .id = UCLASS_MTD,
        .of_match = bcm6858_nand_dt_ids,
        .probe = bcm6858_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6858_nand_soc),
+       .priv_auto      = sizeof(struct bcm6858_nand_soc),
 };
 
 void board_nand_init(void)
index 4416b8fa1e6480d67dbabeb1374b96ff4d35f192..4645cc16997dc2782356b537903b4a548440013d 100644 (file)
@@ -816,7 +816,7 @@ U_BOOT_DRIVER(davinci_nand) = {
        .id             = UCLASS_MTD,
        .of_match       = davinci_nand_ids,
        .probe          = davinci_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct nand_chip),
+       .priv_auto      = sizeof(struct nand_chip),
 };
 
 void board_nand_init(void)
index 8318ff507f37b19b774e01b9c1668547272df56d..140ef7f725ee71e60a87a593b25d8ad70c21616f 100644 (file)
@@ -172,7 +172,7 @@ U_BOOT_DRIVER(denali_nand_dt) = {
        .id = UCLASS_MTD,
        .of_match = denali_nand_dt_ids,
        .probe = denali_dt_probe,
-       .priv_auto_alloc_size = sizeof(struct denali_nand_info),
+       .priv_auto      = sizeof(struct denali_nand_info),
 };
 
 void board_nand_init(void)
index 43dbe9e66ec49c6bbf45496185450841e6aeae08..78a423dbbf4ae6f649d096f8c1b54b534770f410 100644 (file)
@@ -168,7 +168,7 @@ U_BOOT_DRIVER(mxs_nand_dt) = {
        .id = UCLASS_MTD,
        .of_match = mxs_nand_dt_ids,
        .probe = mxs_nand_dt_probe,
-       .priv_auto_alloc_size = sizeof(struct mxs_nand_info),
+       .priv_auto      = sizeof(struct mxs_nand_info),
 };
 
 void board_nand_init(void)
index 693706257c969f4ae0019eda4e906245d6b2098c..a41772880f94cf5227fbd7e27dfd46ebe488187e 100644 (file)
@@ -410,7 +410,7 @@ U_BOOT_DRIVER(octeontx_pci_bchpf) = {
        .id     = UCLASS_MISC,
        .probe  = octeontx_pci_bchpf_probe,
        .remove = octeontx_pci_bchpf_remove,
-       .priv_auto_alloc_size = sizeof(struct bch_device),
+       .priv_auto      = sizeof(struct bch_device),
        .flags = DM_FLAG_OS_PREPARE,
 };
 
@@ -418,7 +418,7 @@ U_BOOT_DRIVER(octeontx_pci_bchvf) = {
        .name   = BCHVF_DRIVER_NAME,
        .id     = UCLASS_MISC,
        .probe = octeontx_pci_bchvf_probe,
-       .priv_auto_alloc_size = sizeof(struct bch_vf),
+       .priv_auto      = sizeof(struct bch_vf),
 };
 
 U_BOOT_PCI_DEVICE(octeontx_pci_bchpf, octeontx_bchpf_pci_id_table);
index ad219171e9c57e858dec808c387c51b3b5f37395..cfeca1e6880a4072b1b8e86d9d1f5f7deb830340 100644 (file)
@@ -2219,7 +2219,7 @@ U_BOOT_DRIVER(octeontx_pci_nand) = {
        .of_match = of_match_ptr(octeontx_nand_ids),
        .ofdata_to_platdata = octeontx_nand_ofdata_to_platdata,
        .probe = octeontx_pci_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct octeontx_nfc),
+       .priv_auto      = sizeof(struct octeontx_nfc),
        .remove = octeontx_pci_nand_disable,
        .flags = DM_FLAG_OS_PREPARE,
 };
index 361a9e32935b347f6e99f87c9f44fd2768f6c8d2..e923ce363a0879c268f71c8144ab347d28327ff3 100644 (file)
@@ -1937,7 +1937,7 @@ U_BOOT_DRIVER(pxa3xx_nand) = {
        .id = UCLASS_MTD,
        .of_match = pxa3xx_nand_dt_ids,
        .probe = pxa3xx_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct pxa3xx_nand_info) +
+       .priv_auto      = sizeof(struct pxa3xx_nand_info) +
                sizeof(struct pxa3xx_nand_host) * CONFIG_SYS_MAX_NAND_DEVICE,
 };
 
index 47fe61090da4a6e86925f5917470bfbd9424e3e8..8fe7ec1343e62d15128b3e49a6774e0aa9671e8a 100644 (file)
@@ -1033,7 +1033,7 @@ U_BOOT_DRIVER(stm32_fmc2_nfc) = {
        .id = UCLASS_MTD,
        .of_match = stm32_fmc2_nfc_match,
        .probe = stm32_fmc2_nfc_probe,
-       .priv_auto_alloc_size = sizeof(struct stm32_fmc2_nfc),
+       .priv_auto      = sizeof(struct stm32_fmc2_nfc),
 };
 
 void board_nand_init(void)
index b9f5bdd9535790922c9d36bda2ff1dbebc7e3e60..797fc23050442385259223d25aa5d33220497719 100644 (file)
@@ -990,7 +990,7 @@ U_BOOT_DRIVER(tegra_nand) = {
        .id = UCLASS_MTD,
        .of_match = tegra_nand_dt_ids,
        .probe = tegra_probe,
-       .priv_auto_alloc_size = sizeof(struct tegra_nand_info),
+       .priv_auto      = sizeof(struct tegra_nand_info),
 };
 
 void board_nand_init(void)
index 4e6fdc607ff7fd6ffcaae076557d86ef826f6b55..422b9c57a88c54348094cd33fb9e8d8a91a1a047 100644 (file)
@@ -784,7 +784,7 @@ U_BOOT_DRIVER(vf610_nfc_dt) = {
        .name = "vf610-nfc-dt",
        .id = UCLASS_MTD,
        .of_match = vf610_nfc_dt_ids,
-       .priv_auto_alloc_size = sizeof(struct vf610_nfc),
+       .priv_auto      = sizeof(struct vf610_nfc),
        .probe = vf610_nfc_dt_probe,
 };
 
index 92db2aa19c8602904d649d83ae9980c406db80f2..7cf0ccb656c283a85ec97aaae4b923004b7335b4 100644 (file)
@@ -1286,7 +1286,7 @@ U_BOOT_DRIVER(zynq_nand) = {
        .id = UCLASS_MTD,
        .of_match = zynq_nand_dt_ids,
        .probe = zynq_nand_probe,
-       .priv_auto_alloc_size = sizeof(struct zynq_nand_info),
+       .priv_auto      = sizeof(struct zynq_nand_info),
 };
 
 void board_nand_init(void)
index 8c7e07d46304842be78e88985da0ff50bde597bd..fc9d4edbe0422849585177c3f596fd7d6be31123 100644 (file)
@@ -1255,6 +1255,6 @@ U_BOOT_DRIVER(spinand) = {
        .name = "spi_nand",
        .id = UCLASS_MTD,
        .of_match = spinand_ids,
-       .priv_auto_alloc_size = sizeof(struct spinand_device),
+       .priv_auto      = sizeof(struct spinand_device),
        .probe = spinand_probe,
 };
index 1d0c1cb3fa25d81ac2d4dddd0bfb033f7b9b6ee0..f52295ad87a6d106645680fbbcf79b7bd5a642b1 100644 (file)
@@ -600,7 +600,7 @@ U_BOOT_DRIVER(sandbox_sf_emul) = {
        .ofdata_to_platdata = sandbox_sf_ofdata_to_platdata,
        .probe          = sandbox_sf_probe,
        .remove         = sandbox_sf_remove,
-       .priv_auto_alloc_size = sizeof(struct sandbox_spi_flash),
-       .platdata_auto_alloc_size = sizeof(struct sandbox_spi_flash_plat_data),
+       .priv_auto      = sizeof(struct sandbox_spi_flash),
+       .platdata_auto  = sizeof(struct sandbox_spi_flash_plat_data),
        .ops            = &sandbox_sf_emul_ops,
 };
index 09c11439b08adbc5b4c1e2ac355527e77056a117..ed629f1d4581f8051cb63a18a069ef6fcc114ffd 100644 (file)
@@ -100,5 +100,5 @@ UCLASS_DRIVER(spi_flash) = {
        .id             = UCLASS_SPI_FLASH,
        .name           = "spi_flash",
        .post_bind      = spi_flash_post_bind,
-       .per_device_auto_alloc_size = sizeof(struct spi_flash),
+       .per_device_auto        = sizeof(struct spi_flash),
 };
index 27d847d421827dacb955b095451e10e12007c46c..b59edd152cc6e2527837c647a798e8a8f8700f43 100644 (file)
@@ -693,6 +693,6 @@ U_BOOT_DRIVER(spi_dataflash) = {
        .id             = UCLASS_SPI_FLASH,
        .of_match       = spi_dataflash_ids,
        .probe          = spi_dataflash_probe,
-       .priv_auto_alloc_size = sizeof(struct dataflash),
+       .priv_auto      = sizeof(struct dataflash),
        .ops            = &spi_dataflash_ops,
 };
index b959e3453a51b56021eee130118f9a0d4da20217..c8bcec3c5890c7654211c9b49ee2361f5b9fb1b2 100644 (file)
@@ -166,7 +166,7 @@ U_BOOT_DRIVER(jedec_spi_nor) = {
        .of_match       = spi_flash_std_ids,
        .probe          = spi_flash_std_probe,
        .remove         = spi_flash_std_remove,
-       .priv_auto_alloc_size = sizeof(struct spi_flash),
+       .priv_auto      = sizeof(struct spi_flash),
        .ops            = &spi_flash_std_ops,
 };
 
index a35c3d9c94828582d05fee48befe70d0addb8daf..6d28dbe4d14e14737508a805b93ff702a1093c38 100644 (file)
@@ -331,5 +331,5 @@ UCLASS_DRIVER(mux) = {
        .id             = UCLASS_MUX,
        .name           = "mux",
        .post_probe     = mux_uclass_post_probe,
-       .per_device_auto_alloc_size = sizeof(struct mux_chip),
+       .per_device_auto        = sizeof(struct mux_chip),
 };
index ccba3947ac56dd2934a4532533acc27f5b27769d..02565aae7be0bad317602f92f58efc370d59a126 100644 (file)
@@ -1291,7 +1291,7 @@ U_BOOT_DRIVER(eth_ag7xxx) = {
        .probe          = ag7xxx_eth_probe,
        .remove         = ag7xxx_eth_remove,
        .ops            = &ag7xxx_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct ar7xxx_eth_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ar7xxx_eth_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags          = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 93b26da39261093fbc7dfd7db9dffeb5d63f6fed..7d0c58cd532e938ae3b2b1abc4d9ace468a296ee 100644 (file)
@@ -711,7 +711,7 @@ U_BOOT_DRIVER(altera_tse) = {
        .of_match = altera_tse_ids,
        .ops    = &altera_tse_ops,
        .ofdata_to_platdata = altera_tse_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
-       .priv_auto_alloc_size = sizeof(struct altera_tse_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct altera_tse_priv),
        .probe  = altera_tse_probe,
 };
index 9ddc0f938f23dfc719a778637aa35c18104fabcf..6d62246678191e5416676db5a6667f5276f75a01 100644 (file)
@@ -533,7 +533,7 @@ U_BOOT_DRIVER(bcm6348_eth) = {
        .id = UCLASS_ETH,
        .of_match = bcm6348_eth_ids,
        .ops = &bcm6348_eth_ops,
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
-       .priv_auto_alloc_size = sizeof(struct bcm6348_eth_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct bcm6348_eth_priv),
        .probe = bcm6348_eth_probe,
 };
index 38a2a30fe6c817cefc708dc71676f2819d1bcc29..b0bf0a939d725537b3cb966f723cd30dd10e6082 100644 (file)
@@ -637,7 +637,7 @@ U_BOOT_DRIVER(bcm6368_eth) = {
        .id = UCLASS_ETH,
        .of_match = bcm6368_eth_ids,
        .ops = &bcm6368_eth_ops,
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
-       .priv_auto_alloc_size = sizeof(struct bcm6368_eth_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct bcm6368_eth_priv),
        .probe = bcm6368_eth_probe,
 };
index ace13313621b98354e8ff5119b225ee2eff665cf..b6ebac220edbfd941dc10397e6365873f05f5a35 100644 (file)
@@ -732,7 +732,7 @@ U_BOOT_DRIVER(eth_bcmgenet) = {
        .ofdata_to_platdata = bcmgenet_eth_ofdata_to_platdata,
        .probe  = bcmgenet_eth_probe,
        .ops    = &bcmgenet_gmac_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct bcmgenet_eth_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct bcmgenet_eth_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 9f8c6c58d9522457d1ae14b6b5e322cf3365acc3..26d2ec09708d1c6e118eb985cc8248f0f6ba3acd 100644 (file)
@@ -751,8 +751,8 @@ U_BOOT_DRIVER(eth_dc2114x) = {
        .bind   = dc2114x_bind,
        .probe  = dc2114x_probe,
        .ops    = &dc2114x_ops,
-       .priv_auto_alloc_size = sizeof(struct dc2114x_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct dc2114x_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 U_BOOT_PCI_DEVICE(eth_dc2114x, supported);
index 4c19abbaf0c7101cae625f41f19feb8baf8848f1..32b3fc82302be6dbd027c27e2269abfd57be8018 100644 (file)
@@ -873,8 +873,8 @@ U_BOOT_DRIVER(eth_designware) = {
        .probe  = designware_eth_probe,
        .remove = designware_eth_remove,
        .ops    = &designware_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct dw_eth_dev),
-       .platdata_auto_alloc_size = sizeof(struct dw_eth_pdata),
+       .priv_auto      = sizeof(struct dw_eth_dev),
+       .platdata_auto  = sizeof(struct dw_eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
index db1102562f6dd3bb454ec859b9c4751c119b58e4..de3ece81bc4cd9fe2653c637d656d38d905a1e37 100644 (file)
@@ -2193,6 +2193,6 @@ U_BOOT_DRIVER(eth_eqos) = {
        .probe = eqos_probe,
        .remove = eqos_remove,
        .ops = &eqos_ops,
-       .priv_auto_alloc_size = sizeof(struct eqos_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct eqos_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 9d3f3ac5d93ac7f9e877562847f0324e539d8c71..2edd7a74df5732aff10f64765accdf097cdeb1e6 100644 (file)
@@ -61,7 +61,7 @@ U_BOOT_DRIVER(dwmac_s700) = {
        .ofdata_to_platdata = dwmac_s700_ofdata_to_platdata,
        .probe  = dwmac_s700_probe,
        .ops    = &designware_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct dw_eth_dev),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct dw_eth_dev),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index e93561dffa871d32be7faa798bd10dec1c81b637..9ab2eeb2bcd290c59f75e2bd3b31c84b308109ca 100644 (file)
@@ -118,7 +118,7 @@ U_BOOT_DRIVER(dwmac_socfpga) = {
        .ofdata_to_platdata = dwmac_socfpga_ofdata_to_platdata,
        .probe          = dwmac_socfpga_probe,
        .ops            = &designware_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct dw_eth_dev),
-       .platdata_auto_alloc_size = sizeof(struct dwmac_socfpga_platdata),
+       .priv_auto      = sizeof(struct dw_eth_dev),
+       .platdata_auto  = sizeof(struct dwmac_socfpga_platdata),
        .flags          = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 8e6c755f641687e8ec27e7df37a20b342e1dc48e..87acfa5daa7ed6f56752c745822b5b22ccfd8518 100644 (file)
@@ -5940,8 +5940,8 @@ U_BOOT_DRIVER(eth_e1000) = {
        .bind   = e1000_eth_bind,
        .probe  = e1000_eth_probe,
        .ops    = &e1000_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct e1000_hw),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct e1000_hw),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 U_BOOT_PCI_DEVICE(eth_e1000, e1000_supported);
index feba5327da4d3f02b9acbeb782aa2397606e9a7e..59582b912175fdd250f2fc9e01c1ae3e26118e74 100644 (file)
@@ -1009,8 +1009,8 @@ U_BOOT_DRIVER(eth_eepro100) = {
        .bind   = eepro100_bind,
        .probe  = eepro100_probe,
        .ops    = &eepro100_ops,
-       .priv_auto_alloc_size = sizeof(struct eepro100_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct eepro100_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 U_BOOT_PCI_DEVICE(eth_eepro100, supported);
index b383f455276bd616922f98361767bfb6eec71de9..65615f131034ccf93ec9a62279f2d29aba1e821d 100644 (file)
@@ -113,7 +113,7 @@ int eth_phy_get_addr(struct udevice *dev)
 UCLASS_DRIVER(eth_phy_generic) = {
        .id             = UCLASS_ETH_PHY,
        .name           = "eth_phy_generic",
-       .per_device_auto_alloc_size = sizeof(struct eth_phy_device_priv),
+       .per_device_auto        = sizeof(struct eth_phy_device_priv),
 };
 
 U_BOOT_DRIVER(eth_phy_generic_drv) = {
index b9d80a5b08a4dfc0e3fdef7c3dab1680bd194ddb..cb232f68bcfb70cbe0e3132bc0226c87f0e78a1c 100644 (file)
@@ -750,8 +750,8 @@ U_BOOT_DRIVER(ethoc) = {
        .probe                          = ethoc_probe,
        .remove                         = ethoc_remove,
        .ops                            = &ethoc_ops,
-       .priv_auto_alloc_size           = sizeof(struct ethoc),
-       .platdata_auto_alloc_size       = sizeof(struct ethoc_eth_pdata),
+       .priv_auto              = sizeof(struct ethoc),
+       .platdata_auto  = sizeof(struct ethoc_eth_pdata),
 };
 
 #else
index bb55be9a26799a525597077e5f3121871999bd40..9740bace996f1e7edae047205abf153e2c4ae2d8 100644 (file)
@@ -1597,7 +1597,7 @@ U_BOOT_DRIVER(fecmxc_gem) = {
        .probe  = fecmxc_probe,
        .remove = fecmxc_remove,
        .ops    = &fecmxc_ops,
-       .priv_auto_alloc_size = sizeof(struct fec_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct fec_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 #endif
index 2f433cedd093e23f5638ad603876092a06aa40eb..3a827a97a88fb9b222ee808e96e7922902a48ec3 100644 (file)
@@ -1130,8 +1130,8 @@ U_BOOT_DRIVER(eth_fman) = {
        .probe = fm_eth_probe,
        .remove = fm_eth_remove,
        .ops = &fm_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct fm_eth),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct fm_eth),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif /* CONFIG_DM_ETH */
index bbb1738c4bdcba9fa88f12e5751e13361b08243c..7d51be1f723e9a89494b0be30a8e85a5c5f145f8 100644 (file)
@@ -605,7 +605,7 @@ U_BOOT_DRIVER(fman) = {
        .of_match = fman_ids,
        .probe = fman_probe,
        .remove = fman_remove,
-       .priv_auto_alloc_size = sizeof(struct fman_priv),
+       .priv_auto      = sizeof(struct fman_priv),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif /* CONFIG_DM_ETH */
index e15c28d5005322db900c3981a47034ddbba38771..2e97f51c4c3971fe1c2ade56bedb66954e58cf1a 100644 (file)
@@ -297,8 +297,8 @@ U_BOOT_DRIVER(fman_mdio) = {
        .probe = fm_mdio_probe,
        .remove = fm_mdio_remove,
        .ops = &fm_mdio_ops,
-       .priv_auto_alloc_size = sizeof(struct fm_mdio_priv),
-       .platdata_auto_alloc_size = sizeof(struct mdio_perdev_priv),
+       .priv_auto      = sizeof(struct fm_mdio_priv),
+       .platdata_auto  = sizeof(struct mdio_perdev_priv),
 };
 #endif /* CONFIG_PHYLIB && CONFIG_DM_MDIO */
 #endif /* CONFIG_DM_ETH */
index 2929ae72092e900415ac2108c4ebe23788b85df7..07ad44de47031d4154e0b2e3949fe919a1c21d81 100644 (file)
@@ -677,8 +677,8 @@ U_BOOT_DRIVER(eth_enetc) = {
        .probe  = enetc_probe,
        .remove = enetc_remove,
        .ops    = &enetc_ops,
-       .priv_auto_alloc_size = sizeof(struct enetc_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct enetc_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static struct pci_device_id enetc_ids[] = {
index 47257a6cf686ebc7b2e946f29b3ee4600b9837ae..4da97b61d173c36f37c7762c5c6bcf58215e4bf8 100644 (file)
@@ -144,7 +144,7 @@ U_BOOT_DRIVER(enetc_mdio) = {
        .bind   = enetc_mdio_bind,
        .probe  = enetc_mdio_probe,
        .ops    = &enetc_mdio_ops,
-       .priv_auto_alloc_size = sizeof(struct enetc_mdio_priv),
+       .priv_auto      = sizeof(struct enetc_mdio_priv),
 };
 
 static struct pci_device_id enetc_mdio_ids[] = {
index 6d8332d19ae0f4ee60dc128e296e55fab5861567..6d4e682fdfc975c79146df07e0de137053f85152 100644 (file)
@@ -142,5 +142,5 @@ U_BOOT_DRIVER(fsl_ls_mdio) = {
        .of_match = fsl_ls_mdio_of_ids,
        .probe = fsl_ls_mdio_probe,
        .ops = &fsl_ls_mdio_ops,
-       .priv_auto_alloc_size = sizeof(struct fsl_ls_mdio_priv),
+       .priv_auto      = sizeof(struct fsl_ls_mdio_priv),
 };
index e27f7e5321ad5e3cef84d412b92f975cd1099a22..1023e1b1d94969bfaf6f6de0bf1457f04961f72e 100644 (file)
@@ -594,6 +594,6 @@ U_BOOT_DRIVER(mcffec) = {
        .probe  = mcdmafec_probe,
        .remove = mcdmafec_remove,
        .ops    = &mcdmafec_ops,
-       .priv_auto_alloc_size = sizeof(struct fec_info_dma),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct fec_info_dma),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 77f1a96a2eb6fc6a18a950a377843b906e26eee7..faeb292e55be7670fd671c5a3ae76a9623fce0cd 100644 (file)
@@ -248,8 +248,8 @@ U_BOOT_DRIVER(tsec_mdio) = {
        .probe = tsec_mdio_probe,
        .remove = tsec_mdio_remove,
        .ops = &tsec_mdio_ops,
-       .priv_auto_alloc_size = sizeof(struct tsec_mdio_priv),
-       .platdata_auto_alloc_size = sizeof(struct mdio_perdev_priv),
+       .priv_auto      = sizeof(struct tsec_mdio_priv),
+       .platdata_auto  = sizeof(struct mdio_perdev_priv),
 };
 #endif /* CONFIG_PHYLIB */
 #endif /* CONFIG_DM_MDIO */
index 00bda24f1fdad61cb5ff193ec80c069865313b58..aec9ca06b7710d080c49122f2c80f6f2063b2bdb 100644 (file)
@@ -613,7 +613,7 @@ U_BOOT_DRIVER(ftgmac100) = {
        .probe  = ftgmac100_probe,
        .remove = ftgmac100_remove,
        .ops    = &ftgmac100_ops,
-       .priv_auto_alloc_size = sizeof(struct ftgmac100_data),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ftgmac100_data),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 292690de9615949367a89b4b2369aed0ad707f5c..20b8e35516bed82d77ccd154518ba0f3a96589d0 100644 (file)
@@ -440,8 +440,8 @@ U_BOOT_DRIVER(ftmac100) = {
        .ofdata_to_platdata = ftmac100_ofdata_to_platdata,
        .probe  = ftmac100_probe,
        .ops    = &ftmac100_ops,
-       .priv_auto_alloc_size = sizeof(struct ftmac100_data),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ftmac100_data),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
index 8d95ee15ffdd7ad3dac7cb67252224e2faacf5e2..1b1e7a8f69ddfd66fc1ed74cef8237efdc1ebcad 100644 (file)
@@ -759,7 +759,7 @@ U_BOOT_DRIVER(eth_gmac_rockchip) = {
        .ofdata_to_platdata = gmac_rockchip_ofdata_to_platdata,
        .probe  = gmac_rockchip_probe,
        .ops    = &gmac_rockchip_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct dw_eth_dev),
-       .platdata_auto_alloc_size = sizeof(struct gmac_rockchip_platdata),
+       .priv_auto      = sizeof(struct dw_eth_dev),
+       .platdata_auto  = sizeof(struct gmac_rockchip_platdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 2aae7f4863c02c8f9019880534e154ba818663b6..93c2523ac252f16c3fca97e111a4b6a0ce011f60 100644 (file)
@@ -598,6 +598,6 @@ U_BOOT_DRIVER(eth_higmac) = {
        .probe  = higmac_probe,
        .remove = higmac_remove,
        .ops    = &higmac_ops,
-       .priv_auto_alloc_size = sizeof(struct higmac_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct higmac_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 58e065cdcc2fb6dc50bfb18a382ca29210115bdb..6340d6317de7da6e807cd3850fb6dc488d0758f3 100644 (file)
@@ -698,8 +698,8 @@ U_BOOT_DRIVER(ks8851) = {
        .ofdata_to_platdata = ks8851_ofdata_to_platdata,
        .probe          = ks8851_probe,
        .ops            = &ks8851_ops,
-       .priv_auto_alloc_size = sizeof(struct ks_net),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ks_net),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags          = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
index 42eaf49d7120300ba7ef1b4edb5f786ae896050a..5932b45774505c7940fd6abd420c2d50ac5409a9 100644 (file)
@@ -1191,8 +1191,8 @@ U_BOOT_DRIVER(ldpaa_eth) = {
        .bind = ldpaa_eth_bind,
        .probe = ldpaa_eth_probe,
        .ops = &ldpaa_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct ldpaa_eth_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ldpaa_eth_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 #else
index b80a259ff757b2e1af37f7a072b52fa628c0c2d0..2ec3039cf815bb5630778de85e54d0ebbc00978e 100644 (file)
@@ -1335,8 +1335,8 @@ U_BOOT_DRIVER(eth_macb) = {
        .probe  = macb_eth_probe,
        .remove = macb_eth_remove,
        .ops    = &macb_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct macb_device),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct macb_device),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 #endif
 
index f94a2d8123c37b393f3fd2b677a4f8a2f3f6d99f..7f7a865b827db121b82ddd1d8b910e4253c52e8d 100644 (file)
@@ -614,6 +614,6 @@ U_BOOT_DRIVER(mcffec) = {
        .probe  = mcffec_probe,
        .remove = mcffec_remove,
        .ops    = &mcffec_ops,
-       .priv_auto_alloc_size = sizeof(struct fec_info_s),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct fec_info_s),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index bc68e1d506518db1b79e643a143aa2937311b0a6..13a8856286a29decc9a48fc34841acd1e6db3ef1 100644 (file)
@@ -142,5 +142,5 @@ U_BOOT_DRIVER(ipq4019_mdio) = {
        .bind           = ipq4019_mdio_bind,
        .probe          = ipq4019_mdio_probe,
        .ops            = &ipq4019_mdio_ops,
-       .priv_auto_alloc_size   = sizeof(struct ipq4019_mdio_priv),
+       .priv_auto        = sizeof(struct ipq4019_mdio_priv),
 };
index cc02b5ffd45bbe0dee5e0ded73625d9ab75b1cc3..f8557dd2c49c11d31503104719f764bacebd0367 100644 (file)
@@ -105,5 +105,5 @@ U_BOOT_DRIVER(mdio_mux_i2creg) = {
        .of_match       = mdio_mux_i2creg_ids,
        .probe          = mdio_mux_i2creg_probe,
        .ops            = &mdio_mux_i2creg_ops,
-       .priv_auto_alloc_size = sizeof(struct mdio_mux_i2creg_priv),
+       .priv_auto      = sizeof(struct mdio_mux_i2creg_priv),
 };
index 3dba4d18a159ec046daf5e7a23244acfb2719d7c..fff6ddb2f1421921749174e11f3cacb92939c86c 100644 (file)
@@ -93,5 +93,5 @@ U_BOOT_DRIVER(mdio_mux_sandbox) = {
        .of_match       = mdio_mux_sandbox_ids,
        .probe          = mdio_mux_sandbox_probe,
        .ops            = &mdio_mux_sandbox_ops,
-       .priv_auto_alloc_size = sizeof(struct mdio_mux_sandbox_priv),
+       .priv_auto      = sizeof(struct mdio_mux_sandbox_priv),
 };
index b731f60a98a132380d8d93d69ac8e27a897f0b03..2b50ffc3acc70b168380bb3417159376bf90df28 100644 (file)
@@ -90,5 +90,5 @@ U_BOOT_DRIVER(mdio_sandbox) = {
        .of_match       = mdio_sandbox_ids,
        .probe          = mdio_sandbox_probe,
        .ops            = &mdio_sandbox_ops,
-       .priv_auto_alloc_size = sizeof(struct mdio_sandbox_priv),
+       .priv_auto      = sizeof(struct mdio_sandbox_priv),
 };
index 1c9a401de81e62a1fcff825ef700e9565864aa22..779377b0db881f82956855e98efa898281e3c838 100644 (file)
@@ -964,6 +964,6 @@ U_BOOT_DRIVER(jr2) = {
        .probe                          = jr2_probe,
        .remove                         = jr2_remove,
        .ops                            = &jr2_ops,
-       .priv_auto_alloc_size           = sizeof(struct jr2_private),
-       .platdata_auto_alloc_size       = sizeof(struct eth_pdata),
+       .priv_auto              = sizeof(struct jr2_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 1d46d0e5e1e2eae1d6e5fae5b4c6f5b86fc115fc..8095f4fabdfc4233ab7a216b0309651925c614c1 100644 (file)
@@ -737,6 +737,6 @@ U_BOOT_DRIVER(luton) = {
        .probe    = luton_probe,
        .remove   = luton_remove,
        .ops      = &luton_ops,
-       .priv_auto_alloc_size = sizeof(struct luton_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct luton_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 2a48dc6a1905b928bef26ba070cb304192d97992..5179b82a63752428a9f9c41d470101434818d970 100644 (file)
@@ -651,6 +651,6 @@ U_BOOT_DRIVER(ocelot) = {
        .probe    = ocelot_probe,
        .remove   = ocelot_remove,
        .ops      = &ocelot_ops,
-       .priv_auto_alloc_size = sizeof(struct ocelot_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ocelot_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index d8ee1a76989a69882c80519504f1e7c4c59a3e20..e70f44cc10f56a216aa130e8892b5b9b794d3a36 100644 (file)
@@ -604,6 +604,6 @@ U_BOOT_DRIVER(serval) = {
        .probe                          = serval_probe,
        .remove                         = serval_remove,
        .ops                            = &serval_ops,
-       .priv_auto_alloc_size           = sizeof(struct serval_private),
-       .platdata_auto_alloc_size       = sizeof(struct eth_pdata),
+       .priv_auto              = sizeof(struct serval_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 1cf2273142b7c75263a9de63282167543d06ee43..88556409385cbc9f73835da9f2a8adf4bbb0a26c 100644 (file)
@@ -523,6 +523,6 @@ U_BOOT_DRIVER(servalt) = {
        .probe                          = servalt_probe,
        .remove                         = servalt_remove,
        .ops                            = &servalt_ops,
-       .priv_auto_alloc_size           = sizeof(struct servalt_private),
-       .platdata_auto_alloc_size       = sizeof(struct eth_pdata),
+       .priv_auto              = sizeof(struct servalt_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 64f1c8c828d7e38580bb8bcd23cc989eb0fffdb7..60532111aba38f2e3c9fd26c63f43d95893907ab 100644 (file)
@@ -651,6 +651,6 @@ U_BOOT_DRIVER(mt7628_eth) = {
        .of_match = mt7628_eth_ids,
        .probe  = mt7628_eth_probe,
        .ops    = &mt7628_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct mt7628_eth_dev),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct mt7628_eth_dev),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 5183c08e14cd125342377e722fc0fa2595e14b8b..05fdb44380c006752edbfab6593c32d8ae0cebd7 100644 (file)
@@ -1559,10 +1559,10 @@ U_BOOT_DRIVER(mtk_eth) = {
        .id = UCLASS_ETH,
        .of_match = mtk_eth_ids,
        .ofdata_to_platdata = mtk_eth_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .probe = mtk_eth_probe,
        .remove = mtk_eth_remove,
        .ops = &mtk_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct mtk_eth_priv),
+       .priv_auto      = sizeof(struct mtk_eth_priv),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 2f9464b961a9381399682ca0a7c0613e35be877e..0be67152ca892da1ebb42e4c6f8517d0a65531d2 100644 (file)
@@ -1041,7 +1041,7 @@ U_BOOT_DRIVER(mvgbe) = {
        .ofdata_to_platdata = mvgbe_ofdata_to_platdata,
        .probe  = mvgbe_probe,
        .ops    = &mvgbe_ops,
-       .priv_auto_alloc_size = sizeof(struct mvgbe_device),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct mvgbe_device),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 #endif /* CONFIG_DM_ETH */
index a8e93e80fc08eb438a0028c274022429d0717799..005f28f1b25400520614f10aba977ad666abce32 100644 (file)
@@ -232,6 +232,6 @@ U_BOOT_DRIVER(mvmdio) = {
        .bind                   = mvmdio_bind,
        .probe                  = mvmdio_probe,
        .ops                    = &mvmdio_ops,
-       .priv_auto_alloc_size   = sizeof(struct mvmdio_priv),
+       .priv_auto      = sizeof(struct mvmdio_priv),
 };
 
index 83f99e5d8aba105db5f6838d92e218498196132f..a90a631757d2b1cd22e0cc5eb4006f80af666123 100644 (file)
@@ -1830,6 +1830,6 @@ U_BOOT_DRIVER(mvneta) = {
        .ofdata_to_platdata = mvneta_ofdata_to_platdata,
        .probe  = mvneta_probe,
        .ops    = &mvneta_ops,
-       .priv_auto_alloc_size = sizeof(struct mvneta_port),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct mvneta_port),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index c1a78a2918ea7ab0bbfa76064e51da851b10dcfb..c353aa677d067e67fa0bc0d529c4a8df166ce1d5 100644 (file)
@@ -5424,8 +5424,8 @@ static struct driver mvpp2_driver = {
        .probe  = mvpp2_probe,
        .remove = mvpp2_remove,
        .ops    = &mvpp2_ops,
-       .priv_auto_alloc_size = sizeof(struct mvpp2_port),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct mvpp2_port),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags  = DM_FLAG_ACTIVE_DMA,
 };
 
@@ -5501,5 +5501,5 @@ U_BOOT_DRIVER(mvpp2_base) = {
        .id     = UCLASS_MISC,
        .of_match = mvpp2_ids,
        .bind   = mvpp2_base_bind,
-       .priv_auto_alloc_size = sizeof(struct mvpp2),
+       .priv_auto      = sizeof(struct mvpp2),
 };
index fbe2e2c073e832afa0f6ef800213d18bd1a61b3b..2ea54be84da6f95c720c58415a58654d32d13bac 100644 (file)
@@ -1552,7 +1552,7 @@ U_BOOT_DRIVER(octeontx_bgx) = {
        .id     = UCLASS_MISC,
        .probe  = octeontx_bgx_probe,
        .remove = octeontx_bgx_remove,
-       .priv_auto_alloc_size = sizeof(struct bgx),
+       .priv_auto      = sizeof(struct bgx),
        .flags  = DM_FLAG_OS_PREPARE,
 };
 
index 1a805f7a4685c19cae1f81106221a67475357341..8f05d4e720e3dd91637d25ae24179bf30d6e0eba 100644 (file)
@@ -766,7 +766,7 @@ U_BOOT_DRIVER(octeontx_nic) = {
        .name   = "octeontx_nic",
        .id     = UCLASS_MISC,
        .probe  = octeontx_nic_probe,
-       .priv_auto_alloc_size = sizeof(struct nicpf),
+       .priv_auto      = sizeof(struct nicpf),
 };
 
 static struct pci_device_id octeontx_nic_supported[] = {
index e13c8b95569df83e8380c95b0c57fd2b605a70c3..8db46f84a66e01c4dc9fb4699c660ceec26d76d0 100644 (file)
@@ -568,8 +568,8 @@ U_BOOT_DRIVER(octeontx_vnic) = {
        .id     = UCLASS_ETH,
        .probe  = octeontx_vnic_probe,
        .ops    = &octeontx_vnic_ops,
-       .priv_auto_alloc_size = sizeof(struct nicvf),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct nicvf),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static struct pci_device_id octeontx_vnic_supported[] = {
index ff2ebc25ce1f32190daaf23fb49cf73ddd9b88aa..189fe7c631ae8a3e5646ec703b48c2bf98ce5c39 100644 (file)
@@ -285,7 +285,7 @@ U_BOOT_DRIVER(cgx) = {
        .id     = UCLASS_MISC,
        .probe  = cgx_probe,
        .remove = cgx_remove,
-       .priv_auto_alloc_size = sizeof(struct cgx),
+       .priv_auto      = sizeof(struct cgx),
 };
 
 static struct pci_device_id cgx_supported[] = {
index 7750089a205aecae0ecfb69437169318f06eb77f..d2f965486116b0711643a45475971108146f08b8 100644 (file)
@@ -160,7 +160,7 @@ U_BOOT_DRIVER(rvu_af) = {
        .id     = UCLASS_MISC,
        .probe  = rvu_af_probe,
        .remove = rvu_af_remove,
-       .priv_auto_alloc_size = sizeof(struct rvu_af),
+       .priv_auto      = sizeof(struct rvu_af),
 };
 
 static struct pci_device_id rvu_af_supported[] = {
index 201ecf2c1683ab057cdcdc5c6fad1a9c1881a4fb..b000b913742a4399c21decf117cb50cc38aee4b7 100644 (file)
@@ -104,8 +104,8 @@ U_BOOT_DRIVER(rvu_pf) = {
        .probe  = rvu_pf_probe,
        .remove = rvu_pf_remove,
        .ops    = &nix_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct rvu_pf),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct rvu_pf),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static struct pci_device_id rvu_pf_supported[] = {
index 1daafbe2b9bdffc58eca3243032a8ace4e729d6f..b413a4f249153d46dcff7bbb69de5160ab194549 100644 (file)
@@ -499,8 +499,8 @@ U_BOOT_DRIVER(eth_pch_gbe) = {
        .probe = pch_gbe_probe,
        .remove = pch_gbe_remove,
        .ops = &pch_gbe_ops,
-       .priv_auto_alloc_size = sizeof(struct pch_gbe_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct pch_gbe_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
index ad5ac6618f7ebab91eb94b70574d56d808e68283..9b27033e7927d48253199c649e9de29a6c8c73ee 100644 (file)
@@ -689,8 +689,8 @@ U_BOOT_DRIVER(eth_pcnet) = {
        .bind   = pcnet_bind,
        .probe  = pcnet_probe,
        .ops    = &pcnet_ops,
-       .priv_auto_alloc_size = sizeof(struct pcnet_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct pcnet_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags  = DM_UC_FLAG_ALLOC_PRIV_DMA,
 };
 
index 3b4ca0393c0e310919d1c4d8e7d8276721790abc..c571324850028d74121225f1aac85b3e4e40b81c 100644 (file)
@@ -290,6 +290,6 @@ U_BOOT_DRIVER(pfe_eth) = {
        .probe  = pfe_eth_probe,
        .remove = pfe_eth_remove,
        .ops    = &pfe_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct pfe_eth_dev),
-       .platdata_auto_alloc_size = sizeof(struct pfe_eth_pdata)
+       .priv_auto      = sizeof(struct pfe_eth_dev),
+       .platdata_auto  = sizeof(struct pfe_eth_pdata)
 };
index 6a2084947b0330e24acc79f8463ca23a508721d0..ec491256baa50cb3ac1f06a638ceff44a8fa025d 100644 (file)
@@ -606,6 +606,6 @@ U_BOOT_DRIVER(pic32_ethernet) = {
        .probe                  = pic32_eth_probe,
        .remove                 = pic32_eth_remove,
        .ops                    = &pic32_eth_ops,
-       .priv_auto_alloc_size   = sizeof(struct pic32eth_dev),
-       .platdata_auto_alloc_size       = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct pic32eth_dev),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 3482b3ff1787b062be59a544ec78b515bb6f6158..00e01a41ab3320b0605771f632578e94f180c5e2 100644 (file)
@@ -1162,6 +1162,6 @@ U_BOOT_DRIVER(eth_qe_uec) = {
        .probe  = qe_uec_probe,
        .remove = qe_uec_remove,
        .ops    = &qe_uec_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct qe_uec_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct qe_uec_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 02ce08edade8a68d3da7e8f3a72c4ed0a743094c..038b810460cc069b3aecd9ef8b93707554376dc7 100644 (file)
@@ -159,5 +159,5 @@ U_BOOT_DRIVER(mvmdio) = {
        .of_match               = qe_uec_mdio_ids,
        .probe                  = qe_uec_mdio_probe,
        .ops                    = &qe_uec_mdio_ops,
-       .priv_auto_alloc_size   = sizeof(struct qe_uec_mdio_priv),
+       .priv_auto      = sizeof(struct qe_uec_mdio_priv),
 };
index 98883cd15b41b59deb09825a1e60fa51adc966c3..d1a45ceedce16982f96a0ef451956843f919e237 100644 (file)
@@ -689,7 +689,7 @@ U_BOOT_DRIVER(eth_ravb) = {
        .probe          = ravb_probe,
        .remove         = ravb_remove,
        .ops            = &ravb_ops,
-       .priv_auto_alloc_size = sizeof(struct ravb_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ravb_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags          = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 71f2aba4c7094af4f574fcaf14bbb84329e72f8f..934e0c25d4ae30572c4fae75f61573b5de137784 100644 (file)
@@ -771,8 +771,8 @@ U_BOOT_DRIVER(eth_rtl8139) = {
        .bind   = rtl8139_bind,
        .probe  = rtl8139_probe,
        .ops    = &rtl8139_ops,
-       .priv_auto_alloc_size = sizeof(struct rtl8139_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct rtl8139_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 U_BOOT_PCI_DEVICE(eth_rtl8139, supported);
index 2e1304e44d16edd698fd6dc8f04e04b8980fbf5f..7512f640c2f440e59de2eebe711b7e55e03d3f7a 100644 (file)
@@ -1248,8 +1248,8 @@ U_BOOT_DRIVER(eth_rtl8169) = {
        .of_match = rtl8169_eth_ids,
        .probe  = rtl8169_eth_probe,
        .ops    = &rtl8169_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct rtl8169_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct rtl8169_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 U_BOOT_PCI_DEVICE(eth_rtl8169, supported);
index 4bd94c31031ddd03c12c2d9b0e4c7f399d4c6d17..32f63416b9614c764551e4ed5271ff1f1944ef6a 100644 (file)
@@ -193,6 +193,6 @@ U_BOOT_DRIVER(eth_sandbox_raw) = {
        .of_match = sb_eth_raw_ids,
        .ofdata_to_platdata = sb_eth_raw_ofdata_to_platdata,
        .ops    = &sb_eth_raw_ops,
-       .priv_auto_alloc_size = sizeof(struct eth_sandbox_raw_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct eth_sandbox_raw_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 4f7e3d42438cb2fbd75f78028330e8a9efc1b832..4d007ae02225cb7f3554b5f64b450b17eb228de6 100644 (file)
@@ -446,6 +446,6 @@ U_BOOT_DRIVER(eth_sandbox) = {
        .ofdata_to_platdata = sb_eth_ofdata_to_platdata,
        .remove = sb_eth_remove,
        .ops    = &sb_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct eth_sandbox_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct eth_sandbox_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 4cbffb14c517754798125ae619c261eca178c4fa..a5bd4596fd5192034174cfa2133a00345f0de3bb 100644 (file)
@@ -957,8 +957,8 @@ U_BOOT_DRIVER(eth_sh_ether) = {
        .probe          = sh_ether_probe,
        .remove         = sh_ether_remove,
        .ops            = &sh_ether_ops,
-       .priv_auto_alloc_size = sizeof(struct sh_ether_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct sh_ether_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags          = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
index 09372d7f6ba9d91cbb882a5c13114ddb9974ca87..e0083ce8a336f189f6ca7cf38ed94e9bdb78cfab 100644 (file)
@@ -639,8 +639,8 @@ U_BOOT_DRIVER(smc911x) = {
        .ofdata_to_platdata = smc911x_ofdata_to_platdata,
        .probe          = smc911x_probe,
        .ops            = &smc911x_ops,
-       .priv_auto_alloc_size = sizeof(struct smc911x_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct smc911x_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags          = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
index 0f7ada8c3e2ca5f85b2f7a33e0d25a5374d47d11..301462009b9ec2ac131982a213ab438d7cb363fd 100644 (file)
@@ -998,6 +998,6 @@ U_BOOT_DRIVER(ave) = {
        .remove   = ave_remove,
        .ofdata_to_platdata = ave_ofdata_to_platdata,
        .ops      = &ave_ops,
-       .priv_auto_alloc_size = sizeof(struct ave_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ave_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 4524604126c961e58036fd1d25d4e55c755827fb..0fa8ba97b0f4f338b183e27c58e2a8c94a8d0526 100644 (file)
@@ -1004,7 +1004,7 @@ U_BOOT_DRIVER(eth_sun8i_emac) = {
        .ofdata_to_platdata = sun8i_emac_eth_ofdata_to_platdata,
        .probe  = sun8i_emac_eth_probe,
        .ops    = &sun8i_emac_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct emac_eth_dev),
-       .platdata_auto_alloc_size = sizeof(struct sun8i_eth_pdata),
+       .priv_auto      = sizeof(struct emac_eth_dev),
+       .platdata_auto  = sizeof(struct sun8i_eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 8e66ce246112f2fbfc82c8590e879c0a0a45cac6..dfdf3c1f7dbb1e6d4c834e9aa971392ffc86eb27 100644 (file)
@@ -612,6 +612,6 @@ U_BOOT_DRIVER(eth_sunxi_emac) = {
        .ofdata_to_platdata = sunxi_emac_eth_ofdata_to_platdata,
        .probe  = sunxi_emac_eth_probe,
        .ops    = &sunxi_emac_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct emac_eth_dev),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct emac_eth_dev),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 971bdcdfda991b311c5a6921f5f920960057f541..c8dcefe5e35278eec9550efc1451f4ae8fd1b076 100644 (file)
@@ -791,7 +791,7 @@ U_BOOT_DRIVER(am65_cpsw_nuss_slave) = {
        .of_match = am65_cpsw_nuss_ids,
        .probe  = am65_cpsw_probe_cpsw,
        .ops    = &am65_cpsw_ops,
-       .priv_auto_alloc_size = sizeof(struct am65_cpsw_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct am65_cpsw_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 1c11257839cfcebf3e738911b35c6429ead62cf3..94c10a82340341ee3ea9bdaa365376e825cbd1b4 100644 (file)
@@ -1378,11 +1378,11 @@ U_BOOT_DRIVER(eth_cpsw) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .of_match = cpsw_eth_ids,
        .ofdata_to_platdata = cpsw_eth_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .platdata_auto  = sizeof(struct eth_pdata),
 #endif
        .probe  = cpsw_eth_probe,
        .ops    = &cpsw_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct cpsw_priv),
+       .priv_auto      = sizeof(struct cpsw_priv),
        .flags = DM_FLAG_ALLOC_PRIV_DMA | DM_FLAG_PRE_RELOC,
 };
 #endif /* CONFIG_DM_ETH */
index 56ea1fec0af64315c5477addf9b1725b411522ab..2f025018aa5f44db82765e2415cf959eddaa9c64 100644 (file)
@@ -865,5 +865,5 @@ U_BOOT_DRIVER(davinci_emac) = {
        .of_match       = davinci_emac_ids,
        .probe          = davinci_emac_probe,
        .ops            = &davinci_emac_ops,
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 50f0d33a83b57069926dfccd120532079e625245..62658bc2128fc998ed3231bff7f95f211a5ea0ee 100644 (file)
@@ -804,8 +804,8 @@ U_BOOT_DRIVER(eth_ks2_slave) = {
        .probe  = ks2_eth_probe,
        .remove = ks2_eth_remove,
        .ops    = &ks2_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct ks2_eth_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ks2_eth_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
@@ -817,7 +817,7 @@ U_BOOT_DRIVER(eth_ks2) = {
        .probe  = ks2_eth_probe,
        .remove = ks2_eth_remove,
        .ops    = &ks2_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct ks2_eth_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ks2_eth_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index c436b8317d995d2d55ec3e0f6d0f066e41120527..228820484af2dd0e77740fa7ac46bc2df07ab4cd 100644 (file)
@@ -904,8 +904,8 @@ U_BOOT_DRIVER(eth_tsec) = {
        .probe = tsec_probe,
        .remove = tsec_remove,
        .ops = &tsec_ops,
-       .priv_auto_alloc_size = sizeof(struct tsec_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct tsec_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif /* CONFIG_DM_ETH */
index 8af371120462540d5a0d5abab4f520c598eb9f1f..194985b1578da1d69ad7ddc6f017b49e470aec95 100644 (file)
@@ -791,6 +791,6 @@ U_BOOT_DRIVER(axi_emac) = {
        .probe  = axi_emac_probe,
        .remove = axi_emac_remove,
        .ops    = &axi_emac_ops,
-       .priv_auto_alloc_size = sizeof(struct axidma_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct axidma_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 64c18bae74b0edbb1044d18535f2cbe16f568256..03cd4cc9d95b591f3d2e688b970315c87ebd7b41 100644 (file)
@@ -635,6 +635,6 @@ U_BOOT_DRIVER(emaclite) = {
        .probe  = emaclite_probe,
        .remove = emaclite_remove,
        .ops    = &emaclite_ops,
-       .priv_auto_alloc_size = sizeof(struct xemaclite),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct xemaclite),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index 8afec8bbfcff59ff81904bbf3352b3a86f36b061..2df4bc2fc5222fa73d975df42902e92dda040e09 100644 (file)
@@ -811,6 +811,6 @@ U_BOOT_DRIVER(zynq_gem) = {
        .probe  = zynq_gem_probe,
        .remove = zynq_gem_remove,
        .ops    = &zynq_gem_ops,
-       .priv_auto_alloc_size = sizeof(struct zynq_gem_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct zynq_gem_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
index fc64d93ab83b7fabe9b9fcad42d7057664ceb2c6..b7855499973dbe3d78d0f0e3347f2485884530ac 100644 (file)
@@ -795,7 +795,7 @@ U_BOOT_DRIVER(nvme_blk) = {
        .id     = UCLASS_BLK,
        .probe  = nvme_blk_probe,
        .ops    = &nvme_blk_ops,
-       .priv_auto_alloc_size = sizeof(struct nvme_ns),
+       .priv_auto      = sizeof(struct nvme_ns),
 };
 
 static int nvme_bind(struct udevice *udev)
@@ -869,7 +869,7 @@ U_BOOT_DRIVER(nvme) = {
        .id     = UCLASS_NVME,
        .bind   = nvme_bind,
        .probe  = nvme_probe,
-       .priv_auto_alloc_size = sizeof(struct nvme_dev),
+       .priv_auto      = sizeof(struct nvme_dev),
 };
 
 struct pci_device_id nvme_supported[] = {
index 76f552527e37724acd4c52092da1432be6cae077..37c368954b45311f51493247feec6417d602b2ac 100644 (file)
@@ -82,5 +82,5 @@ U_BOOT_DRIVER(sandbox_pch_drv) = {
        .id             = UCLASS_PCH,
        .of_match       = sandbox_pch_ids,
        .ops            = &sandbox_pch_ops,
-       .priv_auto_alloc_size   = sizeof(struct sandbox_pch_priv),
+       .priv_auto      = sizeof(struct sandbox_pch_priv),
 };
index babb84ca937fefec1c9a2a6e3e131364f79c0930..f1653ba859240347a298ada36579e1938918bc57 100644 (file)
@@ -701,5 +701,5 @@ U_BOOT_DRIVER(pcie_advk) = {
        .probe                  = pcie_advk_probe,
        .remove                 = pcie_advk_remove,
        .flags                  = DM_FLAG_OS_PREPARE,
-       .priv_auto_alloc_size   = sizeof(struct pcie_advk),
+       .priv_auto      = sizeof(struct pcie_advk),
 };
index a52064341e0d2dad299e2d9f5ed77558eb4e60c1..3ca9a1567c925b82c653b91f61ad6c941432e3e9 100644 (file)
@@ -105,14 +105,14 @@ UCLASS_DRIVER(pci_emul) = {
        .name           = "pci_emul",
        .post_probe     = sandbox_pci_emul_post_probe,
        .pre_remove     = sandbox_pci_emul_pre_remove,
-       .priv_auto_alloc_size   = sizeof(struct sandbox_pci_emul_priv),
-       .per_device_auto_alloc_size     = sizeof(struct pci_emul_uc_priv),
+       .priv_auto      = sizeof(struct sandbox_pci_emul_priv),
+       .per_device_auto        = sizeof(struct pci_emul_uc_priv),
 };
 
 /*
  * This uclass is a child of the pci bus. Its platdata is not defined here so
  * is defined by its parent, UCLASS_PCI, which uses struct pci_child_platdata.
- * See per_child_platdata_auto_alloc_size in UCLASS_DRIVER(pci).
+ * See per_child_platdata_auto in UCLASS_DRIVER(pci).
  */
 UCLASS_DRIVER(pci_emul_parent) = {
        .id             = UCLASS_PCI_EMUL_PARENT,
index e76abc1f84c1a98942b644e4dec9221ed78b0d2e..cff1a41f024a00e0d9708173e28682a287c15ae1 100644 (file)
@@ -260,5 +260,5 @@ U_BOOT_DRIVER(rcar_gen2_pci) = {
        .ops                    = &rcar_gen2_pci_ops,
        .probe                  = rcar_gen2_pci_probe,
        .ofdata_to_platdata     = rcar_gen2_pci_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct rcar_gen2_pci_priv),
+       .priv_auto      = sizeof(struct rcar_gen2_pci_priv),
 };
index 1f51854ccc6f676d420356c5f5eedf33dedd060e..f01fcf61062ce6fa2611ea61437892513acedf4b 100644 (file)
@@ -400,5 +400,5 @@ U_BOOT_DRIVER(rcar_gen3_pcie) = {
        .ops                    = &rcar_gen3_pcie_ops,
        .probe                  = rcar_gen3_pcie_probe,
        .ofdata_to_platdata     = rcar_gen3_pcie_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct rcar_gen3_pcie_priv),
+       .platdata_auto  = sizeof(struct rcar_gen3_pcie_priv),
 };
index 9230cfe88b5019888b9bf2c60e46b8d7d7903295..6093072814a5bfb44a7fb09ac5b5e149b48c3f1a 100644 (file)
@@ -1796,8 +1796,8 @@ UCLASS_DRIVER(pci) = {
        .pre_probe      = pci_uclass_pre_probe,
        .post_probe     = pci_uclass_post_probe,
        .child_post_bind = pci_uclass_child_post_bind,
-       .per_device_auto_alloc_size = sizeof(struct pci_controller),
-       .per_child_platdata_auto_alloc_size =
+       .per_device_auto        = sizeof(struct pci_controller),
+       .per_child_platdata_auto        =
                        sizeof(struct pci_child_platdata),
 };
 
index 6576f53f52a5def81b4895ebc73453fbcc879349..9cb95da1753d381084c9164d7d1b7bf6ad1caa32 100644 (file)
@@ -155,5 +155,5 @@ U_BOOT_DRIVER(mpc85xx_pci) = {
        .probe                  = mpc85xx_pci_dm_probe,
        .remove                 = mpc85xx_pci_dm_remove,
        .ofdata_to_platdata     = mpc85xx_pci_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct mpc85xx_pci_priv),
+       .priv_auto      = sizeof(struct mpc85xx_pci_priv),
 };
index ba1c139dbc568de8740a78279faeaacb009ac27c..207ae336249bfe409088c7c448397bce69c0de9d 100644 (file)
@@ -471,7 +471,7 @@ static struct driver pcie_mvebu_drv = {
        .ops                    = &mvebu_pcie_ops,
        .probe                  = mvebu_pcie_probe,
        .ofdata_to_platdata     = mvebu_pcie_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct mvebu_pcie),
+       .platdata_auto  = sizeof(struct mvebu_pcie),
 };
 
 /*
index 30537543a0f2c4b68d3777f66e340d4d0930599e..d211d22226eb14b6a543ab5a97fec4d0fbf2c776 100644 (file)
@@ -359,6 +359,6 @@ U_BOOT_DRIVER(pci_octeontx) = {
        .ops    = &pci_octeontx_ops,
        .ofdata_to_platdata = pci_octeontx_ofdata_to_platdata,
        .probe  = pci_octeontx_probe,
-       .priv_auto_alloc_size = sizeof(struct octeontx_pci),
+       .priv_auto      = sizeof(struct octeontx_pci),
        .flags = DM_FLAG_PRE_RELOC,
 };
index 8745f286bd4ab590173f1dd4e4894b9e814afee0..d318b33d2bd5c1962aa8363d32b13c8e65933262 100644 (file)
@@ -128,10 +128,10 @@ U_BOOT_DRIVER(pci_sandbox) = {
        .of_match = sandbox_pci_ids,
        .ops    = &sandbox_pci_ops,
        .probe  = sandbox_pci_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_pci_priv),
+       .priv_auto      = sizeof(struct sandbox_pci_priv),
 
        /* Attach an emulator if we can */
        .child_post_bind = dm_scan_fdt_dev,
-       .per_child_platdata_auto_alloc_size =
+       .per_child_platdata_auto        =
                        sizeof(struct pci_child_platdata),
 };
index 82f5c59d9173e834e84de8cd6abad512e4ce53b6..386b25a77aa425d194e2d70046ff59ea3fcee4f3 100644 (file)
@@ -1199,5 +1199,5 @@ U_BOOT_DRIVER(pci_tegra) = {
        .ops    = &pci_tegra_ops,
        .ofdata_to_platdata = pci_tegra_ofdata_to_platdata,
        .probe  = pci_tegra_probe,
-       .priv_auto_alloc_size = sizeof(struct tegra_pcie),
+       .priv_auto      = sizeof(struct tegra_pcie),
 };
index dade79e9c8673c8eff1fd73fce4643c592cc236f..8f084df4882c22dcd7beb2e3828de2008c4775f4 100644 (file)
@@ -619,5 +619,5 @@ U_BOOT_DRIVER(pcie_brcm_base) = {
        .of_match               = brcm_pcie_ids,
        .probe                  = brcm_pcie_probe,
        .ofdata_to_platdata     = brcm_pcie_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct brcm_pcie),
+       .priv_auto      = sizeof(struct brcm_pcie),
 };
index c773f8d28d2e099ec6a8ea539b8fbc2bb1609e0b..def5fe2ec12755234ec23ff546ae1d4910857866 100644 (file)
@@ -580,5 +580,5 @@ U_BOOT_DRIVER(pcie_dw_mvebu) = {
        .ops                    = &pcie_dw_mvebu_ops,
        .ofdata_to_platdata     = pcie_dw_mvebu_ofdata_to_platdata,
        .probe                  = pcie_dw_mvebu_probe,
-       .priv_auto_alloc_size   = sizeof(struct pcie_dw_mvebu),
+       .priv_auto      = sizeof(struct pcie_dw_mvebu),
 };
index 742dd93633e6ebebdc2d223cd1967ccceba8924c..a4867dc0a2a9822e85b469c80a0c4e87546d41ca 100644 (file)
@@ -726,5 +726,5 @@ U_BOOT_DRIVER(pcie_dw_ti) = {
        .ops                    = &pcie_dw_ti_ops,
        .ofdata_to_platdata     = pcie_dw_ti_ofdata_to_platdata,
        .probe                  = pcie_dw_ti_probe,
-       .priv_auto_alloc_size   = sizeof(struct pcie_dw_ti),
+       .priv_auto      = sizeof(struct pcie_dw_ti),
 };
index 890b6a8fb69a45d1188debbd764dcfd5c19f4c68..fe71455b63080b1fe439812394d55cd481454bb0 100644 (file)
@@ -168,5 +168,5 @@ U_BOOT_DRIVER(pci_generic_ecam) = {
        .ops                    = &pci_generic_ecam_ops,
        .probe                  = pci_generic_ecam_probe,
        .ofdata_to_platdata     = pci_generic_ecam_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct generic_ecam_pcie),
+       .priv_auto      = sizeof(struct generic_ecam_pcie),
 };
index fb50b8f51804f2197ae08c96e12787c746aec8f6..52387d88cd12510cefb792c868c2713f31b5b0ff 100644 (file)
@@ -663,5 +663,5 @@ U_BOOT_DRIVER(fsl_pcie) = {
        .ops = &fsl_pcie_ops,
        .ofdata_to_platdata = fsl_pcie_ofdata_to_platdata,
        .probe = fsl_pcie_probe,
-       .priv_auto_alloc_size = sizeof(struct fsl_pcie),
+       .priv_auto      = sizeof(struct fsl_pcie),
 };
index cbf12371a0f70c516321cc3d43e5b6eba3a8444e..ebf9b8813da1fc9eaca7a59927289932ebe1bc54 100644 (file)
@@ -830,7 +830,7 @@ U_BOOT_DRIVER(imx_pcie) = {
        .probe                  = imx_pcie_dm_probe,
        .remove                 = imx_pcie_dm_remove,
        .ofdata_to_platdata     = imx_pcie_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct imx_pcie_priv),
+       .priv_auto      = sizeof(struct imx_pcie_priv),
        .flags                  = DM_FLAG_OS_PREPARE,
 };
 #endif
index 9f102c64c6025486330432b39e49e570f922264c..0a70c71e8787972f555138ed2a0d6e22d7c07504 100644 (file)
@@ -430,5 +430,5 @@ U_BOOT_DRIVER(pcie_intel_fpga) = {
        .ops                    = &pcie_intel_fpga_ops,
        .ofdata_to_platdata     = pcie_intel_fpga_ofdata_to_platdata,
        .probe                  = pcie_intel_fpga_probe,
-       .priv_auto_alloc_size   = sizeof(struct intel_fpga_pcie),
+       .priv_auto      = sizeof(struct intel_fpga_pcie),
 };
index d77735fcf262520c9b9aa9509555481a3a146e6d..6725ff64372e81db198a25023a6c4348dd2d4753 100644 (file)
@@ -1282,6 +1282,6 @@ U_BOOT_DRIVER(pci_iproc) = {
        .ops = &iproc_pcie_ops,
        .probe = iproc_pcie_probe,
        .remove = iproc_pcie_remove,
-       .priv_auto_alloc_size = sizeof(struct iproc_pcie),
+       .priv_auto      = sizeof(struct iproc_pcie),
        .flags = DM_REMOVE_OS_PREPARE,
 };
index eba230e3a5fcc04a3b9c6dbb4a3e2f908f7f5144..1503f961e2d3dcfb4c9ed9979574ca3eb6f41aa1 100644 (file)
@@ -328,5 +328,5 @@ U_BOOT_DRIVER(pci_layerscape_ep) = {
        .ops = &ls_pcie_ep_ops,
        .probe = ls_pcie_ep_probe,
        .remove = ls_pcie_ep_remove,
-       .priv_auto_alloc_size = sizeof(struct ls_pcie_ep),
+       .priv_auto      = sizeof(struct ls_pcie_ep),
 };
index 428bfcab09f297273685fc4c0d859f1a8d8022c0..a8556463176faee5b1a01024ca355eb174b45b6d 100644 (file)
@@ -569,5 +569,5 @@ U_BOOT_DRIVER(pcie_layerscape_gen4) = {
        .of_match = ls_pcie_g4_ids,
        .ops = &ls_pcie_g4_ops,
        .probe  = ls_pcie_g4_probe,
-       .priv_auto_alloc_size = sizeof(struct ls_pcie_g4),
+       .priv_auto      = sizeof(struct ls_pcie_g4),
 };
index 25c6ddebce0783e5bf053f1cd070feac81fe5113..61b10597d8149eada7f6505fd73a511a7d81c9b6 100644 (file)
@@ -375,5 +375,5 @@ U_BOOT_DRIVER(pci_layerscape) = {
        .of_match = ls_pcie_ids,
        .ops = &ls_pcie_ops,
        .probe  = ls_pcie_probe,
-       .priv_auto_alloc_size = sizeof(struct ls_pcie_rc),
+       .priv_auto      = sizeof(struct ls_pcie_rc),
 };
index 55b6a40f254aa030137f6e4ee9bad19eff9736a8..2ebe4a47ded6d9493c451644abc154f9b50a4f41 100644 (file)
@@ -728,7 +728,7 @@ U_BOOT_DRIVER(pcie_mediatek_v1) = {
        .of_match = mtk_pcie_ids,
        .ops    = &mtk_pcie_ops,
        .probe  = mtk_pcie_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_pcie),
+       .priv_auto      = sizeof(struct mtk_pcie),
 };
 
 static const struct udevice_id mtk_pcie_ids_v2[] = {
@@ -742,5 +742,5 @@ U_BOOT_DRIVER(pcie_mediatek_v2) = {
        .of_match = mtk_pcie_ids_v2,
        .ops    = &mtk_pcie_ops_v2,
        .probe  = mtk_pcie_probe_v2,
-       .priv_auto_alloc_size = sizeof(struct mtk_pcie),
+       .priv_auto      = sizeof(struct mtk_pcie),
 };
index 51b2171f9fa0039a137155df301cc16430c50cf8..cce78714b309c4ff2824f13c93ef9f2fb5966ba4 100644 (file)
@@ -195,5 +195,5 @@ U_BOOT_DRIVER(pci_phytium) = {
        .of_match               = pci_phytium_ids,
        .ops                    = &pci_phytium_ops,
        .ofdata_to_platdata     = pci_phytium_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct phytium_pcie),
+       .priv_auto      = sizeof(struct phytium_pcie),
 };
index 04609f12962f25f02faf3793486f8c0068ae72f7..5d5b50289f7bb482f4555047570f195a8e4856ca 100644 (file)
@@ -565,5 +565,5 @@ U_BOOT_DRIVER(rockchip_pcie) = {
        .of_match               = rockchip_pcie_ids,
        .ops                    = &rockchip_pcie_ops,
        .probe                  = rockchip_pcie_probe,
-       .priv_auto_alloc_size   = sizeof(struct rockchip_pcie),
+       .priv_auto      = sizeof(struct rockchip_pcie),
 };
index 713ad49d0458430c26e83441b03a55616e90930a..7aaee77662b93b5d89e508746e00bed3fea9455c 100644 (file)
@@ -175,5 +175,5 @@ U_BOOT_DRIVER(pcie_xilinx) = {
        .of_match               = pcie_xilinx_ids,
        .ops                    = &pcie_xilinx_ops,
        .ofdata_to_platdata     = pcie_xilinx_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct xilinx_pcie),
+       .priv_auto      = sizeof(struct xilinx_pcie),
 };
index 74dfdde154ee8eb8135b2e656d60364c90b3f63f..7313428fe0cae04f7fa07a0309919726838553a3 100644 (file)
@@ -173,5 +173,5 @@ U_BOOT_DRIVER(cdns_pcie) = {
        .ops = &cdns_pci_ep_ops,
        .probe = cdns_pci_ep_probe,
        .remove = cdns_pci_ep_remove,
-       .priv_auto_alloc_size = sizeof(struct cdns_pcie),
+       .priv_auto      = sizeof(struct cdns_pcie),
 };
index 8e05d5ba8906dd1f19dfb5b4b3973b017a7a0091..de148cddb91e8c3527c71daa5cb5cefafa58e945 100644 (file)
@@ -175,5 +175,5 @@ U_BOOT_DRIVER(pci_ep_sandbox) = {
        .of_match       = sandbox_pci_ep_ids,
        .probe          = sandbox_pci_ep_probe,
        .ops            = &sandbox_pci_ep_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_pci_ep_priv),
+       .priv_auto      = sizeof(struct sandbox_pci_ep_priv),
 };
index 7b9d3eefc5ed6f302c7984b43d2ac0111bf32ed8..aadb2901261e8b77d5b4a185d35db8d83f245a4e 100644 (file)
@@ -646,6 +646,6 @@ U_BOOT_DRIVER(sun4i_usb_phy) = {
        .of_match = sun4i_usb_phy_ids,
        .ops = &sun4i_usb_phy_ops,
        .probe = sun4i_usb_phy_probe,
-       .platdata_auto_alloc_size = sizeof(struct sun4i_usb_phy_plat[MAX_PHYS]),
-       .priv_auto_alloc_size = sizeof(struct sun4i_usb_phy_data),
+       .platdata_auto  = sizeof(struct sun4i_usb_phy_plat[MAX_PHYS]),
+       .priv_auto      = sizeof(struct sun4i_usb_phy_data),
 };
index d29344ddb484ec55f472df7c73118c0cb7d0d23a..60608a55bc289e2d6da271c5af7a2fd788aa6178 100644 (file)
@@ -138,6 +138,6 @@ U_BOOT_DRIVER(bcm6318_usbh) = {
        .id = UCLASS_PHY,
        .of_match = bcm6318_usbh_ids,
        .ops = &bcm6318_usbh_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6318_usbh_priv),
+       .priv_auto      = sizeof(struct bcm6318_usbh_priv),
        .probe = bcm6318_usbh_probe,
 };
index 8d28292726ce905d963b3750a791483c662d908f..1b6b5ad177ef6cd1b691556f7f80f9a8ed48fdb5 100644 (file)
@@ -87,6 +87,6 @@ U_BOOT_DRIVER(bcm6348_usbh) = {
        .id = UCLASS_PHY,
        .of_match = bcm6348_usbh_ids,
        .ops = &bcm6348_usbh_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6348_usbh_priv),
+       .priv_auto      = sizeof(struct bcm6348_usbh_priv),
        .probe = bcm6348_usbh_probe,
 };
index 501b97f3e213f42e367b317019425833251d545c..bfdcfb0d245ebe2406ddffc4ce4cebe300805021 100644 (file)
@@ -87,6 +87,6 @@ U_BOOT_DRIVER(bcm6358_usbh) = {
        .id = UCLASS_PHY,
        .of_match = bcm6358_usbh_ids,
        .ops = &bcm6358_usbh_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6358_usbh_priv),
+       .priv_auto      = sizeof(struct bcm6358_usbh_priv),
        .probe = bcm6358_usbh_probe,
 };
index 99fdd33499adf92f060bab4bf272664909b4794d..4d3a63faadad1935a9846274b6cdd0b837754106 100644 (file)
@@ -191,6 +191,6 @@ U_BOOT_DRIVER(bcm6368_usbh) = {
        .id = UCLASS_PHY,
        .of_match = bcm6368_usbh_ids,
        .ops = &bcm6368_usbh_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6368_usbh_priv),
+       .priv_auto      = sizeof(struct bcm6368_usbh_priv),
        .probe = bcm6368_usbh_probe,
 };
index 9faf50100339311f5a380dd85f2f6fb3ae81f253..12f8a265f77214a5e9a7891f44e9d1ff4eff7bf2 100644 (file)
@@ -130,5 +130,5 @@ U_BOOT_DRIVER(keystone_usb_phy) = {
        .of_match = keystone_usb_phy_ids,
        .ops = &keystone_usb_phy_ops,
        .probe = keystone_usb_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct keystone_usb_phy),
+       .priv_auto      = sizeof(struct keystone_usb_phy),
 };
index 5e8ce740cd621fb28ff66b0915cbfaf373acc180..b2203277c4102dfd2287df3c40a5be728d2eeedc 100644 (file)
@@ -189,5 +189,5 @@ U_BOOT_DRIVER(mvebu_comphy) = {
        .id     = UCLASS_MISC,
        .of_match = comphy_ids,
        .probe  = comphy_probe,
-       .priv_auto_alloc_size = sizeof(struct chip_serdes_phy_config),
+       .priv_auto      = sizeof(struct chip_serdes_phy_config),
 };
index 447ce7283db202a2e3e98794ba61225ad53bea4f..2fbba7fdae014d8d1cce6846c76d6296e0506e6c 100644 (file)
@@ -215,5 +215,5 @@ U_BOOT_DRIVER(meson_g12a_usb2_phy) = {
        .of_match = meson_g12a_usb2_phy_ids,
        .probe = meson_g12a_usb2_phy_probe,
        .ops = &meson_g12a_usb2_phy_ops,
-       .priv_auto_alloc_size = sizeof(struct phy_meson_g12a_usb2_priv),
+       .priv_auto      = sizeof(struct phy_meson_g12a_usb2_priv),
 };
index 4e9696fd59083c0097e6e2026b94b0b93d4c2b39..0433d9347437ef4cbde2c18d4a3e914123ef977f 100644 (file)
@@ -343,5 +343,5 @@ U_BOOT_DRIVER(meson_g12a_usb3_pcie_phy) = {
        .of_match = meson_g12a_usb3_pcie_phy_ids,
        .probe = meson_g12a_usb3_pcie_phy_probe,
        .ops = &meson_g12a_usb3_pcie_phy_ops,
-       .priv_auto_alloc_size = sizeof(struct phy_g12a_usb3_pcie_priv),
+       .priv_auto      = sizeof(struct phy_g12a_usb3_pcie_priv),
 };
index d1beebee43e840c2381d80ee9bda96ed48c17525..7a2e3d2739e88a92475b8b82ef35aa44b27ec22e 100644 (file)
@@ -232,5 +232,5 @@ U_BOOT_DRIVER(meson_gxbb_usb2_phy) = {
        .probe = meson_gxbb_usb2_phy_probe,
        .remove = meson_gxbb_usb2_phy_remove,
        .ops = &meson_gxbb_usb2_phy_ops,
-       .priv_auto_alloc_size = sizeof(struct phy_meson_gxbb_usb2_priv),
+       .priv_auto      = sizeof(struct phy_meson_gxbb_usb2_priv),
 };
index 2267bd08c2c719e1c7eb165ce54e3614f584cf2c..9fb376cec448e5d7ef74b53cfebe2fb802b269e7 100644 (file)
@@ -251,5 +251,5 @@ U_BOOT_DRIVER(meson_gxl_usb2_phy) = {
        .of_match = meson_gxl_usb2_phy_ids,
        .probe = meson_gxl_usb2_phy_probe,
        .ops = &meson_gxl_usb2_phy_ops,
-       .priv_auto_alloc_size = sizeof(struct phy_meson_gxl_usb2_priv),
+       .priv_auto      = sizeof(struct phy_meson_gxl_usb2_priv),
 };
index 4efaddd701cc365905911b881d21969716cbfef3..7c9d030a4d8aac2564684c23d51553e5795dea46 100644 (file)
@@ -106,5 +106,5 @@ U_BOOT_DRIVER(msm8916_usbphy) = {
        .of_match       = msm_phy_ids,
        .ops            = &msm_phy_ops,
        .probe          = msm_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct msm_phy_priv),
+       .priv_auto      = sizeof(struct msm_phy_priv),
 };
index 4c0818f6e8da3588985e1ed4f39bbf33fdaf5b31..4069208b67905f514f15feebbbc4760db62d0bd1 100644 (file)
@@ -248,5 +248,5 @@ U_BOOT_DRIVER(mt76x8_usb_phy) = {
        .of_match       = mt76x8_usb_phy_ids,
        .ops            = &mt76x8_usb_phy_ops,
        .probe          = mt76x8_usb_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct mt76x8_usb_phy),
+       .priv_auto      = sizeof(struct mt76x8_usb_phy),
 };
index ba71785fe426946d514d8d22db16e9a7ce61a814..84aac806230220c654e63394c31557e10d837275 100644 (file)
@@ -56,5 +56,5 @@ U_BOOT_DRIVER(nop_phy) = {
        .of_match = nop_phy_ids,
        .ops = &nop_phy_ops,
        .probe = nop_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct nop_phy_priv),
+       .priv_auto      = sizeof(struct nop_phy_priv),
 };
index a981cb2f8d688ca36208327455835e9ef8134115..cb99143732182dd9afb75c03ab5af756bbd7ec4c 100644 (file)
@@ -261,5 +261,5 @@ U_BOOT_DRIVER(omap_usb2_phy) = {
        .of_match = omap_usb2_id_table,
        .probe = omap_usb2_phy_probe,
        .ops = &omap_usb2_phy_ops,
-       .priv_auto_alloc_size = sizeof(struct omap_usb2_phy),
+       .priv_auto      = sizeof(struct omap_usb2_phy),
 };
index 36c77c4b63930d992e66359d7a8460d57e3640f9..9f7c983ce42dbdc30706c800b0cf2b54ea58d532 100644 (file)
@@ -172,6 +172,6 @@ U_BOOT_DRIVER(sr_pcie_phy) = {
        .probe = sr_pcie_phy_probe,
        .of_match = sr_pcie_phy_match_table,
        .ops = &sr_pcie_phy_ops,
-       .platdata_auto_alloc_size = sizeof(struct sr_pcie_phy_core),
-       .priv_auto_alloc_size = sizeof(struct sr_pcie_phy_core),
+       .platdata_auto  = sizeof(struct sr_pcie_phy_core),
+       .priv_auto      = sizeof(struct sr_pcie_phy_core),
 };
index 3d7b9cd2b12942c34686c4538c46d6204f0caaa7..824244b85281cf9539e944a862f2e5f6bb028073 100644 (file)
@@ -749,5 +749,5 @@ U_BOOT_DRIVER(mtk_tphy) = {
        .of_match       = mtk_tphy_id_table,
        .ops            = &mtk_tphy_ops,
        .probe          = mtk_tphy_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_tphy),
+       .priv_auto      = sizeof(struct mtk_tphy),
 };
index 465f0d3a01e61aa8e9863553f14a4099ec6b83fc..5808489249f5fff42d5b8f1708d39a7f5add84b3 100644 (file)
@@ -75,7 +75,7 @@ U_BOOT_DRIVER(ipq4019_usb_ss_phy) = {
        .of_match       = ipq4019_usb_ss_phy_ids,
        .ops            = &ipq4019_usb_ss_phy_ops,
        .probe          = ipq4019_usb_ss_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct ipq4019_usb_phy),
+       .priv_auto      = sizeof(struct ipq4019_usb_phy),
 };
 
 static int ipq4019_hs_phy_power_off(struct phy *_phy)
@@ -141,5 +141,5 @@ U_BOOT_DRIVER(ipq4019_usb_hs_phy) = {
        .of_match       = ipq4019_usb_hs_phy_ids,
        .ops            = &ipq4019_usb_hs_phy_ops,
        .probe          = ipq4019_usb_hs_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct ipq4019_usb_phy),
+       .priv_auto      = sizeof(struct ipq4019_usb_phy),
 };
index 18da86e4bea520b97160537998f4a587b0e30ffd..179409592460d0450f436f90068eb80ce39e8999 100644 (file)
@@ -189,5 +189,5 @@ U_BOOT_DRIVER(rcar_gen2_phy) = {
        .ops            = &rcar_gen2_phy_phy_ops,
        .probe          = rcar_gen2_phy_probe,
        .remove         = rcar_gen2_phy_remove,
-       .priv_auto_alloc_size = sizeof(struct rcar_gen2_phy),
+       .priv_auto      = sizeof(struct rcar_gen2_phy),
 };
index ce39cd8f9e25076338b189d0a590db1e8f7f428e..8c59631428bcbbdfc9dde4753a5f8e34c0467baf 100644 (file)
@@ -158,5 +158,5 @@ U_BOOT_DRIVER(rcar_gen3_phy) = {
        .ops            = &rcar_gen3_phy_phy_ops,
        .probe          = rcar_gen3_phy_probe,
        .remove         = rcar_gen3_phy_remove,
-       .priv_auto_alloc_size = sizeof(struct rcar_gen3_phy),
+       .priv_auto      = sizeof(struct rcar_gen3_phy),
 };
index ab4a913c934420fff9a450ff1de1204d7219bd0a..f23aef4fb01429a962ff00fc76b091e9405b2a27 100644 (file)
@@ -419,5 +419,5 @@ U_BOOT_DRIVER(stm32_usb_phyc) = {
        .of_match = stm32_usbphyc_of_match,
        .ops = &stm32_usbphyc_phy_ops,
        .probe = stm32_usbphyc_probe,
-       .priv_auto_alloc_size = sizeof(struct stm32_usbphyc),
+       .priv_auto      = sizeof(struct stm32_usbphyc),
 };
index cc73760c8be9bd460b0585ffa3df3d55a2944774..8e35ea14750ada3756a3c71c74e6b8b73a7c6c6a 100644 (file)
@@ -187,7 +187,7 @@ U_BOOT_DRIVER(serdes_am654_mux_clk) = {
        .name = "ti-serdes-am654-mux-clk",
        .id = UCLASS_CLK,
        .probe = serdes_am654_mux_clk_probe,
-       .priv_auto_alloc_size = sizeof(struct serdes_am654_mux_clk_data),
+       .priv_auto      = sizeof(struct serdes_am654_mux_clk_data),
        .ops = &serdes_am654_mux_clk_ops,
 };
 
@@ -412,5 +412,5 @@ U_BOOT_DRIVER(am654_serdes_phy) = {
        .bind = serdes_am654_bind,
        .ops = &serdes_am654_phy_ops,
        .probe = serdes_am654_probe,
-       .priv_auto_alloc_size = sizeof(struct serdes_am654),
+       .priv_auto      = sizeof(struct serdes_am654),
 };
index c5ea6ca31f1c7e72bd5b389974e21a383faf63b9..6744b8b22756b610f8b3d21530dddd1ce24bbed7 100644 (file)
@@ -308,5 +308,5 @@ U_BOOT_DRIVER(rockchip_usb2phy) = {
        .of_match = rockchip_usb2phy_ids,
        .probe = rockchip_usb2phy_probe,
        .bind = rockchip_usb2phy_bind,
-       .priv_auto_alloc_size = sizeof(struct rockchip_usb2phy),
+       .priv_auto      = sizeof(struct rockchip_usb2phy),
 };
index 617943fd8217096dc46e2a8c9f5f72bb5640d182..bc6c0feed04fc719a57e7b72a71d16905f88612a 100644 (file)
@@ -267,5 +267,5 @@ U_BOOT_DRIVER(rockchip_pcie_phy) = {
        .of_match = rockchip_pcie_phy_ids,
        .ops = &rockchip_pcie_phy_ops,
        .probe = rockchip_pcie_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pcie_phy),
+       .priv_auto      = sizeof(struct rockchip_pcie_phy),
 };
index da00daa44763dd831206a4cf3b597191463d1b15..a45a318e47427b1080eb78c3b15bb55e150bdb12 100644 (file)
@@ -792,5 +792,5 @@ U_BOOT_DRIVER(rockchip_typec_phy) = {
        .of_match = rockchip_typec_phy_ids,
        .probe = rockchip_tcphy_probe,
        .bind = rockchip_tcphy_bind,
-       .priv_auto_alloc_size = sizeof(struct rockchip_tcphy),
+       .priv_auto      = sizeof(struct rockchip_tcphy),
 };
index 5f36da7692b681f3d366c4a449674894fb8efbe1..7b3d988613bd08bfc765eb0166c75845ac3e4e8a 100644 (file)
@@ -116,5 +116,5 @@ U_BOOT_DRIVER(phy_sandbox) = {
        .of_match       = sandbox_phy_ids,
        .ops            = &sandbox_phy_ops,
        .probe          = sandbox_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_phy_priv),
+       .priv_auto      = sizeof(struct sandbox_phy_priv),
 };
index 2a20f7601c02eb5f0bb18a3ea4645592e08872d7..6a7c3565ea38a71513c30436343682f4a199db92 100644 (file)
@@ -177,5 +177,5 @@ U_BOOT_DRIVER(sti_usb_phy) = {
        .of_match = sti_usb_phy_ids,
        .probe = sti_usb_phy_probe,
        .ops = &sti_usb_phy_ops,
-       .priv_auto_alloc_size = sizeof(struct sti_usb_phy),
+       .priv_auto      = sizeof(struct sti_usb_phy),
 };
index 3f49851bcaba7b31627ae8ed2fdbbfa6dccef4b6..98fe6c6fce36aaf3dd35140daa29c4c6cb2ced3a 100644 (file)
@@ -604,5 +604,5 @@ U_BOOT_DRIVER(pipe3_phy) = {
        .of_match = pipe3_phy_ids,
        .ops = &pipe3_phy_ops,
        .probe = pipe3_phy_probe,
-       .priv_auto_alloc_size = sizeof(struct omap_pipe3),
+       .priv_auto      = sizeof(struct omap_pipe3),
 };
index 05ef24864f2e91554bafd3523141b332ec74a8b6..3c2e10b88e8687e731e30b74f70080ef8094aaae 100644 (file)
@@ -121,7 +121,7 @@ U_BOOT_DRIVER(pinctrl_ast2500) = {
        .name = "aspeed_ast2500_pinctrl",
        .id = UCLASS_PINCTRL,
        .of_match = ast2500_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct ast2500_pinctrl_priv),
+       .priv_auto      = sizeof(struct ast2500_pinctrl_priv),
        .ops = &ast2500_pinctrl_ops,
        .probe = ast2500_pinctrl_probe,
 };
index 61e80818743d518c3d684e27ee1d76586544b8b7..14408da2e7e54bb099def9b442317a306b4c9638 100644 (file)
@@ -130,7 +130,7 @@ U_BOOT_DRIVER(pinctrl_ar933x) = {
        .name           = "pinctrl_ar933x",
        .id             = UCLASS_PINCTRL,
        .of_match       = ar933x_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct ar933x_pinctrl_priv),
+       .priv_auto      = sizeof(struct ar933x_pinctrl_priv),
        .ops            = &ar933x_pinctrl_ops,
        .probe          = ar933x_pinctrl_probe,
 };
index 2d5a4a3ab23837ec051ac9b7a22bdc1ccd3b4e09..b1c78bead3b66f097a29a78e9db28e54bc701602 100644 (file)
@@ -150,7 +150,7 @@ U_BOOT_DRIVER(pinctrl_qca953x) = {
        .name           = "pinctrl_qca953x",
        .id             = UCLASS_PINCTRL,
        .of_match       = qca953x_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct qca953x_pinctrl_priv),
+       .priv_auto      = sizeof(struct qca953x_pinctrl_priv),
        .ops            = &qca953x_pinctrl_ops,
        .probe          = qca953x_pinctrl_probe,
 };
index 5f5f3f3622fba0779648423e47d0e87775ca618f..42e05b0e707e663bfd61e0c44dd8ec220ab27db0 100644 (file)
@@ -150,7 +150,7 @@ U_BOOT_DRIVER(pinctrl_bcm283x) = {
        .id             = UCLASS_PINCTRL,
        .of_match       = of_match_ptr(bcm2835_pinctrl_id),
        .ofdata_to_platdata = bcm283x_pinctl_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct bcm283x_pinctrl_priv),
+       .priv_auto      = sizeof(struct bcm283x_pinctrl_priv),
        .ops            = &bcm283x_pinctrl_ops,
        .probe          = bcm283x_pinctl_probe,
 #if CONFIG_IS_ENABLED(OF_BOARD)
index 6c8a990f57b057219eb71409298d2d915beb0fe8..58f28a137096798307c11e789bcb1c30fb5c09b0 100644 (file)
@@ -157,6 +157,6 @@ U_BOOT_DRIVER(bcm6838_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = bcm6838_pinctrl_match,
        .ops = &bcm6838_pinctrl_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6838_pinctrl_priv),
+       .priv_auto      = sizeof(struct bcm6838_pinctrl_priv),
        .probe = bcm6838_pinctrl_probe,
 };
index ff6d6c4143f571e439237c0371c71ae85b5e0c69..07870b7f51a5aec76691e048c36787a649c94db9 100644 (file)
@@ -110,7 +110,7 @@ U_BOOT_DRIVER(pinctrl_exynos7420) = {
        .name           = "pinctrl_exynos7420",
        .id             = UCLASS_PINCTRL,
        .of_match       = exynos7420_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct exynos_pinctrl_priv),
+       .priv_auto      = sizeof(struct exynos_pinctrl_priv),
        .ops            = &exynos7420_pinctrl_ops,
        .probe          = exynos_pinctrl_probe,
 };
index 727bacfd0439a0bb9c6996bcf68cf95ff00a7656..149d5119124f68b94a4f98ceb874c13c1fe2ca0d 100644 (file)
@@ -184,6 +184,6 @@ U_BOOT_DRIVER(intel_apl_pinctrl) = {
        .bind           = dm_scan_fdt_dev,
 #endif
        .ofdata_to_platdata = apl_pinctrl_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct intel_pinctrl_priv),
-       .platdata_auto_alloc_size = sizeof(struct apl_gpio_platdata),
+       .priv_auto      = sizeof(struct intel_pinctrl_priv),
+       .platdata_auto  = sizeof(struct apl_gpio_platdata),
 };
index 1aa323c009a16a13b2b05f6648e8f3764ccf4a67..b413a4c7e48b2e82bb167f5f5cb69062f0e70ee2 100644 (file)
@@ -748,7 +748,7 @@ U_BOOT_DRIVER(mt7622_pinctrl) = {
        .of_match = mt7622_pctrl_match,
        .ops = &mtk_pinctrl_ops,
        .probe = mtk_pinctrl_mt7622_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_pinctrl_priv),
+       .priv_auto      = sizeof(struct mtk_pinctrl_priv),
 };
 
 
index 0f5dcb2c63909dec2c2bcde8d086171d0eee4350..2e3ae34b8baf908147c261e092c4a2b5d6355ef3 100644 (file)
@@ -1411,5 +1411,5 @@ U_BOOT_DRIVER(mt7623_pinctrl) = {
        .of_match = mt7623_pctrl_match,
        .ops = &mtk_pinctrl_ops,
        .probe = mtk_pinctrl_mt7623_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_pinctrl_priv),
+       .priv_auto      = sizeof(struct mtk_pinctrl_priv),
 };
index 37640dd2b6d4981178620d5cbd791ab77087ae19..7ce64fde25faf472f9514bb37512d8c6bda74974 100644 (file)
@@ -407,5 +407,5 @@ U_BOOT_DRIVER(mt7629_pinctrl) = {
        .of_match = mt7629_pctrl_match,
        .ops = &mtk_pinctrl_ops,
        .probe = mtk_pinctrl_mt7629_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_pinctrl_priv),
+       .priv_auto      = sizeof(struct mtk_pinctrl_priv),
 };
index bf2a8dd90f06601937f0a908db2daaa77838fc45..3d9c0abe36b704247e08182cea7d8c9be1bb5dc0 100644 (file)
@@ -383,5 +383,5 @@ U_BOOT_DRIVER(mt8512_pinctrl) = {
        .of_match = mt8512_pctrl_match,
        .ops = &mtk_pinctrl_ops,
        .probe = mtk_pinctrl_mt8512_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_pinctrl_priv),
+       .priv_auto      = sizeof(struct mtk_pinctrl_priv),
 };
index 62e339e9310454174b7e10596d8e3e01a8b71d3c..6f94f762d98d41f7c8982bca544088adac08f369 100644 (file)
@@ -389,5 +389,5 @@ U_BOOT_DRIVER(mt8516_pinctrl) = {
        .of_match = mt8516_pctrl_match,
        .ops = &mtk_pinctrl_ops,
        .probe = mtk_pinctrl_mt8516_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_pinctrl_priv),
+       .priv_auto      = sizeof(struct mtk_pinctrl_priv),
 };
index 91427aed4b96699183c9368fa5c551fcfdace5ef..ed51bd3bbc03aaa3eb9f3ac514d1dff0872cb034 100644 (file)
@@ -409,5 +409,5 @@ U_BOOT_DRIVER(mt8518_pinctrl) = {
        .of_match = mt8518_pctrl_match,
        .ops = &mtk_pinctrl_ops,
        .probe = mtk_pinctrl_mt8518_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_pinctrl_priv),
+       .priv_auto      = sizeof(struct mtk_pinctrl_priv),
 };
index 11809b29f394fb0cd8c7448b5d12b76bb9628c3a..5d234bca3d44a2cf2aa8ff7f3026517c2420bb84 100644 (file)
@@ -975,6 +975,6 @@ U_BOOT_DRIVER(meson_axg_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(meson_axg_pinctrl_match),
        .probe = meson_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct meson_pinctrl),
+       .priv_auto      = sizeof(struct meson_pinctrl),
        .ops = &meson_axg_pinctrl_ops,
 };
index 115e8b5616d68d3c58fee0f6a7795013b17293bb..8bd265ad952ac13c7fb52ca9a1a9d28208802b3e 100644 (file)
@@ -1289,6 +1289,6 @@ U_BOOT_DRIVER(meson_axg_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(meson_g12a_pinctrl_match),
        .probe = meson_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct meson_pinctrl),
+       .priv_auto      = sizeof(struct meson_pinctrl),
        .ops = &meson_axg_pinctrl_ops,
 };
index 9e2e15116458c15049fb085752b6a9bee6fa364c..8c01c739068a2a52bcec6804437075d4d0810e40 100644 (file)
@@ -472,6 +472,6 @@ U_BOOT_DRIVER(meson_gxbb_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(meson_gxbb_pinctrl_match),
        .probe = meson_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct meson_pinctrl),
+       .priv_auto      = sizeof(struct meson_pinctrl),
        .ops = &meson_gx_pinctrl_ops,
 };
index 5acc21b9c2e695eca5ccb1f4a03c11d39dc50648..51a0b4c5cadf0d5303013854186be4109d98db6b 100644 (file)
@@ -734,6 +734,6 @@ U_BOOT_DRIVER(meson_gxl_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(meson_gxl_pinctrl_match),
        .probe = meson_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct meson_pinctrl),
+       .priv_auto      = sizeof(struct meson_pinctrl),
        .ops = &meson_gx_pinctrl_ops,
 };
index 6de7a416f0e16fb5d6105776e20d5fa1b333ce22..cb340581cc0f8758562c69161524caba9e21b35b 100644 (file)
@@ -318,6 +318,6 @@ U_BOOT_DRIVER(jr2_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(jr2_pinctrl_of_match),
        .probe = jr2_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct mscc_pinctrl),
+       .priv_auto      = sizeof(struct mscc_pinctrl),
        .ops = &mscc_pinctrl_ops,
 };
index 0adeef9ec6722e365c0daacb6a8f254d60bfb354..325c9a9705b252ec9d5d6e2af8e29861c2c65ace 100644 (file)
@@ -181,6 +181,6 @@ U_BOOT_DRIVER(luton_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(luton_pinctrl_of_match),
        .probe = luton_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct mscc_pinctrl),
+       .priv_auto      = sizeof(struct mscc_pinctrl),
        .ops = &mscc_pinctrl_ops,
 };
index 4df5eef1b101f0b1010f764b66c2a3d0bc4a00d6..57e2ef0d7c16da5928057b9de55571818a8d8632 100644 (file)
@@ -197,6 +197,6 @@ U_BOOT_DRIVER(ocelot_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(ocelot_pinctrl_of_match),
        .probe = ocelot_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct mscc_pinctrl),
+       .priv_auto      = sizeof(struct mscc_pinctrl),
        .ops = &mscc_pinctrl_ops,
 };
index 2cef5df3dc2edfb2950a97b011d10a9ca8e58708..a6b9796df81fc742e40c96bc0005a4d9bac38875 100644 (file)
@@ -228,6 +228,6 @@ U_BOOT_DRIVER(serval_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(serval_pinctrl_of_match),
        .probe = serval_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct mscc_pinctrl),
+       .priv_auto      = sizeof(struct mscc_pinctrl),
        .ops = &mscc_pinctrl_ops,
 };
index 37ce52ce7b8282afe269f827ae54273bb5ff981f..8e8678580db1dddf9421d6e6d4ca42ab726fb27b 100644 (file)
@@ -264,6 +264,6 @@ U_BOOT_DRIVER(servalt_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(servalt_pinctrl_of_match),
        .probe = servalt_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct mscc_pinctrl),
+       .priv_auto      = sizeof(struct mscc_pinctrl),
        .ops = &mscc_pinctrl_ops,
 };
index fc9d8b5ad10a892ed7dbae690c950154d7389396..8edab2f9950009b2db1ef049e978260d340b644f 100644 (file)
@@ -581,5 +581,5 @@ U_BOOT_DRIVER(mt7628_pinctrl) = {
        .ofdata_to_platdata = mt7628_pinctrl_ofdata_to_platdata,
        .ops = &mt7628_pinctrl_ops,
        .probe = mt7628_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct mt7628_pinctrl_priv),
+       .priv_auto      = sizeof(struct mt7628_pinctrl_priv),
 };
index 17d7603ebdb04bc7a32497c2e4a501ae5c3ff5da..4797d3250f91f02d9da9eef2f546b7d7da1f7825 100644 (file)
@@ -643,6 +643,6 @@ U_BOOT_DRIVER(armada_37xx_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(armada_37xx_pinctrl_of_match),
        .probe = armada_37xx_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct armada_37xx_pinctrl),
+       .priv_auto      = sizeof(struct armada_37xx_pinctrl),
        .ops = &armada_37xx_pinctrl_ops,
 };
index 146f5c6e426c17de2b149b0cce13b7bb9ccce120..5ced4fea88851b3be3fdca190797ffce0f825adf 100644 (file)
@@ -229,7 +229,7 @@ U_BOOT_DRIVER(pinctrl_mvebu) = {
        .name           = "mvebu_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = mvebu_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct mvebu_pinctrl_priv),
+       .priv_auto      = sizeof(struct mvebu_pinctrl_priv),
        .ops            = &mvebu_pinctrl_ops,
        .probe          = mvebu_pinctl_probe
 };
index 96a2ed38a056eb88cf62cd3f9152344e7f198a9f..adc687a3b57ae757d70f721b1902d1da720b6f36 100644 (file)
@@ -213,7 +213,7 @@ U_BOOT_DRIVER(pinctrl_s5pxx18) = {
        .name           = "pinctrl_s5pxx18",
        .id             = UCLASS_PINCTRL,
        .of_match       = s5pxx18_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct nexell_pinctrl_priv),
+       .priv_auto      = sizeof(struct nexell_pinctrl_priv),
        .ops            = &s5pxx18_pinctrl_ops,
        .probe          = nexell_pinctrl_probe,
        .flags          = DM_FLAG_PRE_RELOC
index 9c3423bef37bfd73f67e13c05586d6d848ebc698..71e0c94c96e31812b9488724e4ff394fa0ea41fe 100644 (file)
@@ -38,7 +38,7 @@ U_BOOT_DRIVER(imx5_pinctrl) = {
        .of_match = of_match_ptr(imx5_pinctrl_match),
        .probe = imx5_pinctrl_probe,
        .remove = imx_pinctrl_remove,
-       .priv_auto_alloc_size = sizeof(struct imx_pinctrl_priv),
+       .priv_auto      = sizeof(struct imx_pinctrl_priv),
        .ops = &imx_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 84004e59212756ee31452ee4ff61cfdea3ffa752..3cb0bf3b5afaeb9f8d2c84fae4875d004f75a5ea 100644 (file)
@@ -47,7 +47,7 @@ U_BOOT_DRIVER(fsl_imx6q_iomuxc) = {
        .of_match = of_match_ptr(imx6_pinctrl_match),
        .probe = imx6_pinctrl_probe,
        .remove = imx_pinctrl_remove,
-       .priv_auto_alloc_size = sizeof(struct imx_pinctrl_priv),
+       .priv_auto      = sizeof(struct imx_pinctrl_priv),
        .ops = &imx_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 66b58ba472cada4680f8986e94b74d82138b0f72..8301413ac7edfa07ec2117d77a47dc15bbe3a595 100644 (file)
@@ -35,7 +35,7 @@ U_BOOT_DRIVER(imx7_pinctrl) = {
        .of_match = of_match_ptr(imx7_pinctrl_match),
        .probe = imx7_pinctrl_probe,
        .remove = imx_pinctrl_remove,
-       .priv_auto_alloc_size = sizeof(struct imx_pinctrl_priv),
+       .priv_auto      = sizeof(struct imx_pinctrl_priv),
        .ops = &imx_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 598bbfaf3505f8d3182c6d8467e5b758aa4be9f1..da0f6c9ba0e5af5ced7ccf0e8bcfca3c95a75087 100644 (file)
@@ -39,7 +39,7 @@ U_BOOT_DRIVER(imx7ulp_pinctrl) = {
        .of_match = of_match_ptr(imx7ulp_pinctrl_match),
        .probe = imx7ulp_pinctrl_probe,
        .remove = imx_pinctrl_remove,
-       .priv_auto_alloc_size = sizeof(struct imx_pinctrl_priv),
+       .priv_auto      = sizeof(struct imx_pinctrl_priv),
        .ops = &imx_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index c1b0ca438aa6a12b7b950ad8fef49a8141f24d50..2e5db2c6c2febb6b7d1a712c5eff2ef622723ab7 100644 (file)
@@ -35,7 +35,7 @@ U_BOOT_DRIVER(imx8_pinctrl) = {
        .of_match = of_match_ptr(imx8_pinctrl_match),
        .probe = imx8_pinctrl_probe,
        .remove = imx_pinctrl_remove,
-       .priv_auto_alloc_size = sizeof(struct imx_pinctrl_priv),
+       .priv_auto      = sizeof(struct imx_pinctrl_priv),
        .ops = &imx_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 0626fde58f1a8f157c22a9c22ade6687c7ca43a9..99c6d014d6cd8af8f701413ebdce41a798cc4ed2 100644 (file)
@@ -32,7 +32,7 @@ U_BOOT_DRIVER(imx8mq_pinctrl) = {
        .of_match = of_match_ptr(imx8m_pinctrl_match),
        .probe = imx8mq_pinctrl_probe,
        .remove = imx_pinctrl_remove,
-       .priv_auto_alloc_size = sizeof(struct imx_pinctrl_priv),
+       .priv_auto      = sizeof(struct imx_pinctrl_priv),
        .ops = &imx_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index 4a9394192754ec0e1a82f2d2d2541af50dd9804d..53b70da869ecea1f777b60109d2418b9c63d4a1c 100644 (file)
@@ -34,7 +34,7 @@ U_BOOT_DRIVER(imxrt_pinctrl) = {
        .of_match = of_match_ptr(imxrt_pinctrl_match),
        .probe = imxrt_pinctrl_probe,
        .remove = imx_pinctrl_remove,
-       .priv_auto_alloc_size = sizeof(struct imx_pinctrl_priv),
+       .priv_auto      = sizeof(struct imx_pinctrl_priv),
        .ops = &imx_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index db463fc04b96e4b5745b8f3d5c3c8bf1199f1fb3..5ada2ac4052562b628e2635c6e103ff76b9aa371 100644 (file)
@@ -188,7 +188,7 @@ U_BOOT_DRIVER(fsl_imx23_pinctrl) = {
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
 #endif
-       .priv_auto_alloc_size = sizeof(struct mxs_pinctrl_priv),
+       .priv_auto      = sizeof(struct mxs_pinctrl_priv),
        .ops = &mxs_pinctrl_ops,
 };
 
index e795b5fd8ac2838b4abb6278b3b880b271f24756..14e2e9d3ee61c2a1a082b222523868330d14876e 100644 (file)
@@ -34,7 +34,7 @@ U_BOOT_DRIVER(vf610_pinctrl) = {
        .of_match = of_match_ptr(vf610_pinctrl_match),
        .probe = vf610_pinctrl_probe,
        .remove = imx_pinctrl_remove,
-       .priv_auto_alloc_size = sizeof(struct imx_pinctrl_priv),
+       .priv_auto      = sizeof(struct imx_pinctrl_priv),
        .ops = &imx_pinctrl_ops,
        .flags = DM_FLAG_PRE_RELOC,
 };
index bf85cc916a796dc92eb421115b328cb90f9cae86..afd440729e283f9bca7e258fa5fcaf107bace3fa 100644 (file)
@@ -178,6 +178,6 @@ U_BOOT_DRIVER(atmel_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = atmel_pinctrl_match,
        .probe = atmel_pinctrl_probe,
-       .platdata_auto_alloc_size = sizeof(struct atmel_pio4_platdata),
+       .platdata_auto  = sizeof(struct atmel_pio4_platdata),
        .ops = &atmel_pinctrl_ops,
 };
index cd7b32ce346034769c6f1d2549bc3d94e009e803..74bfd3c3dcab930f7b8c422f21ed1bfac92f44d7 100644 (file)
@@ -524,7 +524,7 @@ U_BOOT_DRIVER(atmel_sama5d3_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = at91_pinctrl_match,
        .probe = at91_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct at91_pinctrl_priv),
+       .priv_auto      = sizeof(struct at91_pinctrl_priv),
        .ops = &at91_pinctrl_ops,
 };
 
index 04162016ccd7abbcb5e44afd322e93eebbe9f57e..09d51ca676953ace0911486b219a2e4a7223e3d5 100644 (file)
@@ -735,6 +735,6 @@ U_BOOT_DRIVER(pinctrl_k210) = {
        .id = UCLASS_PINCTRL,
        .of_match = k210_pc_ids,
        .probe = k210_pc_probe,
-       .priv_auto_alloc_size = sizeof(struct k210_pc_priv),
+       .priv_auto      = sizeof(struct k210_pc_priv),
        .ops = &k210_pc_pinctrl_ops,
 };
index 85521eabd409f4ef8e6cfb8f5d6b62fd403b3c8c..e598797b7211ccca017e340bf935dfb31ea210e9 100644 (file)
@@ -246,7 +246,7 @@ U_BOOT_DRIVER(par_io_pinctrl) = {
        .of_match = of_match_ptr(par_io_pinctrl_match),
        .probe = par_io_pinctrl_probe,
        .ofdata_to_platdata = qe_io_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct qe_io_platdata),
+       .platdata_auto  = sizeof(struct qe_io_platdata),
        .ops = &par_io_pinctrl_ops,
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .flags  = DM_FLAG_PRE_RELOC,
index d27f74248d0f89ccb3cc30ae6f9c179c0827e7a1..776597745099745988347caa32720dca36b57798 100644 (file)
@@ -296,6 +296,6 @@ U_BOOT_DRIVER(sandbox_pinctrl) = {
        .name = "sandbox_pinctrl",
        .id = UCLASS_PINCTRL,
        .of_match = sandbox_pinctrl_match,
-       .priv_auto_alloc_size = sizeof(struct sandbox_pinctrl_priv),
+       .priv_auto      = sizeof(struct sandbox_pinctrl_priv),
        .ops = &sandbox_pinctrl_ops,
 };
index 738f5bd63643152656d427385e0017344c8ca0a1..934be931668e4087aadda9ccbae071355a5ac373 100644 (file)
@@ -191,6 +191,6 @@ U_BOOT_DRIVER(single_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = single_pinctrl_match,
        .ops = &single_pinctrl_ops,
-       .platdata_auto_alloc_size = sizeof(struct single_pdata),
+       .platdata_auto  = sizeof(struct single_pdata),
        .ofdata_to_platdata = single_ofdata_to_platdata,
 };
index 8e942a8280239b5aafb2c57eeb2eace9a3c0cd29..c147863547d7ab39d8b35a1b01676b601382953b 100644 (file)
@@ -316,6 +316,6 @@ U_BOOT_DRIVER(pinctrl_sti) = {
        .of_match = sti_pinctrl_ids,
        .ops = &sti_pinctrl_ops,
        .probe = sti_pinctrl_probe,
-       .platdata_auto_alloc_size = sizeof(struct sti_pinctrl_platdata),
+       .platdata_auto  = sizeof(struct sti_pinctrl_platdata),
        .ops = &sti_pinctrl_ops,
 };
index a62be44d2d8c9ebb96994f225657f60c949152e9..e3df0bef01eef4cf8aecdb61c2bea41988b3419f 100644 (file)
@@ -446,7 +446,7 @@ U_BOOT_DRIVER(stmfx_pinctrl) = {
        .bind = stmfx_pinctrl_bind,
        .probe = stmfx_pinctrl_probe,
        .ops = &stmfx_pinctrl_ops,
-       .platdata_auto_alloc_size = sizeof(struct stmfx_pinctrl),
+       .platdata_auto  = sizeof(struct stmfx_pinctrl),
 };
 
 static int stmfx_chip_init(struct udevice *dev)
index 899c279975a677f10e4fa5e1f16c5d7d2e09f176..a19758d59d78851c01c71199ff00b680cbdcd5a8 100644 (file)
@@ -381,5 +381,5 @@ U_BOOT_DRIVER(pinctrl_pic32) = {
        .ops            = &pic32_pinctrl_ops,
        .probe          = pic32_pinctrl_probe,
        .bind           = dm_scan_fdt_dev,
-       .priv_auto_alloc_size = sizeof(struct pic32_pinctrl_priv),
+       .priv_auto      = sizeof(struct pic32_pinctrl_priv),
 };
index 262b2c3d7e5f1803635b7e7cb9ab10a264d7447b..591cd1a0ecce6253515b5dc10cb998ca90f4dd76 100644 (file)
@@ -500,5 +500,5 @@ U_BOOT_DRIVER(pinctrl_stm32) = {
        .ops                    = &stm32_pinctrl_ops,
        .bind                   = stm32_pinctrl_bind,
        .probe                  = stm32_pinctrl_probe,
-       .priv_auto_alloc_size   = sizeof(struct stm32_pinctrl_priv),
+       .priv_auto      = sizeof(struct stm32_pinctrl_priv),
 };
index 9d7814a5f25dc2608c4f5d08b057c039ae93d4f7..c3e6a24de35d6930e03abebaef04e831f24fa3d8 100644 (file)
@@ -142,6 +142,6 @@ U_BOOT_DRIVER(r7s72100_pfc) = {
        .id             = UCLASS_PINCTRL,
        .of_match       = r7s72100_pfc_match,
        .probe          = r7s72100_pfc_probe,
-       .platdata_auto_alloc_size = sizeof(struct r7s72100_pfc_platdata),
+       .platdata_auto  = sizeof(struct r7s72100_pfc_platdata),
        .ops            = &r7s72100_pfc_ops,
 };
index fb811a95bc24f7e293b5df159cbb85f1fa2cfa98..8bb7e16f94405e32224ef6d91130804d8bb4152f 100644 (file)
@@ -990,7 +990,7 @@ U_BOOT_DRIVER(pinctrl_sh_pfc) = {
        .name           = "sh_pfc_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = sh_pfc_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct sh_pfc_pinctrl_priv),
+       .priv_auto      = sizeof(struct sh_pfc_pinctrl_priv),
        .ops            = &sh_pfc_pinctrl_ops,
        .probe          = sh_pfc_pinctrl_probe,
 };
index 617721a6264cb48d1b5e3f3608ac565abeb33d9c..6058d0f4c13f4455d963c16aa27da03381f7514a 100644 (file)
@@ -361,7 +361,7 @@ U_BOOT_DRIVER(pinctrl_px30) = {
        .name           = "rockchip_px30_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = px30_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index d49e3007cea25109ecdbc783e0a5ce1c6510d520..9ccee465b0f38be8374a94dfcce95d3f41abf9d3 100644 (file)
@@ -101,7 +101,7 @@ U_BOOT_DRIVER(pinctrl_rockchip) = {
        .name           = "rk3036-pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3036_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index a175d6c07f1f31ee4d8ffad05d75163a0922395e..85c2e611b6b21f1a09fceffbadacd930c8b6f656 100644 (file)
@@ -203,7 +203,7 @@ U_BOOT_DRIVER(pinctrl_rk3128) = {
        .name           = "pinctrl_rk3128",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3128_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index 8f197110e5e4b300078367aed6438a3bbfc39fe9..06d53e22d27d649c3588fdd2ed6e6350325ceb65 100644 (file)
@@ -124,7 +124,7 @@ U_BOOT_DRIVER(rockchip_rk3188_pinctrl) = {
        .name           = "rockchip_rk3188_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3188_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index 85bc0ef0f31748471707d2073dbcbb975847fc0f..fe386933c585670288c8998e8b803dad9f8d8b74 100644 (file)
@@ -290,7 +290,7 @@ U_BOOT_DRIVER(pinctrl_rk3228) = {
        .name           = "rockchip_rk3228_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3228_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index 011ca286ec9e6363c0c02e2cf1e85a36773ca368..fc2810248ba1f50ab3055cba162a0bddd3569312 100644 (file)
@@ -246,7 +246,7 @@ U_BOOT_DRIVER(rockchip_rk3288_pinctrl) = {
        .name           = "rockchip_rk3288_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3288_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index db2b10a6906adfb786271b1f5d947fbf91fba650..a9b87b745718a2719e83a82a3fe161af066658ae 100644 (file)
@@ -457,7 +457,7 @@ U_BOOT_DRIVER(pinctrl_rk3308) = {
        .name           = "rockchip_rk3308_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3308_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index 61eb9e0af0c9b5cf2675ec211326aadb1badaf6e..aa8bd76d6fb5496f33d3729f3c34120124819f2f 100644 (file)
@@ -321,7 +321,7 @@ U_BOOT_DRIVER(rockchip_rk3328_pinctrl) = {
        .name           = "rockchip_rk3328_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3328_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index d8ccd4de576118337109c24df3a5963d8e2b392f..18d3e3a9b5c55b6fa69188398505e4bfbe2fc9d5 100644 (file)
@@ -175,7 +175,7 @@ U_BOOT_DRIVER(rockchip_rk3368_pinctrl) = {
        .name           = "rockchip_rk3368_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3368_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index d04c1afb090a8dc6db6c1e1d4fcae179e6864e61..0c1adc379465f9679244739251015883580036b2 100644 (file)
@@ -315,7 +315,7 @@ U_BOOT_DRIVER(pinctrl_rk3399) = {
        .name           = "rockchip_rk3399_pinctrl",
        .id             = UCLASS_PINCTRL,
        .of_match       = rk3399_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index 22334329ed4cc60cbad952f35fa36bd0be7e2a60..d35425b5fa2a69c287670fa3c897deee1e1afaa4 100644 (file)
@@ -289,7 +289,7 @@ U_BOOT_DRIVER(pinctrl_rv1108) = {
        .name           = "pinctrl_rv1108",
        .id             = UCLASS_PINCTRL,
        .of_match       = rv1108_pinctrl_ids,
-       .priv_auto_alloc_size = sizeof(struct rockchip_pinctrl_priv),
+       .priv_auto      = sizeof(struct rockchip_pinctrl_priv),
        .ops            = &rockchip_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .bind           = dm_scan_fdt_dev,
index 5efaa2f66b0395dab4ca4ee449e4b90a8c83f940..a1a3cd73859a39354fbb2f4ec93a9d4f6a1611b7 100644 (file)
@@ -119,6 +119,6 @@ U_BOOT_DRIVER(uniphier_ld11_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_ld11_pinctrl_match),
        .probe = uniphier_ld11_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 };
index d3c5833c993ae8e8a2bf52a484c53300b307ae40..7a92a46c17f5888b8d701e8683559c20484974e5 100644 (file)
@@ -152,6 +152,6 @@ U_BOOT_DRIVER(uniphier_ld20_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_ld20_pinctrl_match),
        .probe = uniphier_ld20_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 };
index bf1a9e9e98995edc603470632fed1d2d0e606fc5..d33e4d7dd259d9a50a6a2a3615306862d07e6662 100644 (file)
@@ -142,6 +142,6 @@ U_BOOT_DRIVER(uniphier_ld4_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_ld4_pinctrl_match),
        .probe = uniphier_ld4_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 };
index f22c046804a0fa16f6f712c2534accc763f8f810..0e3eb131ecf799ac30914a30e25e5c61ee434baf 100644 (file)
@@ -153,6 +153,6 @@ U_BOOT_DRIVER(uniphier_ld6b_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_ld6b_pinctrl_match),
        .probe = uniphier_ld6b_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 };
index 8bae163a8e9be45ab9902f37514d3060e9baa973..7ba2266092f0b99f85ce8025f9e62faa80bfd0b2 100644 (file)
@@ -177,7 +177,7 @@ U_BOOT_DRIVER(uniphier_pro4_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_pro4_pinctrl_match),
        .probe = uniphier_pro4_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
        .flags = DM_FLAG_PRE_RELOC,
index 1f4931bcf0da4381e612f778a9b90ed142f916ac..9ce2e2c270ef954d6aa81ff7c4e31df820a24823 100644 (file)
@@ -163,7 +163,7 @@ U_BOOT_DRIVER(uniphier_pro5_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_pro5_pinctrl_match),
        .probe = uniphier_pro5_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
        .flags = DM_FLAG_PRE_RELOC,
index 038a7dd7be06df047d8daec0dc94495d2f80fde3..e8c2018097c2691cc6ad900d36a6a289e75f5ae0 100644 (file)
@@ -157,6 +157,6 @@ U_BOOT_DRIVER(uniphier_pxs2_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_pxs2_pinctrl_match),
        .probe = uniphier_pxs2_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 };
index 452d76d721d490b90fd7191a8265b99c29c6e7c7..1fc7bdb5c80e35b77e5d133b02150a0549e617f2 100644 (file)
@@ -144,6 +144,6 @@ U_BOOT_DRIVER(uniphier_pxs3_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_pxs3_pinctrl_match),
        .probe = uniphier_pxs3_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 };
index 1e38ba16f9301c5dfdc6ea86ddcc2cd38c7a6fe1..04c06fb280e269786bf98532e28e099bb8ab6cd7 100644 (file)
@@ -139,6 +139,6 @@ U_BOOT_DRIVER(uniphier_sld8_pinctrl) = {
        .id = UCLASS_PINCTRL,
        .of_match = of_match_ptr(uniphier_sld8_pinctrl_match),
        .probe = uniphier_sld8_pinctrl_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_pinctrl_priv),
+       .priv_auto      = sizeof(struct uniphier_pinctrl_priv),
        .ops = &uniphier_pinctrl_ops,
 };
index 828963d8a09af53f6512a3e53f4ab9aa848cd63f..7eeecc0523d8770693eaebb7e3dab42e4116f628 100644 (file)
@@ -231,5 +231,5 @@ int pmc_ofdata_to_uc_platdata(struct udevice *dev)
 UCLASS_DRIVER(acpi_pmc) = {
        .id             = UCLASS_ACPI_PMC,
        .name           = "power-mgr",
-       .per_device_auto_alloc_size     = sizeof(struct acpi_pmc_upriv),
+       .per_device_auto        = sizeof(struct acpi_pmc_upriv),
 };
index 5ed6fcca262abeb6e6af473ba8a82913a5f27ead..687243087232cf1d9e166bc93bf4c07ef853b1c5 100644 (file)
@@ -235,8 +235,8 @@ U_BOOT_DRIVER(sandbox_pmc_emul_emul) = {
        .of_match       = sandbox_pmc_emul_ids,
        .ops            = &sandbox_pmc_emul_emul_ops,
        .probe          = sandbox_pmc_probe,
-       .priv_auto_alloc_size = sizeof(struct pmc_emul_priv),
-       .platdata_auto_alloc_size = sizeof(struct pmc_emul_platdata),
+       .priv_auto      = sizeof(struct pmc_emul_priv),
+       .platdata_auto  = sizeof(struct pmc_emul_platdata),
 };
 
 static struct pci_device_id sandbox_pmc_emul_supported[] = {
index 48a6c663bd2f76f2979f1dfa9c2ee814ef1d289b..6cb7af10c20b12e58c1e099edc26338575a9bf48 100644 (file)
@@ -94,5 +94,5 @@ U_BOOT_DRIVER(pmc_sandbox) = {
        .of_match = sandbox_pmc_ids,
        .probe = sandbox_pmc_probe,
        .ops = &sandbox_pmc_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_pmc_priv),
+       .priv_auto      = sizeof(struct sandbox_pmc_priv),
 };
index a494bfa8c9de71b6ae5f8654ee9d9d046eaddab2..6e720e0798c31d277c23c7577e025395388f49ef 100644 (file)
@@ -75,6 +75,6 @@ U_BOOT_DRIVER(bcm6328_power_domain) = {
        .id = UCLASS_POWER_DOMAIN,
        .of_match = bcm6328_power_domain_ids,
        .ops = &bcm6328_power_domain_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6328_power_domain),
+       .priv_auto      = sizeof(struct bcm6328_power_domain),
        .probe = bcm6328_power_domain_probe,
 };
index 889b65a47ff86af2b97e6d699f2bf52812424845..33dd4cc2f967da1f6aff37dfd41f710e1ef9dd54 100644 (file)
@@ -377,8 +377,8 @@ U_BOOT_DRIVER(imx8_power_domain) = {
        .bind = imx8_power_domain_bind,
        .probe = imx8_power_domain_probe,
        .ofdata_to_platdata = imx8_power_domain_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct imx8_power_domain_platdata),
-       .priv_auto_alloc_size = sizeof(struct imx8_power_domain_priv),
+       .platdata_auto  = sizeof(struct imx8_power_domain_platdata),
+       .priv_auto      = sizeof(struct imx8_power_domain_priv),
        .ops = &imx8_power_domain_ops,
        .flags  = DM_FLAG_DEFAULT_PD_CTRL_OFF,
 };
index 0ef460df8c2d97911aacd7b184ee3b991f95cffc..3736019c221e1e569db080ac47d4fe4e3dd26529 100644 (file)
@@ -137,6 +137,6 @@ U_BOOT_DRIVER(imx8m_power_domain) = {
        .bind = imx8m_power_domain_bind,
        .probe = imx8m_power_domain_probe,
        .ofdata_to_platdata = imx8m_power_domain_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct imx8m_power_domain_platdata),
+       .platdata_auto  = sizeof(struct imx8m_power_domain_platdata),
        .ops = &imx8m_power_domain_ops,
 };
index 8349a9c15822e70cce7c9bf7c0cd71594aa4db63..2e7ab671286f298e98f24b6ebe4ec50dc68545a0 100644 (file)
@@ -431,5 +431,5 @@ U_BOOT_DRIVER(meson_ee_pwrc) = {
        .of_match = meson_ee_pwrc_ids,
        .probe = meson_ee_pwrc_probe,
        .ops = &meson_ee_pwrc_ops,
-       .priv_auto_alloc_size = sizeof(struct meson_ee_pwrc_priv),
+       .priv_auto      = sizeof(struct meson_ee_pwrc_priv),
 };
index a41b230448fca23af2b198050c0fb1d26cda29dd..40947c66f3113ccc58d37f0d6b31833d3f9baa12 100644 (file)
@@ -334,5 +334,5 @@ U_BOOT_DRIVER(meson_gx_pwrc_vpu) = {
        .of_match = meson_gx_pwrc_vpu_ids,
        .probe = meson_gx_pwrc_vpu_probe,
        .ops = &meson_gx_pwrc_vpu_ops,
-       .priv_auto_alloc_size = sizeof(struct meson_gx_pwrc_vpu_priv),
+       .priv_auto      = sizeof(struct meson_gx_pwrc_vpu_priv),
 };
index fae4749012bdc03f907accfd5e3e093378e078ef..ca2ded00efa2500b17cec062edc0c5e772f4f998 100644 (file)
@@ -411,5 +411,5 @@ U_BOOT_DRIVER(mtk_power_domain) = {
        .ops = &mtk_power_domain_ops,
        .probe = mtk_power_domain_probe,
        .of_match = mtk_power_domain_ids,
-       .priv_auto_alloc_size = sizeof(struct scp_domain),
+       .priv_auto      = sizeof(struct scp_domain),
 };
index 2191a9414694f31b53ece4877c52ed9dc78ab54d..1bf52f1d861c1b12b505563d2eff7e25f6dc00d4 100644 (file)
@@ -51,5 +51,5 @@ U_BOOT_DRIVER(sandbox_power_domain_test) = {
        .name = "sandbox_power_domain_test",
        .id = UCLASS_MISC,
        .of_match = sandbox_power_domain_test_ids,
-       .priv_auto_alloc_size = sizeof(struct sandbox_power_domain_test),
+       .priv_auto      = sizeof(struct sandbox_power_domain_test),
 };
index 4d9a2006e6601e1c1e2a358a360c59f849685189..04a071044f3b5f6d01ab5c35eb1dc726a5a6eee1 100644 (file)
@@ -88,7 +88,7 @@ U_BOOT_DRIVER(sandbox_power_domain) = {
        .of_match = sandbox_power_domain_ids,
        .bind = sandbox_power_domain_bind,
        .probe = sandbox_power_domain_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_power_domain),
+       .priv_auto      = sizeof(struct sandbox_power_domain),
        .ops = &sandbox_power_domain_ops,
 };
 
index 7ee121dfb26bae43a0ddcc746aeb6f72bd40440e..f18e45617a116e6d13756e93032d86753b25d8a1 100644 (file)
@@ -135,6 +135,6 @@ U_BOOT_DRIVER(ti_sci_pm_domains) = {
        .id = UCLASS_POWER_DOMAIN,
        .of_match = ti_sci_power_domain_of_match,
        .probe = ti_sci_power_domain_probe,
-       .priv_auto_alloc_size = sizeof(struct ti_sci_power_domain_data),
+       .priv_auto      = sizeof(struct ti_sci_power_domain_data),
        .ops = &ti_sci_power_domain_ops,
 };
index 404fe008fe6b9161c93056b6234324257b2c19a3..633ad15b646f2fb663ff3417a57c87074020e2ab 100644 (file)
@@ -161,6 +161,6 @@ U_BOOT_DRIVER(sandbox_i2c_pmic_emul) = {
        .of_match       = sandbox_i2c_pmic_ids,
        .ofdata_to_platdata = sandbox_i2c_pmic_ofdata_to_platdata,
        .probe          = sandbox_i2c_pmic_probe,
-       .platdata_auto_alloc_size = sizeof(struct sandbox_i2c_pmic_plat_data),
+       .platdata_auto  = sizeof(struct sandbox_i2c_pmic_plat_data),
        .ops            = &sandbox_i2c_pmic_emul_ops,
 };
index ddc30604cff86d6d95e5051fa46fb289c4f0bbe1..5f4386d4adfc0829fdac53f51ce83802623e6974 100644 (file)
@@ -82,5 +82,5 @@ U_BOOT_DRIVER(pmic_pm8916) = {
        .bind = dm_scan_fdt_dev,
        .probe = pm8916_probe,
        .ops = &pm8916_ops,
-       .priv_auto_alloc_size = sizeof(struct pm8916_priv),
+       .priv_auto      = sizeof(struct pm8916_priv),
 };
index 7770171917d7513e73fc1b8e9d03fda96910f663..79166b8bbcdd653eb63acf20f6023f6e87af4af8 100644 (file)
@@ -196,5 +196,5 @@ UCLASS_DRIVER(pmic) = {
        .id             = UCLASS_PMIC,
        .name           = "pmic",
        .pre_probe      = pmic_pre_probe,
-       .per_device_auto_alloc_size = sizeof(struct uc_pmic_priv),
+       .per_device_auto        = sizeof(struct uc_pmic_priv),
 };
index 148ee29cca0043c5d0de93eaaf398e9844611537..2f547a314d90b19bf56898c52f97f140b1f961c7 100644 (file)
@@ -190,7 +190,7 @@ U_BOOT_DRIVER(rockchip_rk805) = {
 #if CONFIG_IS_ENABLED(PMIC_CHILDREN)
        .bind = rk8xx_bind,
 #endif
-       .priv_auto_alloc_size   = sizeof(struct rk8xx_priv),
+       .priv_auto        = sizeof(struct rk8xx_priv),
        .probe = rk8xx_probe,
        .ops = &rk8xx_ops,
 };
index 931d753e34453e44f38e455100fd34bb1b9113fb..ba32f5919023ef4b6f338629c0997854c5c3c2b9 100644 (file)
@@ -466,5 +466,5 @@ U_BOOT_DRIVER(bd71837_regulator) = {
        .id = UCLASS_REGULATOR,
        .ops = &bd71837_regulator_ops,
        .probe = bd71837_regulator_probe,
-       .platdata_auto_alloc_size = sizeof(struct bd71837_platdata),
+       .platdata_auto  = sizeof(struct bd71837_platdata),
 };
index 5055e39cb79708498bc18efca5b62f812a9664ef..4ff7f39677179c4638324972c28bdf46037e6352 100644 (file)
@@ -366,7 +366,7 @@ U_BOOT_DRIVER(da9063_ldo) = {
        .id = UCLASS_REGULATOR,
        .ops = &da9063_ldo_ops,
        .probe = da9063_ldo_probe,
-       .priv_auto_alloc_size = sizeof(struct da9063_priv),
+       .priv_auto      = sizeof(struct da9063_priv),
 };
 
 static const struct dm_regulator_ops da9063_buck_ops = {
@@ -385,5 +385,5 @@ U_BOOT_DRIVER(da9063_buck) = {
        .id = UCLASS_REGULATOR,
        .ops = &da9063_buck_ops,
        .probe = da9063_buck_probe,
-       .priv_auto_alloc_size = sizeof(struct da9063_priv),
+       .priv_auto      = sizeof(struct da9063_priv),
 };
index b407f555fe3dd9e6b88da0aefa12df9ef5d647a9..70aeef710b4e6e365b080d50eb99f3c33250ec12 100644 (file)
@@ -239,7 +239,7 @@ U_BOOT_DRIVER(fan53555_regulator) = {
        .id = UCLASS_REGULATOR,
        .ops = &fan53555_regulator_ops,
        .ofdata_to_platdata = fan53555_regulator_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct fan53555_platdata),
-       .priv_auto_alloc_size = sizeof(struct fan53555_priv),
+       .platdata_auto  = sizeof(struct fan53555_platdata),
+       .priv_auto      = sizeof(struct fan53555_priv),
        .probe = fan53555_probe,
 };
index 2fa6c7e6b290fabff05cd0b234adc0e3ade00e63..d887c87ed8c163c6869d5fd1004b247245bd6fbe 100644 (file)
@@ -89,5 +89,5 @@ U_BOOT_DRIVER(regulator_fixed) = {
        .ops = &fixed_regulator_ops,
        .of_match = fixed_regulator_ids,
        .ofdata_to_platdata = fixed_regulator_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct regulator_common_platdata),
+       .platdata_auto  = sizeof(struct regulator_common_platdata),
 };
index 28c9e222e2bca1e1b52c9275681cfec1586a14d9..d5998f1d2a2fd3191abab5467e085383bd0fbb9b 100644 (file)
@@ -155,5 +155,5 @@ U_BOOT_DRIVER(gpio_regulator) = {
        .ops = &gpio_regulator_ops,
        .of_match = gpio_regulator_ids,
        .ofdata_to_platdata = gpio_regulator_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct gpio_regulator_platdata),
+       .platdata_auto  = sizeof(struct gpio_regulator_platdata),
 };
index 28a9a1470b11df5a30a9a6af1ff06ff5a53eca48..dc944c9c1d91c95f92bd318b3d0d27f62d9d3774 100644 (file)
@@ -130,7 +130,7 @@ U_BOOT_DRIVER(pbias_pmic) = {
        .bind = pbias_bind,
        .ops = &pbias_ops,
        .ofdata_to_platdata = pbias_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct pbias_priv),
+       .priv_auto      = sizeof(struct pbias_priv),
 };
 
 static const struct pbias_reg_info pbias_mmc_omap2430 = {
index b56843046f273691956eb60e38fcce9339c01d7f..8dc517fe410eacc0bef1df4294e9a742695ef7f8 100644 (file)
@@ -572,5 +572,5 @@ U_BOOT_DRIVER(pfuze100_regulator) = {
        .id = UCLASS_REGULATOR,
        .ops = &pfuze100_regulator_ops,
        .probe = pfuze100_regulator_probe,
-       .platdata_auto_alloc_size = sizeof(struct pfuze100_regulator_platdata),
+       .platdata_auto  = sizeof(struct pfuze100_regulator_platdata),
 };
index f8706227058fec66b2eecdf058d73ac3d8a407e9..ebd09e778c737e1b077054f21f96941552e57b33 100644 (file)
@@ -155,5 +155,5 @@ U_BOOT_DRIVER(pwm_regulator) = {
        .probe = pwm_regulator_probe,
        .of_match = pwm_regulator_ids,
        .ofdata_to_platdata     = pwm_regulator_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct pwm_regulator_info),
+       .priv_auto      = sizeof(struct pwm_regulator_info),
 };
index da679a572c23b0d1002c6aa87c371595dbe0e7ab..6192406f6a2149b3e0bcd2b85175dcb723be31c4 100644 (file)
@@ -500,6 +500,6 @@ UCLASS_DRIVER(regulator) = {
        .name           = "regulator",
        .post_bind      = regulator_post_bind,
        .pre_probe      = regulator_pre_probe,
-       .per_device_platdata_auto_alloc_size =
+       .per_device_platdata_auto       =
                                sizeof(struct dm_regulator_uclass_platdata),
 };
index 92136961c2ed0bd75e53238089f742f724e1a182..c2c5770fa57a900262d337d11e23ed4c82511119 100644 (file)
@@ -165,5 +165,5 @@ U_BOOT_DRIVER(stm32_vrefbuf) = {
        .of_match = stm32_vrefbuf_ids,
        .probe = stm32_vrefbuf_probe,
        .ops = &stm32_vrefbuf_ops,
-       .priv_auto_alloc_size = sizeof(struct stm32_vrefbuf),
+       .priv_auto      = sizeof(struct stm32_vrefbuf),
 };
index ce54495490d179513d8e1d925e55d6df7ff3f3a5..57556662f35ff88fd9518396130fec4fc9a98f4c 100644 (file)
@@ -119,6 +119,6 @@ U_BOOT_DRIVER(tps62360_regulator) = {
        .id = UCLASS_REGULATOR,
        .ops = &tps62360_regulator_ops,
        .of_match = tps62360_regulator_ids,
-       .platdata_auto_alloc_size = sizeof(struct tps62360_regulator_pdata),
+       .platdata_auto  = sizeof(struct tps62360_regulator_pdata),
        .probe = tps62360_regulator_probe,
 };
index 171afd34a5f1db65b1e3af965e806e91ebaaa8b0..467ff3f1355de4651074ffdda16cf7aae6922574 100644 (file)
@@ -424,7 +424,7 @@ U_BOOT_DRIVER(tps65910_boost) = {
        .name = TPS65910_BOOST_DRIVER,
        .id = UCLASS_REGULATOR,
        .ops = &tps65910_boost_ops,
-       .platdata_auto_alloc_size = sizeof(struct tps65910_regulator_pdata),
+       .platdata_auto  = sizeof(struct tps65910_regulator_pdata),
        .ofdata_to_platdata = tps65910_regulator_ofdata_to_platdata,
 };
 
@@ -439,7 +439,7 @@ U_BOOT_DRIVER(tps65910_buck) = {
        .name = TPS65910_BUCK_DRIVER,
        .id = UCLASS_REGULATOR,
        .ops = &tps65910_buck_ops,
-       .platdata_auto_alloc_size = sizeof(struct tps65910_regulator_pdata),
+       .platdata_auto  = sizeof(struct tps65910_regulator_pdata),
        .ofdata_to_platdata = tps65910_regulator_ofdata_to_platdata,
 };
 
@@ -454,6 +454,6 @@ U_BOOT_DRIVER(tps65910_ldo) = {
        .name = TPS65910_LDO_DRIVER,
        .id = UCLASS_REGULATOR,
        .ops = &tps65910_ldo_ops,
-       .platdata_auto_alloc_size = sizeof(struct tps65910_regulator_pdata),
+       .platdata_auto  = sizeof(struct tps65910_regulator_pdata),
        .ofdata_to_platdata = tps65910_regulator_ofdata_to_platdata,
 };
index e55fcceafd711fd1f5b6b544166a51a0509cb799..70fbdf89bd06ad3ddfb3e3cb3252e8a5d7fb7672 100644 (file)
@@ -114,5 +114,5 @@ U_BOOT_DRIVER(exynos_pwm) = {
        .ops    = &exynos_pwm_ops,
        .probe  = exynos_pwm_probe,
        .ofdata_to_platdata     = exynos_pwm_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct exynos_pwm_priv),
+       .priv_auto      = sizeof(struct exynos_pwm_priv),
 };
index 77a1907fd3ba7a0a0de69ea8d9dce75989b8fe9b..0b8e82b6fae5d7156b13bd920e1b6957babf1e31 100644 (file)
@@ -158,6 +158,6 @@ U_BOOT_DRIVER(imx_pwm) = {
        .ops    = &imx_pwm_ops,
        .ofdata_to_platdata     = imx_pwm_ofdata_to_platdata,
        .probe          = imx_pwm_probe,
-       .priv_auto_alloc_size   = sizeof(struct imx_pwm_priv),
+       .priv_auto      = sizeof(struct imx_pwm_priv),
 };
 #endif
index cafb571f16f832c7da9420585b27a65a1a79d52b..e538e27e1364e116f1c18c4e230ace338f22b158 100644 (file)
@@ -524,5 +524,5 @@ U_BOOT_DRIVER(meson_pwm) = {
        .ops    = &meson_pwm_ops,
        .ofdata_to_platdata = meson_pwm_ofdata_to_platdata,
        .probe   = meson_pwm_probe,
-       .priv_auto_alloc_size   = sizeof(struct meson_pwm),
+       .priv_auto      = sizeof(struct meson_pwm),
 };
index 7bd82518d67ba109bf748dd430617809f132ec74..aee1d825a0ca9b332cf094060548c1effdbc6e90 100644 (file)
@@ -184,5 +184,5 @@ U_BOOT_DRIVER(mtk_pwm) = {
        .of_match = mtk_pwm_ids,
        .ops = &mtk_pwm_ops,
        .probe = mtk_pwm_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_pwm_priv),
+       .priv_auto      = sizeof(struct mtk_pwm_priv),
 };
index 77bc659fefeb151831267bfe113d9f6ad6ce8a24..4731e4a1858da157885dc6c7277a6e1c536680e2 100644 (file)
@@ -168,5 +168,5 @@ U_BOOT_DRIVER(pwm_sifive) = {
        .ops    = &pwm_sifive_ops,
        .ofdata_to_platdata     = pwm_sifive_ofdata_to_platdata,
        .probe          = pwm_sifive_probe,
-       .priv_auto_alloc_size   = sizeof(struct pwm_sifive_priv),
+       .priv_auto      = sizeof(struct pwm_sifive_priv),
 };
index 911da1d426146d4a42b3fb92828a42b4ca81ec11..ccd23d88849be5314f44e29a69b540a8a7e7b552 100644 (file)
@@ -215,5 +215,5 @@ U_BOOT_DRIVER(rk_pwm) = {
        .ops    = &rk_pwm_ops,
        .ofdata_to_platdata     = rk_pwm_ofdata_to_platdata,
        .probe          = rk_pwm_probe,
-       .priv_auto_alloc_size   = sizeof(struct rk_pwm_priv),
+       .priv_auto      = sizeof(struct rk_pwm_priv),
 };
index 28988187e039452e51f91dff0f8818bd6778ce4b..318dce7c14905805614cc7485d533d2ef31e6084 100644 (file)
@@ -109,5 +109,5 @@ U_BOOT_DRIVER(warm_pwm_sandbox) = {
        .id             = UCLASS_PWM,
        .of_match       = sandbox_pwm_ids,
        .ops            = &sandbox_pwm_ops,
-       .priv_auto_alloc_size   = sizeof(struct sandbox_pwm_priv),
+       .priv_auto      = sizeof(struct sandbox_pwm_priv),
 };
index e2ae1a8009193e8e82da753aa13f3e5882c98d0c..9a35fe02def3f6f6a0b3ae18e12e9b7f6177d227 100644 (file)
@@ -181,5 +181,5 @@ U_BOOT_DRIVER(sunxi_pwm) = {
        .ops    = &sunxi_pwm_ops,
        .ofdata_to_platdata     = sunxi_pwm_ofdata_to_platdata,
        .probe          = sunxi_pwm_probe,
-       .priv_auto_alloc_size   = sizeof(struct sunxi_pwm_priv),
+       .priv_auto      = sizeof(struct sunxi_pwm_priv),
 };
index 5e98d0fc2c7b4fa129b9dd51fed5b4575c1f3043..29c9ce366c98dd29d4e7bc83978e09fd54cb5a13 100644 (file)
@@ -79,5 +79,5 @@ U_BOOT_DRIVER(tegra_pwm) = {
        .of_match = tegra_pwm_ids,
        .ops    = &tegra_pwm_ops,
        .ofdata_to_platdata     = tegra_pwm_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct tegra_pwm_priv),
+       .priv_auto      = sizeof(struct tegra_pwm_priv),
 };
index 9f4304cb663a487afb20c09d3bcb04cf20de65ef..e4d01d848ee8cd0f2ea6ac3a7226862cbe91bdb0 100644 (file)
@@ -435,5 +435,5 @@ U_BOOT_DRIVER(sdrammc_ast2500) = {
        .ops = &ast2500_sdrammc_ops,
        .ofdata_to_platdata = ast2500_sdrammc_ofdata_to_platdata,
        .probe = ast2500_sdrammc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 };
index 8f953e79afd791a55a4f02a26184dbbda6678687..98045248ecfb12403fc90afddd40cafe5fc6bb73 100644 (file)
@@ -172,6 +172,6 @@ U_BOOT_DRIVER(bmips_ram) = {
        .id = UCLASS_RAM,
        .of_match = bmips_ram_ids,
        .probe = bmips_ram_probe,
-       .priv_auto_alloc_size = sizeof(struct bmips_ram_priv),
+       .priv_auto      = sizeof(struct bmips_ram_priv),
        .ops = &bmips_ram_ops,
 };
index b6ee02d2279cb6cc37c0459756b660d52aa9ba88..da5eb8255ba4efa0873cf7af8020927d9c139282 100644 (file)
@@ -441,5 +441,5 @@ U_BOOT_DRIVER(imxrt_semc) = {
        .ops = &imxrt_semc_ops,
        .ofdata_to_platdata = imxrt_semc_ofdata_to_platdata,
        .probe = imxrt_semc_probe,
-       .platdata_auto_alloc_size = sizeof(struct imxrt_sdram_params),
+       .platdata_auto  = sizeof(struct imxrt_sdram_params),
 };
index 21e5a655295647f0a7de4120e38977490c5bf6e5..4ec12bf42eb0b88e654aa04ce1f69fcdb9e81e7a 100644 (file)
@@ -1082,5 +1082,5 @@ U_BOOT_DRIVER(am654_ddrss) = {
        .of_match = am654_ddrss_ids,
        .ops = &am654_ddrss_ops,
        .probe = am654_ddrss_probe,
-       .priv_auto_alloc_size = sizeof(struct am654_ddrss_desc),
+       .priv_auto      = sizeof(struct am654_ddrss_desc),
 };
index d647a8a2090c4dece054cc41ec7f86703321c322..9fb1eeea454d62e11b6f6cc9e37c27fad3c68055 100644 (file)
@@ -371,5 +371,5 @@ U_BOOT_DRIVER(j721e_ddrss) = {
        .of_match = j721e_ddrss_ids,
        .ops = &j721e_ddrss_ops,
        .probe = j721e_ddrss_probe,
-       .priv_auto_alloc_size = sizeof(struct j721e_ddrss_desc),
+       .priv_auto      = sizeof(struct j721e_ddrss_desc),
 };
index b3a68cb07879967afe9c6f73945454709e7baed8..d12a3b4f436e049a4ad1b3478f573a893e70629f 100644 (file)
@@ -764,5 +764,5 @@ U_BOOT_DRIVER(mediatek_ddr3) = {
        .of_match = mtk_ddr3_ids,
        .ops      = &mtk_ddr3_ops,
        .probe    = mtk_ddr3_probe,
-       .priv_auto_alloc_size = sizeof(struct mtk_ddr3_priv),
+       .priv_auto      = sizeof(struct mtk_ddr3_priv),
 };
index a226bac2cc34138a24d8c28cacf5b3ac2c890396..87294430bf944ffc3aa0ea1a0e86fa1bc6039be0 100644 (file)
@@ -1095,5 +1095,5 @@ U_BOOT_DRIVER(mpc83xx_sdram) = {
        .ops = &mpc83xx_sdram_ops,
        .ofdata_to_platdata = mpc83xx_sdram_ofdata_to_platdata,
        .probe = mpc83xx_sdram_probe,
-       .priv_auto_alloc_size = sizeof(struct mpc83xx_sdram_priv),
+       .priv_auto      = sizeof(struct mpc83xx_sdram_priv),
 };
index 757436b9d374066e28f0984c1a84433034693265..98803c110facc9fffdfe26bc95f1d4ba6cb53a4d 100644 (file)
@@ -2724,5 +2724,5 @@ U_BOOT_DRIVER(octeon_ddr) = {
        .of_match = octeon_ids,
        .ops = &octeon_ops,
        .probe = octeon_ddr_probe,
-       .platdata_auto_alloc_size = sizeof(struct ddr_priv),
+       .platdata_auto = sizeof(struct ddr_priv),
 };
index 4fa632152fdad15b3ab481359f473140e36a35fe..bc9b5dfbe3b012e83f367ea01877096721bb4392 100644 (file)
@@ -998,9 +998,9 @@ U_BOOT_DRIVER(rockchip_rk3368_dmc) = {
        .of_match = rk3368_dmc_ids,
        .ops = &rk3368_dmc_ops,
        .probe = rk3368_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
        .ofdata_to_platdata = rk3368_dmc_ofdata_to_platdata,
        .probe = rk3368_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
-       .platdata_auto_alloc_size = sizeof(struct rk3368_sdram_params),
+       .priv_auto      = sizeof(struct dram_info),
+       .platdata_auto  = sizeof(struct rk3368_sdram_params),
 };
index 2f1f6e9c0c4d7c9f265d04861a8bff9c3b0a78f3..c024a0cd633771230d96f707a146daf708087fff 100644 (file)
@@ -757,6 +757,6 @@ U_BOOT_DRIVER(dmc_px30) = {
        .of_match = px30_dmc_ids,
        .ops = &px30_dmc_ops,
        .probe = px30_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 };
 #endif /* CONFIG_TPL_BUILD */
index 0162955aae0535e24b4397835e585538304ab8d1..16cfbf947bde835433a99d2e7d5ffab099db08e7 100644 (file)
@@ -54,5 +54,5 @@ U_BOOT_DRIVER(dmc_rk3128) = {
        .of_match = rk3128_dmc_ids,
        .ops = &rk3128_dmc_ops,
        .probe = rk3128_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 };
index 06f9eba1a5b8ecbe984294edce345fbc70f8dec3..38db1119eefc732371402543f12100a097ff9fe2 100644 (file)
@@ -954,8 +954,8 @@ U_BOOT_DRIVER(rockchip_rk3188_dmc) = {
        .ofdata_to_platdata = rk3188_dmc_ofdata_to_platdata,
 #endif
        .probe = rk3188_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 #ifdef CONFIG_SPL_BUILD
-       .platdata_auto_alloc_size = sizeof(struct rk3188_sdram_params),
+       .platdata_auto  = sizeof(struct rk3188_sdram_params),
 #endif
 };
index 094693ce24749992ffcaad258ba3c55b1ed68b8b..9b39332a32fd18e8b2012d4660d31c85f3bdf79a 100644 (file)
@@ -847,9 +847,9 @@ U_BOOT_DRIVER(dmc_rk322x) = {
        .ofdata_to_platdata = rk322x_dmc_ofdata_to_platdata,
 #endif
        .probe = rk322x_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 #ifdef CONFIG_TPL_BUILD
-       .platdata_auto_alloc_size = sizeof(struct rk322x_sdram_params),
+       .platdata_auto  = sizeof(struct rk322x_sdram_params),
 #endif
 };
 
index 26e8d059b5d837967ded6f1757a538ac67a5f195..a909502207a1b6385195d24a62b1c7b9ed4c18c0 100644 (file)
@@ -1123,9 +1123,9 @@ U_BOOT_DRIVER(rockchip_rk3288_dmc) = {
        .ofdata_to_platdata = rk3288_dmc_ofdata_to_platdata,
 #endif
        .probe = rk3288_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 #if defined(CONFIG_TPL_BUILD) || \
        (!defined(CONFIG_TPL) && defined(CONFIG_SPL_BUILD))
-       .platdata_auto_alloc_size = sizeof(struct rk3288_sdram_params),
+       .platdata_auto  = sizeof(struct rk3288_sdram_params),
 #endif
 };
index 310df79123c930f9f47c51235a006fe316ad2d75..44d7d8a0d9be6a593e6a6e719ead3d3ed6a89f33 100644 (file)
@@ -51,5 +51,5 @@ U_BOOT_DRIVER(dmc_rk3308) = {
        .of_match = rk3308_dmc_ids,
        .ops = &rk3308_dmc_ops,
        .probe = rk3308_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 };
index 98c7feb6cfab47218473740956219fd40fd53c40..961c95856a0074c33d7419ceb6e73fa4e90c3ab4 100644 (file)
@@ -615,8 +615,8 @@ U_BOOT_DRIVER(rockchip_rk3328_dmc) = {
        .ofdata_to_platdata = rk3328_dmc_ofdata_to_platdata,
 #endif
        .probe = rk3328_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 #ifdef CONFIG_TPL_BUILD
-       .platdata_auto_alloc_size = sizeof(struct rockchip_dmc_plat),
+       .platdata_auto  = sizeof(struct rockchip_dmc_plat),
 #endif
 };
index 530c8a2f401326a539008210fb8d26c71c61fb40..b36c98250eb291823e804416821d4e4a7c63941e 100644 (file)
@@ -3178,9 +3178,9 @@ U_BOOT_DRIVER(dmc_rk3399) = {
        .ofdata_to_platdata = rk3399_dmc_ofdata_to_platdata,
 #endif
        .probe = rk3399_dmc_probe,
-       .priv_auto_alloc_size = sizeof(struct dram_info),
+       .priv_auto      = sizeof(struct dram_info),
 #if defined(CONFIG_TPL_BUILD) || \
        (!defined(CONFIG_TPL) && defined(CONFIG_SPL_BUILD))
-       .platdata_auto_alloc_size = sizeof(struct rockchip_dmc_plat),
+       .platdata_auto  = sizeof(struct rockchip_dmc_plat),
 #endif
 };
index 60d4945f848c85976dccad8aea223d74aeb53ae6..f98109361199c9bd7d68c3876862fb9e3ce005f5 100644 (file)
@@ -402,8 +402,8 @@ U_BOOT_DRIVER(fu540_ddr) = {
        .of_match = fu540_ddr_ids,
        .ops = &fu540_ddr_ops,
        .probe = fu540_ddr_probe,
-       .priv_auto_alloc_size = sizeof(struct fu540_ddr_info),
+       .priv_auto      = sizeof(struct fu540_ddr_info),
 #if defined(CONFIG_SPL_BUILD)
-       .platdata_auto_alloc_size = sizeof(struct sifive_dmc_plat),
+       .platdata_auto  = sizeof(struct sifive_dmc_plat),
 #endif
 };
index 3fddf4df9615370c739c9eb18549afc063d4bc0d..82c7e9552246408c42d14a0b94381433ba7776c6 100644 (file)
@@ -409,5 +409,5 @@ U_BOOT_DRIVER(stm32_fmc) = {
        .ops = &stm32_fmc_ops,
        .ofdata_to_platdata = stm32_fmc_ofdata_to_platdata,
        .probe = stm32_fmc_probe,
-       .platdata_auto_alloc_size = sizeof(struct stm32_sdram_params),
+       .platdata_auto  = sizeof(struct stm32_sdram_params),
 };
index 9022679703b4079099c91de84880486964532042..0b6d20f566748567b506cb466f93a8ca0e10ca2c 100644 (file)
@@ -235,5 +235,5 @@ U_BOOT_DRIVER(ddr_stm32mp1) = {
        .of_match = stm32mp1_ddr_ids,
        .ops = &stm32mp1_ddr_ops,
        .probe = stm32mp1_ddr_probe,
-       .priv_auto_alloc_size = sizeof(struct ddr_info),
+       .priv_auto      = sizeof(struct ddr_info),
 };
index 702d98d1a8561cb22e81f2b8795e7de6a4477894..89cb90207dcb5da0ffa79a181a96eda10a991dbb 100644 (file)
@@ -322,5 +322,5 @@ U_BOOT_DRIVER(k3_sysctrler) = {
        .id = UCLASS_REMOTEPROC,
        .ops = &k3_sysctrler_ops,
        .probe = k3_sysctrler_probe,
-       .priv_auto_alloc_size = sizeof(struct k3_sysctrler_privdata),
+       .priv_auto      = sizeof(struct k3_sysctrler_privdata),
 };
index 9640a81e53472911614f18f617a325957f6f6db3..41ac001d96ca75ef88b68482ea25225eb34b354d 100644 (file)
@@ -210,7 +210,7 @@ UCLASS_DRIVER(rproc) = {
        .flags = DM_UC_FLAG_SEQ_ALIAS,
        .pre_probe = rproc_pre_probe,
        .post_probe = rproc_post_probe,
-       .per_device_platdata_auto_alloc_size =
+       .per_device_platdata_auto       =
                sizeof(struct dm_rproc_uclass_pdata),
 };
 
index 2b58b27947c03fed67599f3139955c19d8283631..7126888698c4372073d2e0ba187112315067c7ff 100644 (file)
@@ -343,7 +343,7 @@ U_BOOT_DRIVER(sandbox_testproc) = {
        .id = UCLASS_REMOTEPROC,
        .ops = &sandbox_testproc_ops,
        .probe = sandbox_testproc_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_test_devdata),
+       .priv_auto      = sizeof(struct sandbox_test_devdata),
 };
 
 /* TODO(nm@ti.com): Remove this along with non-DT support */
index dc87cb794e4fdd61b75a869ab7bbded63f53123f..ec7694dda9ee8963413314c7aa6b706cb7caf0a9 100644 (file)
@@ -222,5 +222,5 @@ U_BOOT_DRIVER(stm32_copro) = {
        .id = UCLASS_REMOTEPROC,
        .ops = &stm32_copro_ops,
        .probe = stm32_copro_probe,
-       .priv_auto_alloc_size = sizeof(struct stm32_copro_privdata),
+       .priv_auto      = sizeof(struct stm32_copro_privdata),
 };
index 28c6ddb691913d98a3a18802a88a213e7777d888..1041f3805fa8820b2f0c7fd810f6121731d48bdf 100644 (file)
@@ -226,6 +226,6 @@ U_BOOT_DRIVER(k3_arm64) = {
        .id = UCLASS_REMOTEPROC,
        .ops = &k3_arm64_ops,
        .probe = k3_arm64_probe,
-       .priv_auto_alloc_size = sizeof(struct k3_arm64_privdata),
+       .priv_auto      = sizeof(struct k3_arm64_privdata),
        .flags = DM_FLAG_DEFAULT_PD_CTRL_OFF,
 };
index 3361555c5367afafb8c6fb3389540b7360e30403..1a2e9dd1f58560d6ef36a58d422c98596df8c8c5 100644 (file)
@@ -456,5 +456,5 @@ U_BOOT_DRIVER(k3_dsp) = {
        .ops = &k3_dsp_ops,
        .probe = k3_dsp_probe,
        .remove = k3_dsp_remove,
-       .priv_auto_alloc_size = sizeof(struct k3_dsp_privdata),
+       .priv_auto      = sizeof(struct k3_dsp_privdata),
 };
index 9332a63d219b1f2758ff5c29b5c8e6e6f99fdfc6..10bc4e99f0c88d5e1ef17e5386f9d897b1cb5ed8 100644 (file)
@@ -866,7 +866,7 @@ U_BOOT_DRIVER(k3_r5f_rproc) = {
        .ops = &k3_r5f_rproc_ops,
        .probe = k3_r5f_probe,
        .remove = k3_r5f_remove,
-       .priv_auto_alloc_size = sizeof(struct k3_r5f_core),
+       .priv_auto      = sizeof(struct k3_r5f_core),
 };
 
 static int k3_r5f_cluster_probe(struct udevice *dev)
@@ -901,6 +901,6 @@ U_BOOT_DRIVER(k3_r5fss) = {
        .of_match = k3_r5fss_ids,
        .id = UCLASS_MISC,
        .probe = k3_r5f_cluster_probe,
-       .priv_auto_alloc_size = sizeof(struct k3_r5f_cluster),
+       .priv_auto      = sizeof(struct k3_r5f_cluster),
        .flags = DM_FLAG_DEFAULT_PD_CTRL_OFF,
 };
index 350450d1fb44c75fb2fe067e99ec540a32a7d980..14bb2d95ba6badb2f04027a36083460f58e145ef 100644 (file)
@@ -177,5 +177,5 @@ U_BOOT_DRIVER(ti_powerproc) = {
        .id = UCLASS_REMOTEPROC,
        .ops = &ti_powerproc_ops,
        .probe = ti_powerproc_probe,
-       .priv_auto_alloc_size = sizeof(struct ti_powerproc_privdata),
+       .priv_auto      = sizeof(struct ti_powerproc_privdata),
 };
index e7b5c7decab7540803139f7ee6c85f323e095324..a229d490f36dd811fbe01c5735fa15e7a884ca86 100644 (file)
@@ -105,5 +105,5 @@ U_BOOT_DRIVER(ast2500_reset) = {
        .of_match = ast2500_reset_ids,
        .probe = ast2500_reset_probe,
        .ops = &ast2500_reset_ops,
-       .priv_auto_alloc_size = sizeof(struct ast2500_reset_priv),
+       .priv_auto      = sizeof(struct ast2500_reset_priv),
 };
index 156703e084301b93b26f936e32006e4db445298c..f69189822bf7fe9556b8ff7e66057ec2ba7460f1 100644 (file)
@@ -84,5 +84,5 @@ U_BOOT_DRIVER(bcm6345_reset) = {
        .of_match = bcm6345_reset_ids,
        .ops = &bcm6345_reset_reset_ops,
        .probe = bcm6345_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6345_reset_priv),
+       .priv_auto      = sizeof(struct bcm6345_reset_priv),
 };
index 139bc5d73e0b679c807af2e61c29db5541eeecac..3f9da8cc8d318bc03f2c3226b67db57f1afe0cbd 100644 (file)
@@ -102,5 +102,5 @@ U_BOOT_DRIVER(hisi_reset) = {
        .of_match = hisi_reset_ids,
        .ops = &hisi_reset_reset_ops,
        .probe = hisi_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct hisi_reset_priv),
+       .priv_auto      = sizeof(struct hisi_reset_priv),
 };
index 0c8f276293db325ba8765cd4cb1f853ad7ed85de..8318d0a20b4a92763d1919365f4bee08288fba80 100644 (file)
@@ -114,5 +114,5 @@ U_BOOT_DRIVER(hsdk_reset) = {
        .of_match = hsdk_reset_dt_match,
        .ops = &hsdk_reset_ops,
        .probe = hsdk_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct hsdk_rst),
+       .priv_auto      = sizeof(struct hsdk_rst),
 };
index 96916b644ad1a7a7da924a51ed440d48c8514c3f..e5085ae17c43a9150046d85614c34d4285b33be9 100644 (file)
@@ -312,5 +312,5 @@ U_BOOT_DRIVER(imx7_reset) = {
        .of_match = imx7_reset_ids,
        .ops = &imx7_reset_reset_ops,
        .probe = imx7_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct imx7_reset_priv),
+       .priv_auto      = sizeof(struct imx7_reset_priv),
 };
index f216db4ce5c2efff19607b311286b49bffc2987e..15858f3cb1ee5117db312e17ff71168ea9dea883 100644 (file)
@@ -169,5 +169,5 @@ U_BOOT_DRIVER(ipq4019_reset) = {
        .of_match = ipq4019_reset_ids,
        .ops = &ipq4019_reset_ops,
        .probe = ipq4019_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct ipq4019_reset_priv),
+       .priv_auto      = sizeof(struct ipq4019_reset_priv),
 };
index 97d3d5759274a2bcf10d65a4609ac50ffaefe2c2..b97a21f671725d8291d8a33ebb7648fc453322c7 100644 (file)
@@ -102,5 +102,5 @@ U_BOOT_DRIVER(mediatek_reset) = {
        .id = UCLASS_RESET,
        .probe = mediatek_reset_probe,
        .ops = &mediatek_reset_ops,
-       .priv_auto_alloc_size = sizeof(struct mediatek_reset_priv),
+       .priv_auto      = sizeof(struct mediatek_reset_priv),
 };
index 4e3327898e226028fa95542acb8921934257c1e6..d4e0745d0e097ae6c80ed55981e3aba276451ffc 100644 (file)
@@ -89,5 +89,5 @@ U_BOOT_DRIVER(meson_reset) = {
        .of_match = meson_reset_ids,
        .probe = meson_reset_probe,
        .ops = &meson_reset_ops,
-       .priv_auto_alloc_size = sizeof(struct meson_reset_priv),
+       .priv_auto      = sizeof(struct meson_reset_priv),
 };
index bc20e3335c5caa395e6c7257598dee058561f720..18a4ecad4f02f1d1e3e04e7ee6e7c761b7ba42fd 100644 (file)
@@ -80,6 +80,6 @@ U_BOOT_DRIVER(mtmips_reset) = {
        .of_match = mtmips_reset_ids,
        .ofdata_to_platdata = mtmips_reset_ofdata_to_platdata,
        .probe = mtmips_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct mtmips_reset_priv),
+       .priv_auto      = sizeof(struct mtmips_reset_priv),
        .ops = &mtmips_reset_ops,
 };
index 809255565086177e989b4465f6cf7455d854b648..e5e9918c0c1cf3ce68152609738393c327d9b9bb 100644 (file)
@@ -131,5 +131,5 @@ U_BOOT_DRIVER(rockchip_reset) = {
        .id = UCLASS_RESET,
        .probe = rockchip_reset_probe,
        .ops = &rockchip_reset_ops,
-       .priv_auto_alloc_size = sizeof(struct rockchip_reset_priv),
+       .priv_auto      = sizeof(struct rockchip_reset_priv),
 };
index 527757f8533da841620e5a4d0725db26db39e19b..f6110d85f9ff8acaf4416db91d3f9cc7e001787e 100644 (file)
@@ -114,5 +114,5 @@ U_BOOT_DRIVER(sifive_reset) = {
        .id             = UCLASS_RESET,
        .ops            = &sifive_reset_ops,
        .probe          = sifive_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct sifive_reset_priv),
+       .priv_auto      = sizeof(struct sifive_reset_priv),
 };
index 1849db4da9b076bf839e8a46dee8d4315def7cf8..c64c9b5917cc61619e8dff330cbb4aed76a56f01 100644 (file)
@@ -166,7 +166,7 @@ U_BOOT_DRIVER(socfpga_reset) = {
        .of_match = socfpga_reset_match,
        .bind = socfpga_reset_bind,
        .probe = socfpga_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct socfpga_reset_data),
+       .priv_auto      = sizeof(struct socfpga_reset_data),
        .ops = &socfpga_reset_ops,
        .remove = socfpga_reset_remove,
        .flags  = DM_FLAG_OS_PREPARE,
index 05f7f599ce306837450e91122d6e1d968aaec5e4..1db321ce1fdc3bdf0a21e83065fbfbc2554ff46a 100644 (file)
@@ -123,5 +123,5 @@ U_BOOT_DRIVER(sunxi_reset) = {
        .id             = UCLASS_RESET,
        .ops            = &sunxi_reset_ops,
        .probe          = sunxi_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct sunxi_reset_priv),
+       .priv_auto      = sizeof(struct sunxi_reset_priv),
 };
index 8520227d551e0b036a6947e246b62dd5f5279644..ff387ab6b22f68d6af29b8fe53d70741a230c769 100644 (file)
@@ -76,6 +76,6 @@ U_BOOT_DRIVER(syscon_reset) = {
        .id = UCLASS_RESET,
        .of_match = syscon_reset_ids,
        .probe = syscon_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct syscon_reset_priv),
+       .priv_auto      = sizeof(struct syscon_reset_priv),
        .ops = &syscon_reset_ops,
 };
index 95cd3885876d7da2b8798bb4e5aaa5d8c2884ae6..d8510a4abb27291f8c5089aabd0953dfc9e6517b 100644 (file)
@@ -205,6 +205,6 @@ U_BOOT_DRIVER(ti_sci_reset) = {
        .id = UCLASS_RESET,
        .of_match = ti_sci_reset_of_match,
        .probe = ti_sci_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct ti_sci_reset_data),
+       .priv_auto      = sizeof(struct ti_sci_reset_data),
        .ops = &ti_sci_reset_ops,
 };
index fe1bd5541bdaf3ad86f28bb5855c16c4b4fdf907..2694d130b648ed26efb5de0badef14c3832236f9 100644 (file)
@@ -372,6 +372,6 @@ U_BOOT_DRIVER(uniphier_reset) = {
        .id = UCLASS_RESET,
        .of_match = uniphier_reset_match,
        .probe = uniphier_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_reset_priv),
+       .priv_auto      = sizeof(struct uniphier_reset_priv),
        .ops = &uniphier_reset_ops,
 };
index 10e02f1036241757ded86a0ff75558ee931252e1..51b79810c89ec1ba8bc911c2ae4e5566d71fd7b9 100644 (file)
@@ -120,5 +120,5 @@ U_BOOT_DRIVER(sandbox_reset_test) = {
        .name = "sandbox_reset_test",
        .id = UCLASS_MISC,
        .of_match = sandbox_reset_test_ids,
-       .priv_auto_alloc_size = sizeof(struct sandbox_reset_test),
+       .priv_auto      = sizeof(struct sandbox_reset_test),
 };
index 08008d875ab73e6796c1b4d4e23e8aa02394d1f3..97b1b92e4a6ca313d21fc78c01b3bd55f25b0087 100644 (file)
@@ -99,7 +99,7 @@ U_BOOT_DRIVER(sandbox_reset) = {
        .of_match = sandbox_reset_ids,
        .bind = sandbox_reset_bind,
        .probe = sandbox_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_reset),
+       .priv_auto      = sizeof(struct sandbox_reset),
        .ops = &sandbox_reset_reset_ops,
 };
 
index ac3a99f9bffd17801bd59fec545fae3e2d721f3f..b03638d34d5937ca59b9fe034b72f56f6db355ae 100644 (file)
@@ -336,6 +336,6 @@ U_BOOT_DRIVER(sti_reset) = {
        .id = UCLASS_RESET,
        .of_match = sti_reset_ids,
        .probe = sti_reset_probe,
-       .priv_auto_alloc_size = sizeof(struct sti_reset),
+       .priv_auto      = sizeof(struct sti_reset),
        .ops = &sti_reset_ops,
 };
index 20c36a99eb367f370d34a926c196d392a7fa5ae1..4a05ab65aeba83cc2a0b51bfd7bc5396b44ddd33 100644 (file)
@@ -100,6 +100,6 @@ U_BOOT_DRIVER(stm32_rcc_reset) = {
        .name                   = "stm32_rcc_reset",
        .id                     = UCLASS_RESET,
        .probe                  = stm32_reset_probe,
-       .priv_auto_alloc_size   = sizeof(struct stm32_reset_priv),
+       .priv_auto      = sizeof(struct stm32_reset_priv),
        .ops                    = &stm32_reset_ops,
 };
index 57a5a702a23171aa955adf2b07659004769445bf..fedde65395a2556d5986cf57f0d6f58d7d06b0fe 100644 (file)
@@ -116,6 +116,6 @@ U_BOOT_DRIVER(meson_rng) = {
        .ops = &meson_rng_ops,
        .probe = meson_rng_probe,
        .remove = meson_rng_remove,
-       .platdata_auto_alloc_size = sizeof(struct meson_rng_platdata),
+       .platdata_auto  = sizeof(struct meson_rng_platdata),
        .ofdata_to_platdata = meson_rng_ofdata_to_platdata,
 };
index d51119303a6fd584c85d1b86790db3f57c583715..29e7354ece5f24d0cba9b580a4fdda2f170f71ea 100644 (file)
@@ -139,5 +139,5 @@ U_BOOT_DRIVER(msm_rng) = {
        .ops = &msm_rng_ops,
        .probe = msm_rng_probe,
        .remove = msm_rng_remove,
-       .priv_auto_alloc_size = sizeof(struct msm_rng_priv),
+       .priv_auto      = sizeof(struct msm_rng_priv),
 };
index c6a834b67c56e17f3eba28eaba328762f5356397..7c4363f799213ecff48b6f5539a096a680eae809 100644 (file)
@@ -221,5 +221,5 @@ U_BOOT_DRIVER(rockchip_rng) = {
        .ops = &rockchip_rng_ops,
        .probe = rockchip_rng_probe,
        .ofdata_to_platdata = rockchip_rng_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct rk_rng_platdata),
+       .priv_auto      = sizeof(struct rk_rng_platdata),
 };
index c1bae180f772fe7c9cda4286bf063192cfbda1ec..4eed1de8adc8f6998536c86c9bd7452d0e765070 100644 (file)
@@ -160,6 +160,6 @@ U_BOOT_DRIVER(stm32_rng) = {
        .ops = &stm32_rng_ops,
        .probe = stm32_rng_probe,
        .remove = stm32_rng_remove,
-       .platdata_auto_alloc_size = sizeof(struct stm32_rng_platdata),
+       .platdata_auto  = sizeof(struct stm32_rng_platdata),
        .ofdata_to_platdata = stm32_rng_ofdata_to_platdata,
 };
index 0a30e0eabb4585e44f195f8a51dc1e2d9ec66fd9..16501cfe5d3fc346879c0d870777eb33beb4fec4 100644 (file)
@@ -272,5 +272,5 @@ U_BOOT_DRIVER(rtc_ds3232) = {
        .probe = ds3232_probe,
        .of_match = ds3232_rtc_ids,
        .ops = &ds3232_rtc_ops,
-       .priv_auto_alloc_size = sizeof(struct ds3232_priv_data),
+       .priv_auto      = sizeof(struct ds3232_priv_data),
 };
index 7e522103fd545f3c7eecbed3e772b14cfebdb5bc..1dc80ca1274321b322700170a3b4dc71e805a5a7 100644 (file)
@@ -88,7 +88,7 @@ U_BOOT_DRIVER(rtc_emul) = {
        .id     = UCLASS_RTC,
        .ops    = &emul_rtc_ops,
        .probe  = emul_rtc_probe,
-       .priv_auto_alloc_size = sizeof(struct emul_rtc),
+       .priv_auto      = sizeof(struct emul_rtc),
 };
 
 U_BOOT_DEVICE(rtc_emul) = {
index 7f78ff83cb07760fa6ceb773f75a9e02729a8159..762769d54ccbfbe1edb40720c36a640b0b9ba03d 100644 (file)
@@ -230,7 +230,7 @@ U_BOOT_DRIVER(sandbox_i2c_rtc_emul) = {
        .id             = UCLASS_I2C_EMUL,
        .of_match       = sandbox_i2c_rtc_ids,
        .bind           = sandbox_i2c_rtc_bind,
-       .priv_auto_alloc_size = sizeof(struct sandbox_i2c_rtc),
-       .platdata_auto_alloc_size = sizeof(struct sandbox_i2c_rtc_plat_data),
+       .priv_auto      = sizeof(struct sandbox_i2c_rtc),
+       .platdata_auto  = sizeof(struct sandbox_i2c_rtc_plat_data),
        .ops            = &sandbox_i2c_rtc_emul_ops,
 };
index 1b6717232c791eb842a0d709a3ddf23a943942af..7a6d86d3bfd50cb3f62d9636a51265f05325001e 100644 (file)
@@ -137,6 +137,6 @@ U_BOOT_DRIVER(rtc_pl031) = {
        .of_match = pl031_ids,
        .probe  = pl031_probe,
        .ofdata_to_platdata = pl031_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct pl031_platdata),
+       .platdata_auto  = sizeof(struct pl031_platdata),
        .ops    = &pl031_ops,
 };
index f9db318af1dcea4d231e5d86a4c9d2192818a655..f1d0ea90d3c18a6e7b84e944a7cc3b7ab0141c33 100644 (file)
@@ -327,5 +327,5 @@ U_BOOT_DRIVER(rtc_stm32) = {
        .probe  = stm32_rtc_probe,
        .of_match = stm32_rtc_ids,
        .ops    = &stm32_rtc_ops,
-       .priv_auto_alloc_size = sizeof(struct stm32_rtc_priv),
+       .priv_auto      = sizeof(struct stm32_rtc_priv),
 };
index acf3b3dc9570483b408676f089149d4be31a78d5..2b34d0516e61601378eb3c7e0d71e08c7c5e6cf3 100644 (file)
@@ -35,5 +35,5 @@ int scsi_bus_reset(struct udevice *dev)
 UCLASS_DRIVER(scsi) = {
        .id             = UCLASS_SCSI,
        .name           = "scsi",
-       .per_device_platdata_auto_alloc_size = sizeof(struct scsi_platdata),
+       .per_device_platdata_auto       = sizeof(struct scsi_platdata),
 };
index 35b76f53f93d06c3a9b5f859dafb3465622926ee..173ac240ea6db8895818363ed13896aaeac5c1f3 100644 (file)
@@ -119,7 +119,7 @@ U_BOOT_DRIVER(altera_jtaguart) = {
        .id     = UCLASS_SERIAL,
        .of_match = altera_jtaguart_ids,
        .ofdata_to_platdata = altera_jtaguart_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_jtaguart_platdata),
+       .platdata_auto  = sizeof(struct altera_jtaguart_platdata),
        .probe = altera_jtaguart_probe,
        .ops    = &altera_jtaguart_ops,
 };
index 0be5cd75c8533040ee06a4e2c681b76e7112f244..eec70f600055a701e6412eecc19805beac585a19 100644 (file)
@@ -112,7 +112,7 @@ U_BOOT_DRIVER(altera_uart) = {
        .id     = UCLASS_SERIAL,
        .of_match = altera_uart_ids,
        .ofdata_to_platdata = altera_uart_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_uart_platdata),
+       .platdata_auto  = sizeof(struct altera_uart_platdata),
        .probe = altera_uart_probe,
        .ops    = &altera_uart_ops,
 };
index f759ea8893d168d8c959dbd022315861b0ae9092..45e6554f5936d57c8479e0d8bfa1534f134eec14 100644 (file)
@@ -304,14 +304,14 @@ U_BOOT_DRIVER(serial_atmel) = {
        .id     = UCLASS_SERIAL,
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .of_match = atmel_serial_ids,
-       .platdata_auto_alloc_size = sizeof(struct atmel_serial_platdata),
+       .platdata_auto  = sizeof(struct atmel_serial_platdata),
 #endif
        .probe = atmel_serial_probe,
        .ops    = &atmel_serial_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
        .flags = DM_FLAG_PRE_RELOC,
 #endif
-       .priv_auto_alloc_size   = sizeof(struct atmel_serial_priv),
+       .priv_auto      = sizeof(struct atmel_serial_priv),
 };
 #endif
 
index 7d31c6d4a145b4f3fa104fed3a1d408155e641cb..80b63807d603f31236aed4d45a0d2c6004386aa3 100644 (file)
@@ -107,6 +107,6 @@ U_BOOT_DRIVER(lpc32xx_hsuart) = {
        .id     = UCLASS_SERIAL,
        .probe  = lpc32xx_hsuart_probe,
        .ops    = &lpc32xx_hsuart_ops,
-       .priv_auto_alloc_size = sizeof(struct lpc32xx_hsuart_priv),
+       .priv_auto      = sizeof(struct lpc32xx_hsuart_priv),
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 702109b23b6a07b3454cd19564bded5991e674cf..9b83f88187d5ba988d554ab2624308075d17d241 100644 (file)
@@ -611,9 +611,9 @@ U_BOOT_DRIVER(ns16550_serial) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = ns16550_serial_ids,
        .ofdata_to_platdata = ns16550_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
+       .platdata_auto  = sizeof(struct ns16550_platdata),
 #endif
-       .priv_auto_alloc_size = sizeof(struct NS16550),
+       .priv_auto      = sizeof(struct NS16550),
        .probe = ns16550_serial_probe,
        .ops    = &ns16550_serial_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
index 8e269a205d7ff999a3f482a5e039ccfb2dfc6604..03d16c73a3bbe4361c8753a85bc2f6253e5ed024 100644 (file)
@@ -242,8 +242,8 @@ U_BOOT_DRIVER(sandbox_serial) = {
        .id     = UCLASS_SERIAL,
        .of_match = sandbox_serial_ids,
        .ofdata_to_platdata = sandbox_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct sandbox_serial_platdata),
-       .priv_auto_alloc_size = sizeof(struct sandbox_serial_priv),
+       .platdata_auto  = sizeof(struct sandbox_serial_platdata),
+       .priv_auto      = sizeof(struct sandbox_serial_priv),
        .probe = sandbox_serial_probe,
        .remove = sandbox_serial_remove,
        .ops    = &sandbox_serial_ops,
index f3c25d421675a6df17f00925315761bbcef58520..b6457242dea0ac9f891cea569163554e7d9c4188 100644 (file)
@@ -507,6 +507,6 @@ UCLASS_DRIVER(serial) = {
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
        .post_probe     = serial_post_probe,
        .pre_remove     = serial_pre_remove,
-       .per_device_auto_alloc_size = sizeof(struct serial_dev_priv),
+       .per_device_auto        = sizeof(struct serial_dev_priv),
 };
 #endif
index 9de94b69bd04e5350f4e98990bd6204ad87265aa..da06bef97c77a0ac9838a84d70fc93ca69f59d89 100644 (file)
@@ -188,7 +188,7 @@ U_BOOT_DRIVER(serial_ar933x) = {
        .name   = "serial_ar933x",
        .id = UCLASS_SERIAL,
        .of_match = ar933x_serial_ids,
-       .priv_auto_alloc_size = sizeof(struct ar933x_serial_priv),
+       .priv_auto      = sizeof(struct ar933x_serial_priv),
        .probe = ar933x_serial_probe,
        .ops    = &ar933x_serial_ops,
 };
index 04063fbe39976001ff02edd134bea74a779bb989..52dce3505e457f296af3d1d8f11834a1998001f9 100644 (file)
@@ -126,7 +126,7 @@ U_BOOT_DRIVER(serial_arc) = {
        .id     = UCLASS_SERIAL,
        .of_match = arc_serial_ids,
        .ofdata_to_platdata = arc_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct arc_serial_platdata),
+       .platdata_auto  = sizeof(struct arc_serial_platdata),
        .probe = arc_serial_probe,
        .ops    = &arc_serial_ops,
 };
index 8a4af87eb6404abc3c210f6e14aff29751be855b..8cd533f8085a1d3cf1fd40bb69b1641fce1a4768 100644 (file)
@@ -194,11 +194,11 @@ U_BOOT_DRIVER(serial_bcm283x_mu) = {
        .name = "serial_bcm283x_mu",
        .id = UCLASS_SERIAL,
        .of_match = of_match_ptr(bcm283x_mu_serial_id),
-       .platdata_auto_alloc_size = sizeof(struct bcm283x_mu_serial_platdata),
+       .platdata_auto  = sizeof(struct bcm283x_mu_serial_platdata),
        .probe = bcm283x_mu_serial_probe,
        .ops = &bcm283x_mu_serial_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL) || CONFIG_IS_ENABLED(OF_BOARD)
        .flags = DM_FLAG_PRE_RELOC,
 #endif
-       .priv_auto_alloc_size = sizeof(struct bcm283x_mu_priv),
+       .priv_auto      = sizeof(struct bcm283x_mu_priv),
 };
index 923f402fbe9d43bec802b008ec16337102a35f50..484a28181191db28606752d24d5004f0a51f9fb4 100644 (file)
@@ -92,10 +92,10 @@ U_BOOT_DRIVER(bcm283x_pl011_uart) = {
        .id     = UCLASS_SERIAL,
        .of_match = of_match_ptr(bcm283x_pl011_serial_id),
        .probe  = bcm283x_pl011_serial_probe,
-       .platdata_auto_alloc_size = sizeof(struct pl01x_serial_platdata),
+       .platdata_auto  = sizeof(struct pl01x_serial_platdata),
        .ops    = &bcm283x_pl011_serial_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL) || CONFIG_IS_ENABLED(OF_BOARD)
        .flags  = DM_FLAG_PRE_RELOC,
 #endif
-       .priv_auto_alloc_size = sizeof(struct pl01x_priv),
+       .priv_auto      = sizeof(struct pl01x_priv),
 };
index 5b963ce45bc0a1f6341f11d686f2bc6acc80f460..f08e91ff3ba4525aeb281731aad4eab645b13a16 100644 (file)
@@ -262,7 +262,7 @@ U_BOOT_DRIVER(bcm6345_serial) = {
        .id = UCLASS_SERIAL,
        .of_match = bcm6345_serial_ids,
        .probe = bcm6345_serial_probe,
-       .priv_auto_alloc_size = sizeof(struct bcm6345_serial_priv),
+       .priv_auto      = sizeof(struct bcm6345_serial_priv),
        .ops = &bcm6345_serial_ops,
 };
 
index ccab347514cfb6a483431b16512dc2d6ec3d367e..08363c4920b9c7824cb719b37a75c6fd678ca48f 100644 (file)
@@ -37,8 +37,8 @@ U_BOOT_DRIVER(coreboot_uart) = {
        .name   = "coreboot_uart",
        .id     = UCLASS_SERIAL,
        .of_match       = coreboot_serial_ids,
-       .priv_auto_alloc_size = sizeof(struct NS16550),
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
+       .priv_auto      = sizeof(struct NS16550),
+       .platdata_auto  = sizeof(struct ns16550_platdata),
        .ofdata_to_platdata  = coreboot_ofdata_to_platdata,
        .probe  = ns16550_serial_probe,
        .ops    = &ns16550_serial_ops,
index cc20673efeffec6a9aef206e3e94d25771c965a2..a0ae2fe0a4c64a306b290e44541ccafb7bf6a22d 100644 (file)
@@ -159,7 +159,7 @@ U_BOOT_DRIVER(serial_cortina) = {
        .id = UCLASS_SERIAL,
        .of_match = ca_serial_ids,
        .ofdata_to_platdata = ca_serial_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct ca_uart_priv),
+       .priv_auto      = sizeof(struct ca_uart_priv),
        .probe = ca_serial_probe,
        .ops = &ca_serial_ops
 };
index b152e1025879608d98ba05e2626ce5fe471e5150..33ddbd6080cf325ad70ccc3dcb4a12d199f07ca0 100644 (file)
@@ -150,7 +150,7 @@ U_BOOT_DRIVER(serial_efi) = {
        .name   = "serial_efi",
        .id     = UCLASS_SERIAL,
        .of_match = serial_efi_ids,
-       .priv_auto_alloc_size = sizeof(struct serial_efi_priv),
+       .priv_auto      = sizeof(struct serial_efi_priv),
        .probe = serial_efi_probe,
        .ops    = &serial_efi_ops,
 };
index 39bd40e68be106580e5269bb1d721eab70edafce..f9281590cd4136ceb32ef4e96c54452261168dd5 100644 (file)
@@ -60,8 +60,8 @@ U_BOOT_DRIVER(serial_intel_mid) = {
        .id     = UCLASS_SERIAL,
        .of_match = mid_serial_ids,
        .ofdata_to_platdata = ns16550_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
-       .priv_auto_alloc_size = sizeof(struct NS16550),
+       .platdata_auto  = sizeof(struct ns16550_platdata),
+       .priv_auto      = sizeof(struct NS16550),
        .probe  = mid_serial_probe,
        .ops    = &ns16550_serial_ops,
 };
index 83dc96c449ca4949176eaa49bf9ca42e75e8907e..af7b842927a6974f379fb34a3c6c9e92d1a37499 100644 (file)
@@ -190,7 +190,7 @@ U_BOOT_DRIVER(serial_linflex) = {
        .probe = linflex_serial_probe,
        .ops    = &linflex_serial_ops,
        .flags = DM_FLAG_PRE_RELOC,
-       .priv_auto_alloc_size   = sizeof(struct linflex_serial_priv),
+       .priv_auto      = sizeof(struct linflex_serial_priv),
 };
 
 #ifdef CONFIG_DEBUG_UART_LINFLEXUART
index 95cbe63b3d14240c2d21fc5dda8fc2afa5354dd5..b26f401cb70c8e135922e463f897a664079465b1 100644 (file)
@@ -567,7 +567,7 @@ U_BOOT_DRIVER(serial_lpuart) = {
        .id     = UCLASS_SERIAL,
        .of_match = lpuart_serial_ids,
        .ofdata_to_platdata = lpuart_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct lpuart_serial_platdata),
+       .platdata_auto  = sizeof(struct lpuart_serial_platdata),
        .probe = lpuart_serial_probe,
        .ops    = &lpuart_serial_ops,
 };
index 402fd5343c1330d6ca52888329b010ffc2ee2783..513013ca5a53b1f26471faddbca283e04e1cc814 100644 (file)
@@ -172,7 +172,7 @@ U_BOOT_DRIVER(serial_coldfire) = {
        .id = UCLASS_SERIAL,
        .of_match = coldfire_serial_ids,
        .ofdata_to_platdata = coldfire_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct coldfire_serial_platdata),
+       .platdata_auto  = sizeof(struct coldfire_serial_platdata),
        .probe = coldfire_serial_probe,
        .ops = &coldfire_serial_ops,
        .flags = DM_FLAG_PRE_RELOC,
index 496a2ca2c35ba2a21e7658f14c3d7d287dd02c81..73a10f89c01c90be2effbd748257e86b50705563 100644 (file)
@@ -169,7 +169,7 @@ U_BOOT_DRIVER(serial_meson) = {
        .probe          = meson_serial_probe,
        .ops            = &meson_serial_ops,
        .ofdata_to_platdata = meson_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct meson_serial_platdata),
+       .platdata_auto  = sizeof(struct meson_serial_platdata),
 };
 
 #ifdef CONFIG_DEBUG_UART_MESON
index c8946c3aae8df5471c28e3f3d3d41b0c435cad9b..3b088b3b23a50af902e50397dbb8ce304e859e65 100644 (file)
@@ -240,7 +240,7 @@ U_BOOT_DRIVER(serial_msm) = {
        .id     = UCLASS_SERIAL,
        .of_match = msm_serial_ids,
        .ofdata_to_platdata = msm_serial_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct msm_serial_data),
+       .priv_auto      = sizeof(struct msm_serial_data),
        .probe = msm_serial_probe,
        .ops    = &msm_serial_ops,
 };
index 778a04d87e0cc7dde746884fd7c395c8136f7d2a..afa6e8c8a96f6a3a48e4b901f867cb1d88c15273 100644 (file)
@@ -268,7 +268,7 @@ U_BOOT_DRIVER(serial_mtk) = {
        .id = UCLASS_SERIAL,
        .of_match = mtk_serial_ids,
        .ofdata_to_platdata = mtk_serial_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct mtk_serial_priv),
+       .priv_auto      = sizeof(struct mtk_serial_priv),
        .probe = mtk_serial_probe,
        .ops = &mtk_serial_ops,
        .flags = DM_FLAG_PRE_RELOC,
index fb43f88eaf6e49c64082f689c715a08ef1f4398a..7756b0d929d675a757018f8a710be346f86a25a4 100644 (file)
@@ -126,7 +126,7 @@ U_BOOT_DRIVER(serial_mvebu) = {
        .id     = UCLASS_SERIAL,
        .of_match = mvebu_serial_ids,
        .ofdata_to_platdata = mvebu_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct mvebu_platdata),
+       .platdata_auto  = sizeof(struct mvebu_platdata),
        .probe  = mvebu_serial_probe,
        .ops    = &mvebu_serial_ops,
 };
index de6cefcd3acf2d5228e709b02897e8917c99aa87..83f2316a64b79cc9fd0f75ae154830458ba4c787 100644 (file)
@@ -358,7 +358,7 @@ U_BOOT_DRIVER(serial_mxc) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .of_match = mxc_serial_ids,
        .ofdata_to_platdata = mxc_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct mxc_serial_platdata),
+       .platdata_auto  = sizeof(struct mxc_serial_platdata),
 #endif
        .probe = mxc_serial_probe,
        .ops    = &mxc_serial_ops,
index f7997fc788fca7ab180cba48fae7280858121b28..296c5fd45c162a424b69e103d819f0af064acb86 100644 (file)
@@ -158,9 +158,9 @@ U_BOOT_DRIVER(omap_serial) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = omap_serial_ids,
        .ofdata_to_platdata = omap_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct ns16550_platdata),
+       .platdata_auto  = sizeof(struct ns16550_platdata),
 #endif
-       .priv_auto_alloc_size = sizeof(struct NS16550),
+       .priv_auto      = sizeof(struct NS16550),
        .probe = ns16550_serial_probe,
        .ops    = &ns16550_serial_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
index 2651a45a7f3c312a4c83961a483610df5a161183..0e67bc124b089dbad73b81ee58c30019693069f0 100644 (file)
@@ -130,7 +130,7 @@ U_BOOT_DRIVER(serial_owl) = {
        .id = UCLASS_SERIAL,
        .of_match = owl_serial_ids,
        .ofdata_to_platdata = owl_serial_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct owl_serial_priv),
+       .priv_auto      =       sizeof(struct owl_serial_priv),
        .probe = owl_serial_probe,
        .ops = &owl_serial_ops,
 };
index a492063e39c227d55886aa6fee50d2a05cd94653..5d1dbe7a9179b443b1f5ec41d0d12fc4759abc57 100644 (file)
@@ -178,7 +178,7 @@ U_BOOT_DRIVER(pic32_serial) = {
        .of_match       = pic32_uart_ids,
        .probe          = pic32_uart_probe,
        .ops            = &pic32_uart_ops,
-       .priv_auto_alloc_size = sizeof(struct pic32_uart_priv),
+       .priv_auto      = sizeof(struct pic32_uart_priv),
 };
 
 #ifdef CONFIG_DEBUG_UART_PIC32
index d9e35c6a2b47e12ca2b9d899c4b8690a2e4a10b7..4e201287bf0172f6c4ff3e7475fd6bda270ffbe6 100644 (file)
@@ -388,11 +388,11 @@ U_BOOT_DRIVER(serial_pl01x) = {
        .id     = UCLASS_SERIAL,
        .of_match = of_match_ptr(pl01x_serial_id),
        .ofdata_to_platdata = of_match_ptr(pl01x_serial_ofdata_to_platdata),
-       .platdata_auto_alloc_size = sizeof(struct pl01x_serial_platdata),
+       .platdata_auto  = sizeof(struct pl01x_serial_platdata),
        .probe = pl01x_serial_probe,
        .ops    = &pl01x_serial_ops,
        .flags = DM_FLAG_PRE_RELOC,
-       .priv_auto_alloc_size = sizeof(struct pl01x_priv),
+       .priv_auto      = sizeof(struct pl01x_priv),
 };
 
 #endif
index b1718f72d1ba53316b0aae2bde3f4c5d150987aa..74245f8d5dc4ecbeb4c38b6cbc1dde25388d5d04 100644 (file)
@@ -42,8 +42,8 @@ static int rockchip_serial_probe(struct udevice *dev)
 U_BOOT_DRIVER(rockchip_rk3188_uart) = {
        .name   = "rockchip_rk3188_uart",
        .id     = UCLASS_SERIAL,
-       .priv_auto_alloc_size = sizeof(struct NS16550),
-       .platdata_auto_alloc_size = sizeof(struct rockchip_uart_platdata),
+       .priv_auto      = sizeof(struct NS16550),
+       .platdata_auto  = sizeof(struct rockchip_uart_platdata),
        .probe  = rockchip_serial_probe,
        .ops    = &ns16550_serial_ops,
        .flags  = DM_FLAG_PRE_RELOC,
@@ -52,8 +52,8 @@ U_BOOT_DRIVER(rockchip_rk3188_uart) = {
 U_BOOT_DRIVER(rockchip_rk3288_uart) = {
        .name   = "rockchip_rk3288_uart",
        .id     = UCLASS_SERIAL,
-       .priv_auto_alloc_size = sizeof(struct NS16550),
-       .platdata_auto_alloc_size = sizeof(struct rockchip_uart_platdata),
+       .priv_auto      = sizeof(struct NS16550),
+       .platdata_auto  = sizeof(struct rockchip_uart_platdata),
        .probe  = rockchip_serial_probe,
        .ops    = &ns16550_serial_ops,
        .flags  = DM_FLAG_PRE_RELOC,
index 9bb2be21e7b8751f3b0758be57c2d83eaee30926..df50210dbd6bc1ff177c9678a49c8462c87d1b62 100644 (file)
@@ -208,7 +208,7 @@ U_BOOT_DRIVER(serial_s5p) = {
        .id     = UCLASS_SERIAL,
        .of_match = s5p_serial_ids,
        .ofdata_to_platdata = s5p_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct s5p_serial_platdata),
+       .platdata_auto  = sizeof(struct s5p_serial_platdata),
        .probe = s5p_serial_probe,
        .ops    = &s5p_serial_ops,
 };
index e27d256574f01a08dd7211baab005542a71caa7d..4e37ab0c318bcf293691a6ef9ef6220e41cbe868 100644 (file)
@@ -240,13 +240,13 @@ U_BOOT_DRIVER(serial_sh) = {
        .id     = UCLASS_SERIAL,
        .of_match = of_match_ptr(sh_serial_id),
        .ofdata_to_platdata = of_match_ptr(sh_serial_ofdata_to_platdata),
-       .platdata_auto_alloc_size = sizeof(struct sh_serial_platdata),
+       .platdata_auto  = sizeof(struct sh_serial_platdata),
        .probe  = sh_serial_probe,
        .ops    = &sh_serial_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
        .flags  = DM_FLAG_PRE_RELOC,
 #endif
-       .priv_auto_alloc_size = sizeof(struct uart_port),
+       .priv_auto      = sizeof(struct uart_port),
 };
 
 #else /* CONFIG_DM_SERIAL */
index fcc47fb348fd00d7ae9af7e8d0f1d434430b7ee3..710bb72363f1a0e65d707ec07a1c05777dfe848c 100644 (file)
@@ -202,7 +202,7 @@ U_BOOT_DRIVER(serial_sifive) = {
        .id     = UCLASS_SERIAL,
        .of_match = sifive_serial_ids,
        .ofdata_to_platdata = sifive_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct sifive_uart_platdata),
+       .platdata_auto  = sizeof(struct sifive_uart_platdata),
        .probe = sifive_serial_probe,
        .ops    = &sifive_serial_ops,
 };
index 33ff396bff7e372614981665d31e6414fd2d69c9..ded684abfbbdf290d200e23372531eacb8422b39 100644 (file)
@@ -206,6 +206,6 @@ U_BOOT_DRIVER(serial_sti_asc) = {
        .of_match = sti_serial_of_match,
        .ops = &sti_asc_serial_ops,
        .probe = sti_asc_serial_probe,
-       .priv_auto_alloc_size = sizeof(struct sti_asc_serial),
+       .priv_auto      = sizeof(struct sti_asc_serial),
 };
 
index cab0db2c96a32ba5a03ff183ac5403ae8dfb8332..a8e0320750361d89f7658fd5f8facf77331b8e07 100644 (file)
@@ -241,7 +241,7 @@ U_BOOT_DRIVER(serial_stm32) = {
        .id = UCLASS_SERIAL,
        .of_match = of_match_ptr(stm32_serial_id),
        .ofdata_to_platdata = of_match_ptr(stm32_serial_ofdata_to_platdata),
-       .platdata_auto_alloc_size = sizeof(struct stm32x7_serial_platdata),
+       .platdata_auto  = sizeof(struct stm32x7_serial_platdata),
        .ops = &stm32_serial_ops,
        .probe = stm32_serial_probe,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
index a098028ca001201077126bb46b28f3d5a490c542..27e4b92c39974fe1f5b111d5c6c3b61e7b2bc3d2 100644 (file)
@@ -172,6 +172,6 @@ U_BOOT_DRIVER(uniphier_serial) = {
        .id = UCLASS_SERIAL,
        .of_match = uniphier_uart_of_match,
        .probe = uniphier_serial_probe,
-       .priv_auto_alloc_size = sizeof(struct uniphier_serial_priv),
+       .priv_auto      = sizeof(struct uniphier_serial_priv),
        .ops = &uniphier_serial_ops,
 };
index ba6504b947965095472d396661262680a3c038c4..dbb7b22b51c73016a2545d155a1d639c63114e2b 100644 (file)
@@ -172,7 +172,7 @@ U_BOOT_DRIVER(serial_xen) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .of_match               = xen_serial_ids,
 #endif
-       .priv_auto_alloc_size   = sizeof(struct xen_uart_priv),
+       .priv_auto      = sizeof(struct xen_uart_priv),
        .probe                  = xen_serial_probe,
        .ops                    = &xen_serial_ops,
 #if !CONFIG_IS_ENABLED(OF_CONTROL)
index 236ab860ad87f49397ab511730736f204731c2c2..bc039492ef855848aa3ee3bcff8ac2159155b213 100644 (file)
@@ -132,7 +132,7 @@ U_BOOT_DRIVER(serial_uartlite) = {
        .id     = UCLASS_SERIAL,
        .of_match = uartlite_serial_ids,
        .ofdata_to_platdata = uartlite_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct uartlite_platdata),
+       .platdata_auto  = sizeof(struct uartlite_platdata),
        .probe = uartlite_serial_probe,
        .ops    = &uartlite_serial_ops,
 };
index 0e71cada1bbadf4b24a385371d8d7fb22a352c67..d04c3990198f44bee07a34a4afb6788696d02bae 100644 (file)
@@ -212,7 +212,7 @@ U_BOOT_DRIVER(serial_zynq) = {
        .id     = UCLASS_SERIAL,
        .of_match = zynq_serial_ids,
        .ofdata_to_platdata = zynq_serial_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct zynq_uart_platdata),
+       .platdata_auto  = sizeof(struct zynq_uart_platdata),
        .probe = zynq_serial_probe,
        .ops    = &zynq_serial_ops,
 };
index 94285403ca23c05c0fc643ca37c239d963bc7487..e1cbd6eef895e2c8adb1c4054807ce435cbeddce 100644 (file)
@@ -124,5 +124,5 @@ U_BOOT_DRIVER(soc_ti_k3) = {
        .ops            = &soc_ti_k3_ops,
        .of_match       = soc_ti_k3_ids,
        .probe          = soc_ti_k3_probe,
-       .platdata_auto_alloc_size = sizeof(struct soc_ti_k3_platdata),
+       .platdata_auto  = sizeof(struct soc_ti_k3_platdata),
 };
index c48e9befe4b99e8dfa0fb3057e370c74ab6062b4..c5099ad084d59c093cf51ea2aa48674f9251cf29 100644 (file)
@@ -1130,5 +1130,5 @@ U_BOOT_DRIVER(k3_navss_ringacc) = {
        .id     = UCLASS_MISC,
        .of_match = knav_ringacc_ids,
        .probe = k3_nav_ringacc_probe,
-       .priv_auto_alloc_size = sizeof(struct k3_nav_ringacc),
+       .priv_auto      = sizeof(struct k3_nav_ringacc),
 };
index adb0b2b104da1661f2c734c44d8093f9b3160916..7f754e6567619fbe67c6c3b4fa1536119f7cecc3 100644 (file)
@@ -304,5 +304,5 @@ U_BOOT_DRIVER(broadwell_i2s) = {
        .of_match       = broadwell_i2s_ids,
        .probe          = broadwell_i2s_probe,
        .ops            = &broadwell_i2s_ops,
-       .priv_auto_alloc_size   = sizeof(struct broadwell_i2s_priv),
+       .priv_auto      = sizeof(struct broadwell_i2s_priv),
 };
index 4154d2939981a097b856874a7f8931c851e9ceca..eb92830ad9cd6703b7923e4d735482b147c6921d 100644 (file)
@@ -539,7 +539,7 @@ U_BOOT_DRIVER(hda_codec) = {
        .name           = "hda_codec",
        .id             = UCLASS_SOUND,
        .ops            = &hda_codec_ops,
-       .priv_auto_alloc_size   = sizeof(struct hda_codec_priv),
+       .priv_auto      = sizeof(struct hda_codec_priv),
        .probe          = hda_codec_init,
 };
 
index b741e3952d17eb14a46769d54a13ced955cc8e59..2639c86ea2121f969a9a0b3f22dee14a7c362f24 100644 (file)
@@ -21,5 +21,5 @@ int i2s_tx_data(struct udevice *dev, void *data, uint data_size)
 UCLASS_DRIVER(i2s) = {
        .id             = UCLASS_I2S,
        .name           = "i2s",
-       .per_device_auto_alloc_size     = sizeof(struct i2s_uc_priv),
+       .per_device_auto        = sizeof(struct i2s_uc_priv),
 };
index bc3c1e85f8cfb7020132d8d63c6d5e6a9b92080f..62207b957cf2858f26f7c16b422e9d92fc979677 100644 (file)
@@ -135,5 +135,5 @@ U_BOOT_DRIVER(bd82x6x_azalia_drv) = {
        .of_match       = bd82x6x_azalia_ids,
        .probe          = bd82x6x_azalia_probe,
        .ops            = &bd82x6x_azalia_ops,
-       .priv_auto_alloc_size   = sizeof(struct hda_codec_priv),
+       .priv_auto      = sizeof(struct hda_codec_priv),
 };
index 5b4c489f4b1a901dc161dec46cde5024d59c3f9e..4bcb7482b208ecd181ea93c400606336073304c9 100644 (file)
@@ -421,5 +421,5 @@ U_BOOT_DRIVER(max98088) = {
        .of_match       = max98088_ids,
        .probe          = max98088_probe,
        .ops            = &max98088_ops,
-       .priv_auto_alloc_size   = sizeof(struct maxim_priv),
+       .priv_auto      = sizeof(struct maxim_priv),
 };
index d23955d6e10e408e27b62e23a3dddeedf21d2557..c77a7322778308f167e953aadbc0566050b86ed5 100644 (file)
@@ -368,5 +368,5 @@ U_BOOT_DRIVER(max98090) = {
        .of_match       = max98090_ids,
        .probe          = max98090_probe,
        .ops            = &max98090_ops,
-       .priv_auto_alloc_size   = sizeof(struct maxim_priv),
+       .priv_auto      = sizeof(struct maxim_priv),
 };
index 5037f9516fa163d73e648a6000776f6f7028d773..002dab437fac06cb9f50d7539c13a825004f3077 100644 (file)
@@ -462,5 +462,5 @@ U_BOOT_DRIVER(max98095) = {
        .of_match       = max98095_ids,
        .probe          = max98095_probe,
        .ops            = &max98095_ops,
-       .priv_auto_alloc_size   = sizeof(struct maxim_priv),
+       .priv_auto      = sizeof(struct maxim_priv),
 };
index 16aa9dfc5b2b3bb5700be88b685a789ec22bb100..b655bb40b6426886f3b64edf4846badac5779173 100644 (file)
@@ -331,5 +331,5 @@ U_BOOT_DRIVER(rt5677_drv) = {
        .of_match       = rt5677_ids,
        .ops            = &rt5677_ops,
        .probe          = rt5677_probe,
-       .priv_auto_alloc_size   = sizeof(struct rt5677_priv),
+       .priv_auto      = sizeof(struct rt5677_priv),
 };
index 0686add3c8b351edd1c57a1c45dc6423267b4024..4a2c87a84c6857ed8aed7da0f83e6f29bcdc518d 100644 (file)
@@ -223,7 +223,7 @@ U_BOOT_DRIVER(sandbox_codec) = {
        .id             = UCLASS_AUDIO_CODEC,
        .of_match       = sandbox_codec_ids,
        .ops            = &sandbox_codec_ops,
-       .priv_auto_alloc_size   = sizeof(struct sandbox_codec_priv),
+       .priv_auto      = sizeof(struct sandbox_codec_priv),
 };
 
 static const struct i2s_ops sandbox_i2s_ops = {
@@ -241,7 +241,7 @@ U_BOOT_DRIVER(sandbox_i2s) = {
        .of_match       = sandbox_i2s_ids,
        .ops            = &sandbox_i2s_ops,
        .probe          = sandbox_i2s_probe,
-       .priv_auto_alloc_size   = sizeof(struct sandbox_i2s_priv),
+       .priv_auto      = sizeof(struct sandbox_i2s_priv),
 };
 
 static const struct sound_ops sandbox_sound_ops = {
@@ -262,6 +262,6 @@ U_BOOT_DRIVER(sandbox_sound) = {
        .id             = UCLASS_SOUND,
        .of_match       = sandbox_sound_ids,
        .ops            = &sandbox_sound_ops,
-       .priv_auto_alloc_size   = sizeof(struct sandbox_sound_priv),
+       .priv_auto      = sizeof(struct sandbox_sound_priv),
        .probe          = sandbox_sound_probe,
 };
index 92f4b0b924bab790b20c64b7604ef9d2bf9172be..0c71e01f3374154c891901faa422e73dade47260 100644 (file)
@@ -172,5 +172,5 @@ int sound_find_codec_i2s(struct udevice *dev)
 UCLASS_DRIVER(sound) = {
        .id             = UCLASS_SOUND,
        .name           = "sound",
-       .per_device_auto_alloc_size     = sizeof(struct sound_uc_priv),
+       .per_device_auto        = sizeof(struct sound_uc_priv),
 };
index 26d457255c94802f646814867433f159015d5604..8708fc44a9e6bbe0ee57d007c15c84bdc8b4d296 100644 (file)
@@ -253,5 +253,5 @@ U_BOOT_DRIVER(tegra_ahub) = {
        .of_match       = tegra_ahub_ids,
        .ops            = &tegra_ahub_ops,
        .probe          = tegra_ahub_probe,
-       .priv_auto_alloc_size   = sizeof(struct tegra_ahub_priv),
+       .priv_auto      = sizeof(struct tegra_ahub_priv),
 };
index 367e14454170a4c3f0508bb195e917b289850c6e..cb1e97d7a5ac3aa21b3860f3319ebb283f24fff7 100644 (file)
@@ -873,5 +873,5 @@ U_BOOT_DRIVER(wm8994) = {
        .of_match       = wm8994_ids,
        .probe          = wm8994_probe,
        .ops            = &wm8994_ops,
-       .priv_auto_alloc_size   = sizeof(struct wm8994_priv),
+       .priv_auto      = sizeof(struct wm8994_priv),
 };
index 61372c52b050b871ab4255cb0c0d4abff5af619a..bca2cfb090e60e76578c11c1c9cf4f2857f0bb5b 100644 (file)
@@ -203,7 +203,7 @@ U_BOOT_DRIVER(altera_spi) = {
        .of_match = altera_spi_ids,
        .ops    = &altera_spi_ops,
        .ofdata_to_platdata = altera_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct altera_spi_priv),
+       .platdata_auto  = sizeof(struct altera_spi_platdata),
+       .priv_auto      = sizeof(struct altera_spi_priv),
        .probe  = altera_spi_probe,
 };
index 39c6e226ba7548920081f1156486e96f03faa09b..82534d9c693e3880facdad08c6ee6d34a6ddd0f9 100644 (file)
@@ -409,6 +409,6 @@ U_BOOT_DRIVER(atcspi200_spi) = {
        .of_match = atcspi200_spi_ids,
        .ops = &atcspi200_spi_ops,
        .ofdata_to_platdata = atcspi200_ofdata_to_platadata,
-       .priv_auto_alloc_size = sizeof(struct nds_spi_slave),
+       .priv_auto      = sizeof(struct nds_spi_slave),
        .probe = atcspi200_spi_probe,
 };
index 70bedc7fbe36f887d81db8c5f75934634889b40a..e5d54faf7dff0a60202d62a96dc44302f7442260 100644 (file)
@@ -224,6 +224,6 @@ U_BOOT_DRIVER(ath79_spi) = {
        .id = UCLASS_SPI,
        .of_match = ath79_spi_ids,
        .ops    = &ath79_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct ath79_spi_priv),
+       .priv_auto      = sizeof(struct ath79_spi_priv),
        .probe  = ath79_spi_probe,
 };
index 9320a8be685bf928f77c96c925574ad74da342a8..b1a3aa9a297397fc519834281e472af41ad44073 100644 (file)
@@ -624,6 +624,6 @@ U_BOOT_DRIVER(atmel_qspi) = {
        .id             = UCLASS_SPI,
        .of_match       = atmel_qspi_ids,
        .ops            = &atmel_qspi_ops,
-       .priv_auto_alloc_size = sizeof(struct atmel_qspi),
+       .priv_auto      = sizeof(struct atmel_qspi),
        .probe          = atmel_qspi_probe,
 };
index c65733c87ac67ac0bcefa2732406c6667c497f51..873f854cc9a98361842965b28e9c7be87ff71179 100644 (file)
@@ -388,7 +388,7 @@ U_BOOT_DRIVER(atmel_spi) = {
        .id     = UCLASS_SPI,
        .of_match = atmel_spi_ids,
        .ops    = &atmel_spi_ops,
-       .platdata_auto_alloc_size = sizeof(struct atmel_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct atmel_spi_priv),
+       .platdata_auto  = sizeof(struct atmel_spi_platdata),
+       .priv_auto      = sizeof(struct atmel_spi_priv),
        .probe  = atmel_spi_probe,
 };
index f30a8a42bd459289302ae9b5b2dc8e58aede6dff..c4a04ba6fd21dba0f5856f990ff07d0f66994b1f 100644 (file)
@@ -403,7 +403,7 @@ U_BOOT_DRIVER(bcm63xx_hsspi) = {
        .id = UCLASS_SPI,
        .of_match = bcm63xx_hsspi_ids,
        .ops = &bcm63xx_hsspi_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm63xx_hsspi_priv),
+       .priv_auto      = sizeof(struct bcm63xx_hsspi_priv),
        .child_pre_probe = bcm63xx_hsspi_child_pre_probe,
        .probe = bcm63xx_hsspi_probe,
 };
index acc1a493c4ebf075c92b983cafe2d689db131f4a..97b72d263aedc1a2c036caf03b645eea33544cf8 100644 (file)
@@ -422,7 +422,7 @@ U_BOOT_DRIVER(bcm63xx_spi) = {
        .id = UCLASS_SPI,
        .of_match = bcm63xx_spi_ids,
        .ops = &bcm63xx_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm63xx_spi_priv),
+       .priv_auto      = sizeof(struct bcm63xx_spi_priv),
        .child_pre_probe = bcm63xx_spi_child_pre_probe,
        .probe = bcm63xx_spi_probe,
 };
index fb1dc46b704ca8f6b399e585bc4f438f7ff0cac7..d5ec2bccfb0bb061e499b11b7360298029b17dad 100644 (file)
@@ -434,6 +434,6 @@ U_BOOT_DRIVER(bcmstb_spi) = {
        .ops                            = &bcmstb_spi_ops,
        .ofdata_to_platdata             = bcmstb_spi_ofdata_to_platdata,
        .probe                          = bcmstb_spi_probe,
-       .platdata_auto_alloc_size       = sizeof(struct bcmstb_spi_platdata),
-       .priv_auto_alloc_size           = sizeof(struct bcmstb_spi_priv),
+       .platdata_auto  = sizeof(struct bcmstb_spi_platdata),
+       .priv_auto              = sizeof(struct bcmstb_spi_priv),
 };
index 1e8574920907ad8bff6401c2a3fc8b57518953d8..dcee7b770339f3f23fb82836d46fd01d6bc57138 100644 (file)
@@ -354,8 +354,8 @@ U_BOOT_DRIVER(cadence_spi) = {
        .of_match = cadence_spi_ids,
        .ops = &cadence_spi_ops,
        .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),
+       .platdata_auto  = sizeof(struct cadence_spi_platdata),
+       .priv_auto      = sizeof(struct cadence_spi_priv),
        .probe = cadence_spi_probe,
        .remove = cadence_spi_remove,
        .flags = DM_FLAG_OS_PREPARE,
index 8fa6d35107561ed2564d06b18965d2cad2c3d959..ec3bf6b6a4ad8d33c8080abdb6aec90ee3e4cc38 100644 (file)
@@ -452,9 +452,9 @@ U_BOOT_DRIVER(coldfire_spi) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = coldfire_spi_ids,
        .ofdata_to_platdata = coldfire_dspi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct coldfire_spi_platdata),
+       .platdata_auto  = sizeof(struct coldfire_spi_platdata),
 #endif
        .probe = coldfire_spi_probe,
        .ops = &coldfire_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct coldfire_spi_priv),
+       .priv_auto      = sizeof(struct coldfire_spi_priv),
 };
index a11433db1e9ac96808a662c1fc082cd1cdf1a08b..b69224e983292f9e0ef1f2cf77448aee8e11c3e2 100644 (file)
@@ -420,9 +420,9 @@ U_BOOT_DRIVER(davinci_spi) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = davinci_spi_ids,
        .ofdata_to_platdata = davinci_ofdata_to_platadata,
-        .platdata_auto_alloc_size = sizeof(struct davinci_spi_platdata),
+        .platdata_auto = sizeof(struct davinci_spi_platdata),
 #endif
        .probe = davinci_spi_probe,
        .ops = &davinci_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct davinci_spi_slave),
+       .priv_auto      = sizeof(struct davinci_spi_slave),
 };
index 2559aac2e942be0a1188d34b069742f7b1d3b9f1..8d48e04ed1f11159819855b3ddf3b024a8c96820 100644 (file)
@@ -560,8 +560,8 @@ U_BOOT_DRIVER(dw_spi) = {
        .of_match = dw_spi_ids,
        .ops = &dw_spi_ops,
        .ofdata_to_platdata = dw_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct dw_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct dw_spi_priv),
+       .platdata_auto  = sizeof(struct dw_spi_platdata),
+       .priv_auto      = sizeof(struct dw_spi_priv),
        .probe = dw_spi_probe,
        .remove = dw_spi_remove,
 };
index d338ff5a0bd149089620cea7c8de854d89019153..8a82e60f00876dfcef2c6d1bb3a7f0dfa1e756e4 100644 (file)
@@ -427,7 +427,7 @@ U_BOOT_DRIVER(exynos_spi) = {
        .of_match = exynos_spi_ids,
        .ops    = &exynos_spi_ops,
        .ofdata_to_platdata = exynos_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct exynos_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct exynos_spi_priv),
+       .platdata_auto  = sizeof(struct exynos_spi_platdata),
+       .priv_auto      = sizeof(struct exynos_spi_priv),
        .probe  = exynos_spi_probe,
 };
index b22c9b3a09dbb077fc804680a35bc294e6361e59..49577afe38be80b7040ccd8711e74b47027fc5a8 100644 (file)
@@ -660,8 +660,8 @@ U_BOOT_DRIVER(fsl_dspi) = {
        .of_match = fsl_dspi_ids,
        .ops    = &fsl_dspi_ops,
        .ofdata_to_platdata = fsl_dspi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct fsl_dspi_platdata),
-       .priv_auto_alloc_size = sizeof(struct fsl_dspi_priv),
+       .platdata_auto  = sizeof(struct fsl_dspi_platdata),
+       .priv_auto      = sizeof(struct fsl_dspi_priv),
        .probe  = fsl_dspi_probe,
        .child_pre_probe = fsl_dspi_child_pre_probe,
        .bind = fsl_dspi_bind,
index 5c76fd962e98e5386418fe29e84cdc60f69221f2..05539993793d6ffa6fd3496cdca9eca00f22409c 100644 (file)
@@ -576,8 +576,8 @@ U_BOOT_DRIVER(fsl_espi) = {
        .ofdata_to_platdata = fsl_espi_ofdata_to_platdata,
 #endif
        .ops    = &fsl_espi_ops,
-       .platdata_auto_alloc_size = sizeof(struct fsl_espi_platdata),
-       .priv_auto_alloc_size = sizeof(struct fsl_spi_slave),
+       .platdata_auto  = sizeof(struct fsl_espi_platdata),
+       .priv_auto      = sizeof(struct fsl_spi_slave),
        .probe  = fsl_espi_probe,
        .child_pre_probe = fsl_espi_child_pre_probe,
 };
index 128f95877f26ca0b0f72af4e543031a3a7833664..412d03170435d6c168b1f299249e5a07f1778d92 100644 (file)
@@ -887,6 +887,6 @@ U_BOOT_DRIVER(fsl_qspi) = {
        .id     = UCLASS_SPI,
        .of_match = fsl_qspi_ids,
        .ops    = &fsl_qspi_ops,
-       .priv_auto_alloc_size = sizeof(struct fsl_qspi),
+       .priv_auto      = sizeof(struct fsl_qspi),
        .probe  = fsl_qspi_probe,
 };
index a91cb785680a8ce127f3384d242944f44a842b3f..d2fc9e24fada7383f7ec27c295f5e6f018ebfb54 100644 (file)
@@ -1005,8 +1005,8 @@ U_BOOT_DRIVER(intel_fast_spi) = {
        .of_match = ich_spi_ids,
        .ops    = &ich_spi_ops,
        .ofdata_to_platdata = ich_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct ich_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct ich_spi_priv),
+       .platdata_auto  = sizeof(struct ich_spi_platdata),
+       .priv_auto      = sizeof(struct ich_spi_priv),
        .child_pre_probe = ich_spi_child_pre_probe,
        .probe  = ich_spi_probe,
        .remove = ich_spi_remove,
index dc7d2bc1f01cfad0bdcfb57ada32ce514ba61e35..22f0540998646c8a95480d7f7137d15a0d8e5650 100644 (file)
@@ -296,7 +296,7 @@ U_BOOT_DRIVER(mvebu_spi) = {
        .of_match = mvebu_spi_ids,
        .ops = &mvebu_spi_ops,
        .ofdata_to_platdata = mvebu_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct mvebu_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct mvebu_spi_priv),
+       .platdata_auto  = sizeof(struct mvebu_spi_platdata),
+       .priv_auto      = sizeof(struct mvebu_spi_priv),
        .probe = mvebu_spi_probe,
 };
index 2cdc0186825d2ac771928977dee3e93e67b223a2..d99a151406e607148cd40058e1e70f0e8d61f962 100644 (file)
@@ -318,5 +318,5 @@ U_BOOT_DRIVER(meson_spifc) = {
        .of_match       = meson_spifc_ids,
        .ops            = &meson_spifc_ops,
        .probe          = meson_spifc_probe,
-       .priv_auto_alloc_size = sizeof(struct meson_spifc_priv),
+       .priv_auto      = sizeof(struct meson_spifc_priv),
 };
index ec39c12b3de068ae6d1878b70b227447987535e3..378037f993ed43ef852728f2d9b13d2948f07eb3 100644 (file)
@@ -281,5 +281,5 @@ U_BOOT_DRIVER(mpc8xxx_spi) = {
        .ops    = &mpc8xxx_spi_ops,
        .ofdata_to_platdata = mpc8xxx_spi_ofdata_to_platdata,
        .probe  = mpc8xxx_spi_probe,
-       .priv_auto_alloc_size = sizeof(struct mpc8xxx_priv),
+       .priv_auto      = sizeof(struct mpc8xxx_priv),
 };
index e77447b65564192f96a99dfe8007a94ec00829b0..a1b617246dfa6c4ed3f8d920219dfb9db62f763e 100644 (file)
@@ -232,6 +232,6 @@ U_BOOT_DRIVER(mscc_bb) = {
        .id     = UCLASS_SPI,
        .of_match = mscc_bb_ids,
        .ops    = &mscc_bb_ops,
-       .priv_auto_alloc_size = sizeof(struct mscc_bb_priv),
+       .priv_auto      = sizeof(struct mscc_bb_priv),
        .probe  = mscc_bb_spi_probe,
 };
index 3a0738eb2b72e89c524d4a070a67f20cf1772add..eb0931747b747a866c7eff356ec4ab560e5fb10a 100644 (file)
@@ -304,6 +304,6 @@ U_BOOT_DRIVER(mt7621_spi) = {
        .id = UCLASS_SPI,
        .of_match = mt7621_spi_ids,
        .ops = &mt7621_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct mt7621_spi),
+       .priv_auto      = sizeof(struct mt7621_spi),
        .probe = mt7621_spi_probe,
 };
index c30c8f4ff6d3d4aa93a87e04be5ad4937eab9e9d..b6ab5fa3ada96abbcdba56832ff9aab843854e6d 100644 (file)
@@ -313,6 +313,6 @@ U_BOOT_DRIVER(mtk_snfi_spi) = {
        .id                     = UCLASS_SPI,
        .of_match               = mtk_snfi_spi_ids,
        .ops                    = &mtk_snfi_spi_ops,
-       .priv_auto_alloc_size   = sizeof(struct mtk_snfi_priv),
+       .priv_auto      = sizeof(struct mtk_snfi_priv),
        .probe                  = mtk_snfi_spi_probe,
 };
index eb13cf349efe4421a8ac8e36e8f7e49ea22642e1..b9e058acaa190ae7c6c8f46eeb59ae9076775d13 100644 (file)
@@ -325,7 +325,7 @@ U_BOOT_DRIVER(mvebu_spi) = {
        .of_match = mvebu_spi_ids,
        .ops = &mvebu_spi_ops,
        .ofdata_to_platdata = mvebu_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct mvebu_spi_platdata),
+       .platdata_auto  = sizeof(struct mvebu_spi_platdata),
        .probe = mvebu_spi_probe,
        .remove = mvebu_spi_remove,
 };
index e90a06a66dec6d4eb8f5b32dbb08a9409e35dc0e..f571392e7693fdb88a5185c2bee52eb25e9fccd4 100644 (file)
@@ -605,7 +605,7 @@ U_BOOT_DRIVER(mxc_spi) = {
        .id     = UCLASS_SPI,
        .of_match = mxc_spi_ids,
        .ops    = &mxc_spi_ops,
-       .platdata_auto_alloc_size = sizeof(struct mxc_spi_slave),
+       .platdata_auto  = sizeof(struct mxc_spi_slave),
        .probe  = mxc_spi_probe,
 };
 #endif
index fb0af02be087f7fb24718e7459620b5fdb31c465..57e7a2eae6765aacb01423c52ac17b79ec341467 100644 (file)
@@ -487,9 +487,9 @@ U_BOOT_DRIVER(fsl_imx23_spi) = {
        .of_match = mxs_spi_ids,
        .ofdata_to_platdata = mxs_ofdata_to_platdata,
 #endif
-       .platdata_auto_alloc_size = sizeof(struct mxs_spi_platdata),
+       .platdata_auto  = sizeof(struct mxs_spi_platdata),
        .ops    = &mxs_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct mxs_spi_priv),
+       .priv_auto      = sizeof(struct mxs_spi_priv),
        .probe  = mxs_spi_probe,
 };
 
index 9661e9e10d7e47e97fbf83a87b8c2ef56667bc60..96f981a1192e8190c674319f7d4e68b72c45f912 100644 (file)
@@ -994,6 +994,6 @@ U_BOOT_DRIVER(nxp_fspi) = {
        .of_match = nxp_fspi_ids,
        .ops    = &nxp_fspi_ops,
        .ofdata_to_platdata = nxp_fspi_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct nxp_fspi),
+       .priv_auto      = sizeof(struct nxp_fspi),
        .probe  = nxp_fspi_probe,
 };
index 7e88e5580f79340cf1f50dbec2bbd30ce2fe5473..c0c248d190c01f6e450aeeed95266e490eed2174 100644 (file)
@@ -611,6 +611,6 @@ U_BOOT_DRIVER(octeon_spi) = {
        .id                     = UCLASS_SPI,
        .of_match               = octeon_spi_ids,
        .probe                  = octeon_spi_probe,
-       .priv_auto_alloc_size   = sizeof(struct octeon_spi),
+       .priv_auto      = sizeof(struct octeon_spi),
        .ops                    = &octeon_spi_ops,
 };
index 56cb2174868e05744e3a2ff2d6ed079884531924..1beaea778877d8faccb4de9c51af4450badac667 100644 (file)
@@ -507,9 +507,9 @@ U_BOOT_DRIVER(omap3_spi) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .of_match = omap3_spi_ids,
        .ofdata_to_platdata = omap3_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct omap3_spi_plat),
+       .platdata_auto  = sizeof(struct omap3_spi_plat),
 #endif
        .probe = omap3_spi_probe,
        .ops    = &omap3_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct omap3_spi_priv),
+       .priv_auto      = sizeof(struct omap3_spi_priv),
 };
index 52e9eff743c83c2db3362284053a5cf9c4865d1f..b208000caac869f9df68739065885faba3ef911e 100644 (file)
@@ -444,6 +444,6 @@ U_BOOT_DRIVER(pic32_spi) = {
        .id             = UCLASS_SPI,
        .of_match       = pic32_spi_ids,
        .ops            = &pic32_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct pic32_spi_priv),
+       .priv_auto      = sizeof(struct pic32_spi_priv),
        .probe          = pic32_spi_probe,
 };
index 32bb8c8d2127f6663341e5f825b71a05a7fa9230..e9fd618562ac3bcd3f0b4ee9a0b83a6dadcb2310 100644 (file)
@@ -319,7 +319,7 @@ U_BOOT_DRIVER(pl022_spi) = {
        .ofdata_to_platdata = pl022_spi_ofdata_to_platdata,
 #endif
        .ops    = &pl022_spi_ops,
-       .platdata_auto_alloc_size = sizeof(struct pl022_spi_pdata),
-       .priv_auto_alloc_size = sizeof(struct pl022_spi_slave),
+       .platdata_auto  = sizeof(struct pl022_spi_pdata),
+       .priv_auto      = sizeof(struct pl022_spi_slave),
        .probe  = pl022_spi_probe,
 };
index d0ff918af88ca3a34c73f37e05410b3105cbb84f..7018814f9cbe0ce17876c1766c743712c57e3474 100644 (file)
@@ -464,8 +464,8 @@ U_BOOT_DRIVER(rpc_spi) = {
        .of_match       = rpc_spi_ids,
        .ops            = &rpc_spi_ops,
        .ofdata_to_platdata = rpc_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct rpc_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct rpc_spi_priv),
+       .platdata_auto  = sizeof(struct rpc_spi_platdata),
+       .priv_auto      = sizeof(struct rpc_spi_priv),
        .bind           = rpc_spi_bind,
        .probe          = rpc_spi_probe,
 };
index c5363c24190dc4ecaabcc1cef31767ff56150106..cf9084c357a721869a5b78bc339fab9a051e721e 100644 (file)
@@ -561,8 +561,8 @@ U_BOOT_DRIVER(rockchip_rk3288_spi) = {
        .of_match = rockchip_spi_ids,
        .ops    = &rockchip_spi_ops,
        .ofdata_to_platdata = rockchip_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct rockchip_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct rockchip_spi_priv),
+       .platdata_auto  = sizeof(struct rockchip_spi_platdata),
+       .priv_auto      = sizeof(struct rockchip_spi_priv),
        .probe  = rockchip_spi_probe,
 };
 
index aa1c03047e286c53bdcc7065b0522664193f1ddf..35381c16b34ed548093401f0e069852c7ce1451a 100644 (file)
@@ -354,7 +354,7 @@ U_BOOT_DRIVER(sh_qspi) = {
        .of_match       = sh_qspi_ids,
        .ops            = &sh_qspi_ops,
        .ofdata_to_platdata = sh_qspi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct sh_qspi_slave),
+       .platdata_auto  = sizeof(struct sh_qspi_slave),
        .probe          = sh_qspi_probe,
 };
 #endif
index 153bbf8b2557e8d7d72cd013948da2093554ea8b..c71357795d32eb9d9670ad19c3d01a3fa8b0a44c 100644 (file)
@@ -281,7 +281,7 @@ U_BOOT_DRIVER(soft_spi) = {
        .of_match = soft_spi_ids,
        .ops    = &soft_spi_ops,
        .ofdata_to_platdata = soft_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct soft_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct soft_spi_priv),
+       .platdata_auto  = sizeof(struct soft_spi_platdata),
+       .priv_auto      = sizeof(struct soft_spi_priv),
        .probe  = soft_spi_probe,
 };
index 6f8df55fa56ded0e7e17e78b93d8c7874683cf52..721d65426bc37b7c2ae36fdad08e989daaaf47d7 100644 (file)
@@ -798,6 +798,6 @@ U_BOOT_DRIVER(spi_qup) = {
        .id     = UCLASS_SPI,
        .of_match = qup_spi_ids,
        .ops    = &qup_spi_ops,
-       .priv_auto_alloc_size   = sizeof(struct qup_spi_priv),
+       .priv_auto      = sizeof(struct qup_spi_priv),
        .probe  = qup_spi_probe,
 };
index c7345d904280138a95b827bed8c1bac27fb4a50f..fdbcdb8f43a4f8f66d4b92d9fd5d024d9049acf6 100644 (file)
@@ -475,6 +475,6 @@ U_BOOT_DRIVER(sifive_spi) = {
        .id     = UCLASS_SPI,
        .of_match = sifive_spi_ids,
        .ops    = &sifive_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct sifive_spi),
+       .priv_auto      = sizeof(struct sifive_spi),
        .probe  = sifive_spi_probe,
 };
index 0844a5a0a6ac10e1f197f5deedc819fc8c07066d..84c1ece409b1e6f62fe600b95fc9159718e8971b 100644 (file)
@@ -631,7 +631,7 @@ U_BOOT_DRIVER(sun4i_spi) = {
        .of_match       = sun4i_spi_ids,
        .ops    = &sun4i_spi_ops,
        .ofdata_to_platdata     = sun4i_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size       = sizeof(struct sun4i_spi_platdata),
-       .priv_auto_alloc_size   = sizeof(struct sun4i_spi_priv),
+       .platdata_auto  = sizeof(struct sun4i_spi_platdata),
+       .priv_auto      = sizeof(struct sun4i_spi_priv),
        .probe  = sun4i_spi_probe,
 };
index 55a8eed89010b463d0256e9934d87f74da1a8255..b48d2415ff50f456bcabd7fd97ca4a1e8eecf589 100644 (file)
@@ -502,9 +502,9 @@ UCLASS_DRIVER(spi) = {
 #endif
        .post_probe     = spi_post_probe,
        .child_pre_probe = spi_child_pre_probe,
-       .per_device_auto_alloc_size = sizeof(struct dm_spi_bus),
-       .per_child_auto_alloc_size = sizeof(struct spi_slave),
-       .per_child_platdata_auto_alloc_size =
+       .per_device_auto        = sizeof(struct dm_spi_bus),
+       .per_child_auto = sizeof(struct spi_slave),
+       .per_child_platdata_auto        =
                        sizeof(struct dm_spi_slave_platdata),
 #if !CONFIG_IS_ENABLED(OF_PLATDATA)
        .child_post_bind = spi_child_post_bind,
index a53b941410dd2b274636bc30a46efffd392e0c5e..44317780ebac8f75eeaec9f6d3650df2bce0fed0 100644 (file)
@@ -541,6 +541,6 @@ U_BOOT_DRIVER(stm32_qspi) = {
        .id = UCLASS_SPI,
        .of_match = stm32_qspi_ids,
        .ops = &stm32_qspi_ops,
-       .priv_auto_alloc_size = sizeof(struct stm32_qspi_priv),
+       .priv_auto      = sizeof(struct stm32_qspi_priv),
        .probe = stm32_qspi_probe,
 };
index 4a0833b6fa949cb00b89af3d6f20b0562086cd93..4c7fee6fbb13e4ec7c6a03816685515510e9f53e 100644 (file)
@@ -615,7 +615,7 @@ U_BOOT_DRIVER(stm32_spi) = {
        .id                     = UCLASS_SPI,
        .of_match               = stm32_spi_ids,
        .ops                    = &stm32_spi_ops,
-       .priv_auto_alloc_size   = sizeof(struct stm32_spi_priv),
+       .priv_auto      = sizeof(struct stm32_spi_priv),
        .probe                  = stm32_spi_probe,
        .remove                 = stm32_spi_remove,
 };
index 0e8198c5a022665220c3fe4d69ef48728edbd300..3848f9f31b22e6a9ec52f34acf2e0286b94e1c3b 100644 (file)
@@ -394,7 +394,7 @@ U_BOOT_DRIVER(tegra114_spi) = {
        .of_match = tegra114_spi_ids,
        .ops    = &tegra114_spi_ops,
        .ofdata_to_platdata = tegra114_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct tegra_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct tegra114_spi_priv),
+       .platdata_auto  = sizeof(struct tegra_spi_platdata),
+       .priv_auto      = sizeof(struct tegra114_spi_priv),
        .probe  = tegra114_spi_probe,
 };
index 771744dfe4382055eac859ce630ef4340625a01f..bc39e8b9aa408460f139e8c7ee3dc94297be4bca 100644 (file)
@@ -354,7 +354,7 @@ U_BOOT_DRIVER(tegra20_sflash) = {
        .of_match = tegra20_sflash_ids,
        .ops    = &tegra20_sflash_ops,
        .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),
+       .platdata_auto  = sizeof(struct tegra_spi_platdata),
+       .priv_auto      = sizeof(struct tegra20_sflash_priv),
        .probe  = tegra20_sflash_probe,
 };
index f9846ee3665e7ab5c692dfe18877116bd24c03e1..9bec7413e7f3ebdedf36284b025d2f2fc0337803 100644 (file)
@@ -373,7 +373,7 @@ U_BOOT_DRIVER(tegra30_spi) = {
        .of_match = tegra30_spi_ids,
        .ops    = &tegra30_spi_ops,
        .ofdata_to_platdata = tegra30_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct tegra_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct tegra30_spi_priv),
+       .platdata_auto  = sizeof(struct tegra_spi_platdata),
+       .priv_auto      = sizeof(struct tegra30_spi_priv),
        .probe  = tegra30_spi_probe,
 };
index ae16b45dcb47f249dbcc09e353ad5cf7bfb5473f..c851a7a68d00605307516377da37d97ecc2613f9 100644 (file)
@@ -423,8 +423,8 @@ U_BOOT_DRIVER(tegra210_qspi) = {
        .of_match = tegra210_qspi_ids,
        .ops = &tegra210_qspi_ops,
        .ofdata_to_platdata = tegra210_qspi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct tegra_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct tegra210_qspi_priv),
-       .per_child_auto_alloc_size = sizeof(struct spi_slave),
+       .platdata_auto  = sizeof(struct tegra_spi_platdata),
+       .priv_auto      = sizeof(struct tegra210_qspi_priv),
+       .per_child_auto = sizeof(struct spi_slave),
        .probe = tegra210_qspi_probe,
 };
index 5fdbb494420f30a35a11a547d326fcc4f2f764cc..77353ba375210c4bc2b1f59f86579a7e792792f4 100644 (file)
@@ -505,6 +505,6 @@ U_BOOT_DRIVER(ti_qspi) = {
        .of_match = ti_qspi_ids,
        .ops    = &ti_qspi_ops,
        .ofdata_to_platdata = ti_qspi_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct ti_qspi_priv),
+       .priv_auto      = sizeof(struct ti_qspi_priv),
        .probe  = ti_qspi_probe,
 };
index b6456685f8d45e0ed0b83c38039e26ed175d2778..048d74f1f890a71c24c2748d5a2ca5f2fd4864fb 100644 (file)
@@ -412,7 +412,7 @@ U_BOOT_DRIVER(uniphier_spi) = {
        .of_match = uniphier_spi_ids,
        .ops    = &uniphier_spi_ops,
        .ofdata_to_platdata = uniphier_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct uniphier_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct uniphier_spi_priv),
+       .platdata_auto  = sizeof(struct uniphier_spi_platdata),
+       .priv_auto      = sizeof(struct uniphier_spi_priv),
        .probe  = uniphier_spi_probe,
 };
index 47a5571aecd7483ebaebc21a944ffa885fd99247..af7a7b26552dcff68e5d00eeffedbae9cb54ef16 100644 (file)
@@ -364,6 +364,6 @@ U_BOOT_DRIVER(xilinx_spi) = {
        .id     = UCLASS_SPI,
        .of_match = xilinx_spi_ids,
        .ops    = &xilinx_spi_ops,
-       .priv_auto_alloc_size = sizeof(struct xilinx_spi_priv),
+       .priv_auto      = sizeof(struct xilinx_spi_priv),
        .probe  = xilinx_spi_probe,
 };
index f2eddec950a594618f38699a1f48c9fcbf5c4498..d11b0d6a4fd9c60c0c9a04bc3a80105633c91cce 100644 (file)
@@ -667,7 +667,7 @@ U_BOOT_DRIVER(zynq_qspi) = {
        .of_match = zynq_qspi_ids,
        .ops    = &zynq_qspi_ops,
        .ofdata_to_platdata = zynq_qspi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct zynq_qspi_platdata),
-       .priv_auto_alloc_size = sizeof(struct zynq_qspi_priv),
+       .platdata_auto  = sizeof(struct zynq_qspi_platdata),
+       .priv_auto      = sizeof(struct zynq_qspi_priv),
        .probe  = zynq_qspi_probe,
 };
index cb911c34f68dbd74aac922b40c20d31c05401535..d26c2f6ef61bfa8a30189e4d03e0a7b6357b97a3 100644 (file)
@@ -372,7 +372,7 @@ U_BOOT_DRIVER(zynq_spi) = {
        .of_match = zynq_spi_ids,
        .ops    = &zynq_spi_ops,
        .ofdata_to_platdata = zynq_spi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct zynq_spi_platdata),
-       .priv_auto_alloc_size = sizeof(struct zynq_spi_priv),
+       .platdata_auto  = sizeof(struct zynq_spi_platdata),
+       .priv_auto      = sizeof(struct zynq_spi_priv),
        .probe  = zynq_spi_probe,
 };
index e0e668703776ddb8905fd43367a37f5f67aa7b65..4585222507b4b0e333d5b3b91d3a32b1ac876289 100644 (file)
@@ -728,7 +728,7 @@ U_BOOT_DRIVER(zynqmp_qspi) = {
        .of_match = zynqmp_qspi_ids,
        .ops    = &zynqmp_qspi_ops,
        .ofdata_to_platdata = zynqmp_qspi_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct zynqmp_qspi_platdata),
-       .priv_auto_alloc_size = sizeof(struct zynqmp_qspi_priv),
+       .platdata_auto  = sizeof(struct zynqmp_qspi_platdata),
+       .priv_auto      = sizeof(struct zynqmp_qspi_priv),
        .probe  = zynqmp_qspi_probe,
 };
index 2f430aed9cb8473aa060aed481198fd93bc76408..7f21443f6ae35eb3f965c261d88b1898daedb66e 100644 (file)
@@ -194,5 +194,5 @@ U_BOOT_DRIVER(msm_spmi) = {
        .of_match = msm_spmi_ids,
        .ops = &msm_spmi_ops,
        .probe = msm_spmi_probe,
-       .priv_auto_alloc_size = sizeof(struct msm_spmi_priv),
+       .priv_auto      = sizeof(struct msm_spmi_priv),
 };
index 0da419c50529487a57db4e32903adde62abc7992..f6772946bca377397c2f9ef0f5f1aad0f61b61de 100644 (file)
@@ -151,5 +151,5 @@ U_BOOT_DRIVER(msm_spmi) = {
        .of_match = sandbox_spmi_ids,
        .ops = &sandbox_spmi_ops,
        .probe = sandbox_spmi_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_spmi_priv),
+       .priv_auto      = sizeof(struct sandbox_spmi_priv),
 };
index 9e7a496655454443adb1667c5ab5aa3fe3283b7b..c1fae6ccf2a63e4578203c037f29dfb37c33a897 100644 (file)
@@ -260,6 +260,6 @@ U_BOOT_DRIVER(sysinfo_gazerbeam) = {
        .id             = UCLASS_SYSINFO,
        .of_match       = sysinfo_gazerbeam_ids,
        .ops            = &sysinfo_gazerbeam_ops,
-       .priv_auto_alloc_size = sizeof(struct sysinfo_gazerbeam_priv),
+       .priv_auto      = sizeof(struct sysinfo_gazerbeam_priv),
        .probe          = sysinfo_gazerbeam_probe,
 };
index 62a1cb4ac65f51e47f1a163c880d627cd6eb6157..d270a26aa4381d7bde9498bfc95b3883a2e87125 100644 (file)
@@ -102,6 +102,6 @@ U_BOOT_DRIVER(sysinfo_sandbox) = {
        .id             = UCLASS_SYSINFO,
        .of_match       = sysinfo_sandbox_ids,
        .ops            = &sysinfo_sandbox_ops,
-       .priv_auto_alloc_size = sizeof(struct sysinfo_sandbox_priv),
+       .priv_auto      = sizeof(struct sysinfo_sandbox_priv),
        .probe          = sysinfo_sandbox_probe,
 };
index ac482c37f48f14ccef8b8873f610571ee7c77c12..a5c24fd85bca9734261bc5a065dc22ad52ba2df8 100644 (file)
@@ -87,6 +87,6 @@ U_BOOT_DRIVER(poweroff_gpio) = {
        .id             = UCLASS_SYSRESET,
        .ops            = &poweroff_gpio_ops,
        .probe          = poweroff_gpio_probe,
-       .priv_auto_alloc_size = sizeof(struct poweroff_gpio_info),
+       .priv_auto      = sizeof(struct poweroff_gpio_info),
        .of_match       = poweroff_gpio_ids,
 };
index 7707c72bb5e4517a20217a86d6c2a64f8649921a..81bfd67ad990efddec3119a6782230370d59b395 100644 (file)
@@ -70,6 +70,6 @@ U_BOOT_DRIVER(ti_sci_sysreset) = {
        .id = UCLASS_SYSRESET,
        .of_match = ti_sci_sysreset_of_match,
        .probe = ti_sci_sysreset_probe,
-       .priv_auto_alloc_size = sizeof(struct ti_sci_sysreset_data),
+       .priv_auto      = sizeof(struct ti_sci_sysreset_data),
        .ops = &ti_sci_sysreset_ops,
 };
index d7280eeda86bdbbb2199b3864a46fd2c1764b901..680b759eb3cc49fcf53498b1ded1627a8b907444 100644 (file)
@@ -55,6 +55,6 @@ U_BOOT_DRIVER(gpio_reboot) = {
        .name = "gpio_restart",
        .of_match = led_gpio_ids,
        .ops = &gpio_reboot_ops,
-       .priv_auto_alloc_size = sizeof(struct gpio_reboot_priv),
+       .priv_auto      = sizeof(struct gpio_reboot_priv),
        .probe = gpio_reboot_probe,
 };
index a05dac3226e86d6a7881dc40028ebaea8ed63e8d..ebdea6ab66edfafc4492b62ebc3c8807f87f99a0 100644 (file)
@@ -45,7 +45,7 @@ static const struct udevice_id octeon_sysreset_ids[] = {
 U_BOOT_DRIVER(sysreset_octeon) = {
        .id     = UCLASS_SYSRESET,
        .name   = "octeon_sysreset",
-       .priv_auto_alloc_size = sizeof(struct octeon_sysreset_data),
+       .priv_auto      = sizeof(struct octeon_sysreset_data),
        .ops    = &octeon_sysreset,
        .probe  = octeon_sysreset_probe,
        .of_match = octeon_sysreset_ids,
index b8203ba60594a297f5a77fcbe0d090f6813de8a0..c039521eb432bc68178ad5afda707fface7427f4 100644 (file)
@@ -43,6 +43,6 @@ U_BOOT_DRIVER(resetctl_reboot) = {
        .name = "resetctl_reboot",
        .of_match = resetctl_reboot_ids,
        .ops = &resetctl_reboot_ops,
-       .priv_auto_alloc_size = sizeof(struct resetctl_reboot_priv),
+       .priv_auto      = sizeof(struct resetctl_reboot_priv),
        .probe = resetctl_reboot_probe,
 };
index 67cec6563a2c0c927bac228dec82aa50cad8cf81..e38296ac3f35548ef618409782790e65c8c2434d 100644 (file)
@@ -51,7 +51,7 @@ static struct sysreset_ops socfpga_sysreset = {
 U_BOOT_DRIVER(sysreset_socfpga) = {
        .id     = UCLASS_SYSRESET,
        .name   = "socfpga_sysreset",
-       .priv_auto_alloc_size = sizeof(struct socfpga_sysreset_data),
+       .priv_auto      = sizeof(struct socfpga_sysreset_data),
        .ops    = &socfpga_sysreset,
        .probe  = socfpga_sysreset_probe,
 };
index 3482d2a07875049fb13a624031275aebaa01f973..2e9b713368aefdc41ea851259c5584143fd31eb4 100644 (file)
@@ -79,5 +79,5 @@ U_BOOT_DRIVER(sysreset_sti) = {
        .ops = &sti_sysreset,
        .probe = sti_sysreset_probe,
        .of_match = sti_sysreset_ids,
-       .priv_auto_alloc_size = sizeof(struct sti_sysreset_priv),
+       .priv_auto      = sizeof(struct sti_sysreset_priv),
 };
index 1c47486614546b41e16060d800090e77fb13482f..28fdfb09781982ae2eba8d43654740ad90c014b3 100644 (file)
@@ -87,6 +87,6 @@ U_BOOT_DRIVER(syscon_reboot) = {
        .id = UCLASS_SYSRESET,
        .of_match = syscon_reboot_ids,
        .probe = syscon_reboot_probe,
-       .priv_auto_alloc_size = sizeof(struct syscon_reboot_priv),
+       .priv_auto      = sizeof(struct syscon_reboot_priv),
        .ops = &syscon_reboot_ops,
 };
index d500d413261c2bfa4acd2e726c338dad3901ca81..0dc2d8b9b65ed7ce745d56c04d3ab6db7cdfc85e 100644 (file)
@@ -54,6 +54,6 @@ U_BOOT_DRIVER(wdt_reboot) = {
        .id = UCLASS_SYSRESET,
        .of_match = wdt_reboot_ids,
        .ops = &wdt_reboot_ops,
-       .priv_auto_alloc_size = sizeof(struct wdt_reboot_priv),
+       .priv_auto      = sizeof(struct wdt_reboot_priv),
        .probe = wdt_reboot_probe,
 };
index 7682ffbd2944d974765a99c3bd9c909a97fe91fb..5c3dd35cfb266801b51d0858694ea0dfcff35e3d 100644 (file)
@@ -154,5 +154,5 @@ U_BOOT_DRIVER(x86_reset) = {
        .of_match = x86_sysreset_ids,
        .ops = &x86_sysreset_ops,
        .probe = x86_sysreset_probe,
-       .platdata_auto_alloc_size       = sizeof(struct x86_sysreset_platdata),
+       .platdata_auto  = sizeof(struct x86_sysreset_platdata),
 };
index 66ade37cd4055b8ee39fe570f46067e3a695d546..142bf17668ab14353ad5eaf4b08446b8c5b7639b 100644 (file)
@@ -661,6 +661,6 @@ U_BOOT_DRIVER(optee) = {
        .ofdata_to_platdata = optee_ofdata_to_platdata,
        .probe = optee_probe,
        .ops = &optee_ops,
-       .platdata_auto_alloc_size = sizeof(struct optee_pdata),
-       .priv_auto_alloc_size = sizeof(struct optee_private),
+       .platdata_auto  = sizeof(struct optee_pdata),
+       .priv_auto      = sizeof(struct optee_private),
 };
index 4b91e7db1bc65548543d3faa985db0024fe97f51..e1ba027fd6e06b1ae5186d8693cc5d936af00511 100644 (file)
@@ -385,7 +385,7 @@ U_BOOT_DRIVER(sandbox_tee) = {
        .id = UCLASS_TEE,
        .of_match = sandbox_tee_match,
        .ops = &sandbox_tee_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_tee_state),
+       .priv_auto      = sizeof(struct sandbox_tee_state),
        .probe = sandbox_tee_probe,
        .remove = sandbox_tee_remove,
 };
index 112e216883447a31dc9e34674fc2e820413f91b1..2cc6b6c407dba34b71deec4e6f98f95546ea7444 100644 (file)
@@ -205,7 +205,7 @@ static int tee_pre_remove(struct udevice *dev)
 UCLASS_DRIVER(tee) = {
        .id = UCLASS_TEE,
        .name = "tee",
-       .per_device_auto_alloc_size = sizeof(struct tee_uclass_priv),
+       .per_device_auto        = sizeof(struct tee_uclass_priv),
        .pre_probe = tee_pre_probe,
        .pre_remove = tee_pre_remove,
 };
index 83ec753802acc0e99d016bad41f349ef221f9df2..d76a3e01ecb50f0ea6c3c42eee2e4cd94f26ef5d 100644 (file)
@@ -211,6 +211,6 @@ U_BOOT_DRIVER(imx_sc_thermal) = {
        .bind = imx_sc_thermal_bind,
        .probe  = imx_sc_thermal_probe,
        .ofdata_to_platdata = imx_sc_thermal_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct imx_sc_thermal_plat),
+       .platdata_auto  = sizeof(struct imx_sc_thermal_plat),
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 101bd5ef2d743f39a5b49627a55e10bfac9e7466..8898268a5744de22caa1f93a88d9772c8377214a 100644 (file)
@@ -274,6 +274,6 @@ U_BOOT_DRIVER(imx_thermal) = {
        .id     = UCLASS_THERMAL,
        .ops    = &imx_thermal_ops,
        .probe  = imx_thermal_probe,
-       .priv_auto_alloc_size = sizeof(struct thermal_data),
+       .priv_auto      = sizeof(struct thermal_data),
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 936068c6cba1cad7f76dc2b4fc2d7403e8967ed8..4c8371771c9a249761013b0629450bd854ec3e3f 100644 (file)
@@ -463,6 +463,6 @@ U_BOOT_DRIVER(imx_tmu) = {
        .of_match = imx_tmu_ids,
        .bind = imx_tmu_bind,
        .probe  = imx_tmu_probe,
-       .platdata_auto_alloc_size = sizeof(struct imx_tmu_plat),
+       .platdata_auto  = sizeof(struct imx_tmu_plat),
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 8b332f116c3e79e9b5632d1e6adb7cfce2c7def3..0b533d4c420aae877d00fac1feed37636983245b 100644 (file)
@@ -194,5 +194,5 @@ U_BOOT_DRIVER(ti_bandgap_thermal) = {
        .ops    = &ti_thermal_ops,
        .probe  = ti_bandgap_probe,
        .of_match = of_ti_bandgap_match,
-       .priv_auto_alloc_size = sizeof(struct ti_bandgap),
+       .priv_auto      = sizeof(struct ti_bandgap),
 };
index 23ad5b2b67abe821de336e1615bb7e5f1d9547df..f014ed657956541e98e2cff2ead229e969181b3e 100644 (file)
@@ -111,7 +111,7 @@ U_BOOT_DRIVER(altera_timer) = {
        .id     = UCLASS_TIMER,
        .of_match = ag101p_timer_ids,
        .ofdata_to_platdata = atftme_timer_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct atftmr_timer_platdata),
+       .platdata_auto  = sizeof(struct atftmr_timer_platdata),
        .probe = atftmr_timer_probe,
        .ops    = &ag101p_timer_ops,
 };
index ccc164ee17629260f835d8091e060f0739f76766..ad50380f04dfc85013ffe1a0b1f98e8e665b5da4 100644 (file)
@@ -88,7 +88,7 @@ U_BOOT_DRIVER(altera_timer) = {
        .id     = UCLASS_TIMER,
        .of_match = altera_timer_ids,
        .ofdata_to_platdata = altera_timer_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct altera_timer_platdata),
+       .platdata_auto  = sizeof(struct altera_timer_platdata),
        .probe = altera_timer_probe,
        .ops    = &altera_timer_ops,
 };
index 2dea9f40cba8e9814a66a373a20461d252173e85..904950457c7ff9c701668c7db857449cb049ac4f 100644 (file)
@@ -105,5 +105,5 @@ U_BOOT_DRIVER(arc_timer) = {
        .of_match = arc_timer_ids,
        .probe = arc_timer_probe,
        .ops    = &arc_timer_ops,
-       .priv_auto_alloc_size = sizeof(struct arc_timer_priv),
+       .priv_auto      = sizeof(struct arc_timer_priv),
 };
index 35369a4087f56858350623954877305f056a6b06..9ad446054ec9f84b5f2753d73d88d4f7ebc5979d 100644 (file)
@@ -86,7 +86,7 @@ U_BOOT_DRIVER(ast_timer) = {
        .id = UCLASS_TIMER,
        .of_match = ast_timer_ids,
        .probe = ast_timer_probe,
-       .priv_auto_alloc_size = sizeof(struct ast_timer_priv),
+       .priv_auto      = sizeof(struct ast_timer_priv),
        .ofdata_to_platdata = ast_timer_ofdata_to_platdata,
        .ops = &ast_timer_ops,
 };
index fcb8a45358142eb1461f31c629919a96f2dbde5c..e574eabebc025ec20058a9438882041ed06480ab 100644 (file)
@@ -106,7 +106,7 @@ U_BOOT_DRIVER(atcpit100_timer) = {
        .id     = UCLASS_TIMER,
        .of_match = atcpit_timer_ids,
        .ofdata_to_platdata = atcpit_timer_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct atcpit_timer_platdata),
+       .platdata_auto  = sizeof(struct atcpit_timer_platdata),
        .probe = atcpit_timer_probe,
        .ops    = &atcpit_timer_ops,
 };
index 9f0ad1d703f88d8d7d6ebba15734b1ac60fe6d55..a0daf49dad226b94837de88a0f787ab7317b7688 100644 (file)
@@ -81,7 +81,7 @@ U_BOOT_DRIVER(atmel_pit) = {
        .id     = UCLASS_TIMER,
        .of_match = atmel_pit_ids,
        .ofdata_to_platdata = atmel_pit_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct atmel_pit_platdata),
+       .platdata_auto  = sizeof(struct atmel_pit_platdata),
        .probe  = atmel_pit_probe,
        .ops    = &atmel_pit_ops,
 };
index bebb2c2e904d44752a21650d94e5aa0b6fe2fc77..7107bf2472a204d8c249c94c40d4f4fd462984c5 100644 (file)
@@ -110,7 +110,7 @@ U_BOOT_DRIVER(cadence_ttc) = {
        .id = UCLASS_TIMER,
        .of_match = cadence_ttc_ids,
        .ofdata_to_platdata = cadence_ttc_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct cadence_ttc_priv),
+       .priv_auto      = sizeof(struct cadence_ttc_priv),
        .probe = cadence_ttc_probe,
        .ops = &cadence_ttc_ops,
 };
index 68bc258131be5e1d8dfc0100a2b774e22a3467f8..8ef36d4c2b6fd214dd7fac496195070aced2268c 100644 (file)
@@ -99,5 +99,5 @@ U_BOOT_DRIVER(dw_apb_timer) = {
        .of_match       = dw_apb_timer_ids,
        .ofdata_to_platdata = dw_apb_timer_ofdata_to_platdata,
        .remove         = dw_apb_timer_remove,
-       .priv_auto_alloc_size = sizeof(struct dw_apb_timer_priv),
+       .priv_auto      = sizeof(struct dw_apb_timer_priv),
 };
index ad962098b3d017bd09f395805cfffbfe3ca33539..c9806d7eeebd9cdd5f7cf36861d7d59dfb7dba81 100644 (file)
@@ -100,7 +100,7 @@ U_BOOT_DRIVER(mchp_pit64b) = {
        .name   = "mchp-pit64b",
        .id     = UCLASS_TIMER,
        .of_match = mchp_pit64b_ids,
-       .priv_auto_alloc_size = sizeof(struct mchp_pit64b_priv),
+       .priv_auto      = sizeof(struct mchp_pit64b_priv),
        .probe  = mchp_pit64b_probe,
        .ops    = &mchp_pit64b_ops,
        .flags  = DM_FLAG_PRE_RELOC,
index 6139252a73cdddd5d4657bfafbd51b79b6bba075..9b1daaadebf825752238d0546a96b60c9e692bb2 100644 (file)
@@ -244,5 +244,5 @@ U_BOOT_DRIVER(mpc83xx_timer) = {
        .of_match = mpc83xx_timer_ids,
        .probe = mpc83xx_timer_probe,
        .ops    = &mpc83xx_timer_ops,
-       .priv_auto_alloc_size = sizeof(struct mpc83xx_timer_priv),
+       .priv_auto      = sizeof(struct mpc83xx_timer_priv),
 };
index 74e9ea34ffa3fc1cad09f78da8bdd7ff2581b796..448a76a7e1f4ff78a1bf724dbe0308de2e56d2e3 100644 (file)
@@ -78,7 +78,7 @@ U_BOOT_DRIVER(mtk_timer) = {
        .name = "mtk_timer",
        .id = UCLASS_TIMER,
        .of_match = mtk_timer_ids,
-       .priv_auto_alloc_size = sizeof(struct mtk_timer_priv),
+       .priv_auto      = sizeof(struct mtk_timer_priv),
        .probe = mtk_timer_probe,
        .ops = &mtk_timer_ops,
        .flags = DM_FLAG_PRE_RELOC,
index d7f7ca4effd2b8a55a4a34d0789e630983f513e5..417b419d467cdfd2c426b0f0166044bcb60346f6 100644 (file)
@@ -107,7 +107,7 @@ U_BOOT_DRIVER(nomadik_mtu) = {
        .name = "nomadik_mtu",
        .id = UCLASS_TIMER,
        .of_match = nomadik_mtu_ids,
-       .priv_auto_alloc_size = sizeof(struct nomadik_mtu_priv),
+       .priv_auto      = sizeof(struct nomadik_mtu_priv),
        .probe = nomadik_mtu_probe,
        .ops = &nomadik_mtu_ops,
 };
index 4eecb3e64d26681d6d1fb85402a04c55203fd840..a1029ac50617af75fb9e09f748f5c723da2a61fe 100644 (file)
@@ -100,7 +100,7 @@ U_BOOT_DRIVER(omap_timer) = {
        .id     = UCLASS_TIMER,
        .of_match = omap_timer_ids,
        .ofdata_to_platdata = omap_timer_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct omap_timer_priv),
+       .priv_auto      = sizeof(struct omap_timer_priv),
        .probe = omap_timer_probe,
        .ops    = &omap_timer_ops,
 };
index bb0636a0719eb3a8e2e3a59f60cba66ae3e8aa6c..261cac5de38a5a05845b6b2b55324f98184acc99 100644 (file)
@@ -88,5 +88,5 @@ U_BOOT_DRIVER(ostm_timer) = {
        .probe          = ostm_probe,
        .of_match       = ostm_ids,
        .ofdata_to_platdata = ostm_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct ostm_priv),
+       .priv_auto      = sizeof(struct ostm_priv),
 };
index 53cdf09810d3ad397ecd1d1cd78537f50b6b7baf..dab6b12782ec99d368091a8700b103cc9032e4ff 100644 (file)
@@ -165,9 +165,9 @@ U_BOOT_DRIVER(rockchip_rk3368_timer) = {
        .of_match = rockchip_timer_ids,
        .probe = rockchip_timer_probe,
        .ops    = &rockchip_timer_ops,
-       .priv_auto_alloc_size = sizeof(struct rockchip_timer_priv),
+       .priv_auto      = sizeof(struct rockchip_timer_priv),
 #if CONFIG_IS_ENABLED(OF_PLATDATA)
-       .platdata_auto_alloc_size = sizeof(struct rockchip_timer_plat),
+       .platdata_auto  = sizeof(struct rockchip_timer_plat),
 #endif
        .ofdata_to_platdata = rockchip_clk_ofdata_to_platdata,
 };
index e6843ebb3371b4012772255cc685614f2ca60cb2..1ab183c143c0055a3ee7361bd3e7024b0cd64d6e 100644 (file)
@@ -79,7 +79,7 @@ U_BOOT_DRIVER(sti_timer) = {
        .name = "sti_timer",
        .id = UCLASS_TIMER,
        .of_match = sti_timer_ids,
-       .priv_auto_alloc_size = sizeof(struct sti_timer_priv),
+       .priv_auto      = sizeof(struct sti_timer_priv),
        .probe = sti_timer_probe,
        .ops = &sti_timer_ops,
 };
index f517d5e61f2149c30019ca755322e3479e62ff12..1b47e90f8c92a7caf8d741a18a27db7f2609b7ac 100644 (file)
@@ -129,7 +129,7 @@ U_BOOT_DRIVER(stm32_timer) = {
        .name = "stm32_timer",
        .id = UCLASS_TIMER,
        .of_match = stm32_timer_ids,
-       .priv_auto_alloc_size = sizeof(struct stm32_timer_priv),
+       .priv_auto      = sizeof(struct stm32_timer_priv),
        .probe = stm32_timer_probe,
        .ops = &stm32_timer_ops,
 };
index 62d0e860e80c527aa9d982fe3cb44be1c4bf7cef..f25f5613d4cde4cfc1c986f19a9db6993b9a924b 100644 (file)
@@ -176,5 +176,5 @@ UCLASS_DRIVER(timer) = {
        .pre_probe      = timer_pre_probe,
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
        .post_probe     = timer_post_probe,
-       .per_device_auto_alloc_size = sizeof(struct timer_dev_priv),
+       .per_device_auto        = sizeof(struct timer_dev_priv),
 };
index a761e3d52f1c62962f1093346ec458fad3247e9c..1dfc5c54f39fdbf251c6b5c3e45df7014e33f16b 100644 (file)
@@ -728,7 +728,7 @@ U_BOOT_DRIVER(cr50_i2c) = {
        .ofdata_to_platdata     = cr50_i2c_ofdata_to_platdata,
        .probe  = cr50_i2c_probe,
        .remove = cr50_i2c_cleanup,
-       .priv_auto_alloc_size = sizeof(struct cr50_priv),
+       .priv_auto      = sizeof(struct cr50_priv),
        ACPI_OPS_PTR(&cr50_acpi_ops)
        .flags          = DM_FLAG_OS_PREPARE,
 };
index 6ea795bc0c982b42ec5ceaf8dedb60bdc23b7030..beb0fa3f93cec5f526f447bc72aeacc7e63006a0 100644 (file)
@@ -141,5 +141,5 @@ UCLASS_DRIVER(tpm) = {
 #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA)
        .post_bind      = dm_scan_fdt_dev,
 #endif
-       .per_device_auto_alloc_size     = sizeof(struct tpm_chip_priv),
+       .per_device_auto        = sizeof(struct tpm_chip_priv),
 };
index 3197e0ebcd3d0c6d7fe868c96e99007a80a358ff..53e59f42b4fd0609f550171ca13ac55a71737c53 100644 (file)
@@ -247,5 +247,5 @@ U_BOOT_DRIVER(ftpm_tee) = {
        .probe  = ftpm_tee_probe,
        .remove = ftpm_tee_remove,
        .flags  = DM_FLAG_OS_PREPARE,
-       .priv_auto_alloc_size = sizeof(struct ftpm_tee_private),
+       .priv_auto      = sizeof(struct ftpm_tee_private),
 };
index 41a15bd49fb1871499598d62e569890e27b162a8..c74bacfd719fcb50baf94ad1e41453c490dc0d89 100644 (file)
@@ -625,5 +625,5 @@ U_BOOT_DRIVER(sandbox_tpm2) = {
        .of_match = sandbox_tpm2_ids,
        .ops    = &sandbox_tpm2_ops,
        .probe  = sandbox_tpm2_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_tpm2),
+       .priv_auto      = sizeof(struct sandbox_tpm2),
 };
index 0045bedf0c611d39379ee66366192b4e152d66eb..4b33ac8fd3d953df7516da905d1733c10658143f 100644 (file)
@@ -686,5 +686,5 @@ U_BOOT_DRIVER(tpm_tis_spi) = {
        .ops    = &tpm_tis_spi_ops,
        .probe  = tpm_tis_spi_probe,
        .remove = tpm_tis_spi_remove,
-       .priv_auto_alloc_size = sizeof(struct tpm_chip),
+       .priv_auto      = sizeof(struct tpm_chip),
 };
index f47813e76d097b0279b8d433b285a1b55fea5dd6..f414e5657db9e6f17a4e2500758311b819dcb99f 100644 (file)
@@ -633,5 +633,5 @@ U_BOOT_DRIVER(tpm_tis_i2c) = {
        .of_match = tpm_tis_i2c_ids,
        .ops    = &tpm_tis_i2c_ops,
        .probe  = tpm_tis_i2c_probe,
-       .priv_auto_alloc_size = sizeof(struct tpm_chip),
+       .priv_auto      = sizeof(struct tpm_chip),
 };
index 2dd374cf77d18bb75fc4518d99ab54bff44b9c39..003c0d8816d0fa7c138c880eba20565479aadd90 100644 (file)
@@ -475,5 +475,5 @@ U_BOOT_DRIVER(tpm_tis_lpc) = {
        .of_match = tpm_tis_lpc_ids,
        .ops    = &tpm_tis_lpc_ops,
        .probe  = tpm_tis_lpc_probe,
-       .priv_auto_alloc_size = sizeof(struct tpm_tis_lpc_priv),
+       .priv_auto      = sizeof(struct tpm_tis_lpc_priv),
 };
index e167d0a2fe3d24948ce10e55b68ef775b5318e9e..67139cea3bee9bfe2d331282544b34bc7f08c575 100644 (file)
@@ -361,5 +361,5 @@ U_BOOT_DRIVER(google_sandbox_tpm) = {
        .of_match = sandbox_tpm_ids,
        .ops    = &sandbox_tpm_ops,
        .probe  = sandbox_tpm_probe,
-       .priv_auto_alloc_size = sizeof(struct tpm_state),
+       .priv_auto      = sizeof(struct tpm_state),
 };
index a253ee150270925f6f324a782f770f8106e76c8d..e0eeabb93371e0591f47ee4e8b63da14453a699a 100644 (file)
@@ -542,5 +542,5 @@ U_BOOT_DRIVER(st33zp24_i2c) = {
        .probe  = st33zp24_i2c_probe,
        .remove = st33zp24_i2c_remove,
        .ops = &st33zp24_i2c_tpm_ops,
-       .priv_auto_alloc_size = sizeof(struct tpm_chip),
+       .priv_auto      = sizeof(struct tpm_chip),
 };
index ef54e3b7b293077daa62c344fec321356bd95569..683d49689a3a0cb61928c1f08ff13008f0521e73 100644 (file)
@@ -670,6 +670,6 @@ U_BOOT_DRIVER(st33zp24_spi_spi) = {
        .probe  = st33zp24_spi_probe,
        .remove = st33zp24_spi_remove,
        .ops = &st33zp24_spi_tpm_ops,
-       .priv_auto_alloc_size = sizeof(struct tpm_chip),
-       .platdata_auto_alloc_size = sizeof(struct st33zp24_spi_phy),
+       .priv_auto      = sizeof(struct tpm_chip),
+       .platdata_auto  = sizeof(struct st33zp24_spi_phy),
 };
index 920bfa64e1923c7fef23b046fd0077009744beb4..034d14fd8da6a20644fb6f1bc918e0f8e4e4e2ce 100644 (file)
@@ -12,5 +12,5 @@
 UCLASS_DRIVER(ufs) = {
        .id     = UCLASS_UFS,
        .name   = "ufs",
-       .per_device_auto_alloc_size = sizeof(struct ufs_hba),
+       .per_device_auto        = sizeof(struct ufs_hba),
 };
index cd7b2113ace828b8909cc0d2140a399b89b1b30d..d156164761a8efc582ded7a423f3c1b45f2a2cdc 100644 (file)
@@ -190,6 +190,6 @@ U_BOOT_DRIVER(cdns_ti) = {
        .bind = cdns3_bind,
        .probe = cdns_ti_probe,
        .remove = cdns_ti_remove,
-       .platdata_auto_alloc_size = sizeof(struct cdns_ti),
+       .platdata_auto  = sizeof(struct cdns_ti),
        .flags = DM_FLAG_OS_PREPARE,
 };
index ea86a250608be21aecfc18d46f748f7190ba669e..e861c82f7e17aca3fa018ecda18a263885c772f0 100644 (file)
@@ -461,7 +461,7 @@ U_BOOT_DRIVER(cdns_usb3_peripheral) = {
        .of_match = cdns3_ids,
        .probe = cdns3_gadget_probe,
        .remove = cdns3_gadget_remove,
-       .priv_auto_alloc_size = sizeof(struct cdns3_gadget_priv),
+       .priv_auto      = sizeof(struct cdns3_gadget_priv),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
@@ -492,7 +492,7 @@ U_BOOT_DRIVER(cdns_usb3_host) = {
        .of_match = cdns3_ids,
        .probe = cdns3_host_probe,
        .remove = cdns3_host_remove,
-       .priv_auto_alloc_size = sizeof(struct cdns3_host_priv),
+       .priv_auto      = sizeof(struct cdns3_host_priv),
        .ops = &xhci_usb_ops,
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index a936f71d2e5d116d9891b1cfb764a4cee2142a07..fb09b3ab1edb8ea764379bc5d84c13cb2707ebec 100644 (file)
@@ -158,8 +158,8 @@ U_BOOT_DRIVER(dwc3_generic_peripheral) = {
        .ofdata_to_platdata = dwc3_generic_ofdata_to_platdata,
        .probe = dwc3_generic_peripheral_probe,
        .remove = dwc3_generic_peripheral_remove,
-       .priv_auto_alloc_size = sizeof(struct dwc3_generic_priv),
-       .platdata_auto_alloc_size = sizeof(struct dwc3_generic_plat),
+       .priv_auto      = sizeof(struct dwc3_generic_priv),
+       .platdata_auto  = sizeof(struct dwc3_generic_plat),
 };
 #endif
 
@@ -200,8 +200,8 @@ U_BOOT_DRIVER(dwc3_generic_host) = {
        .ofdata_to_platdata = dwc3_generic_ofdata_to_platdata,
        .probe = dwc3_generic_host_probe,
        .remove = dwc3_generic_host_remove,
-       .priv_auto_alloc_size = sizeof(struct dwc3_generic_host_priv),
-       .platdata_auto_alloc_size = sizeof(struct dwc3_generic_plat),
+       .priv_auto      = sizeof(struct dwc3_generic_host_priv),
+       .platdata_auto  = sizeof(struct dwc3_generic_plat),
        .ops = &xhci_usb_ops,
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
@@ -459,6 +459,6 @@ U_BOOT_DRIVER(dwc3_generic_wrapper) = {
        .bind = dwc3_glue_bind,
        .probe = dwc3_glue_probe,
        .remove = dwc3_glue_remove,
-       .platdata_auto_alloc_size = sizeof(struct dwc3_glue_data),
+       .platdata_auto  = sizeof(struct dwc3_glue_data),
 
 };
index 6567502cdd1fd4e19265127bbe965fa5d5d4bd71..58d57ee7d1be8c662bc798b47672aa3caa94a443 100644 (file)
@@ -469,6 +469,6 @@ U_BOOT_DRIVER(dwc3_generic_wrapper) = {
        .of_match = dwc3_meson_g12a_ids,
        .probe = dwc3_meson_g12a_probe,
        .remove = dwc3_meson_g12a_remove,
-       .platdata_auto_alloc_size = sizeof(struct dwc3_meson_g12a),
+       .platdata_auto  = sizeof(struct dwc3_meson_g12a),
 
 };
index 92ee0866f7ecb5240e3f51216104833b563c5522..6e8c93a0fea6c54cc841cebeebbe26910ff99894 100644 (file)
@@ -420,6 +420,6 @@ U_BOOT_DRIVER(dwc3_generic_wrapper) = {
        .of_match = dwc3_meson_gxl_ids,
        .probe = dwc3_meson_gxl_probe,
        .remove = dwc3_meson_gxl_remove,
-       .platdata_auto_alloc_size = sizeof(struct dwc3_meson_gxl),
+       .platdata_auto  = sizeof(struct dwc3_meson_gxl),
 
 };
index 9c305f46e944ec5a7eee2346ebe0a49a8f535342..d63dee41fcd5586c62e5387ca11a4d8b46a33df0 100644 (file)
@@ -421,6 +421,6 @@ U_BOOT_DRIVER(usb_sandbox_flash) = {
        .probe  = sandbox_flash_probe,
        .ofdata_to_platdata = sandbox_flash_ofdata_to_platdata,
        .ops    = &sandbox_usb_flash_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_flash_priv),
-       .platdata_auto_alloc_size = sizeof(struct sandbox_flash_plat),
+       .priv_auto      = sizeof(struct sandbox_flash_priv),
+       .platdata_auto  = sizeof(struct sandbox_flash_plat),
 };
index 21bf3bda48d2d4226e703b054b2b2bb5fc19e8ab..3e66ca46988dec536e597c4d5275555b08488e55 100644 (file)
@@ -328,8 +328,8 @@ U_BOOT_DRIVER(usb_sandbox_hub) = {
        .of_match = sandbox_usb_hub_ids,
        .bind   = sandbox_hub_bind,
        .ops    = &sandbox_usb_hub_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_hub_priv),
-       .per_child_platdata_auto_alloc_size =
+       .priv_auto      = sizeof(struct sandbox_hub_priv),
+       .per_child_platdata_auto        =
                        sizeof(struct sandbox_hub_platdata),
        .child_post_bind = sandbox_child_post_bind,
 };
index f562fb7eca2ffbb5adc8fadbfb56cd073413a383..c64ce1feeb5a1a77208434796490095a02343f0b 100644 (file)
@@ -241,6 +241,6 @@ U_BOOT_DRIVER(usb_sandbox_keyb) = {
        .bind   = sandbox_keyb_bind,
        .probe  = sandbox_keyb_probe,
        .ops    = &sandbox_usb_keyb_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_keyb_priv),
-       .platdata_auto_alloc_size = sizeof(struct sandbox_keyb_plat),
+       .priv_auto      = sizeof(struct sandbox_keyb_priv),
+       .platdata_auto  = sizeof(struct sandbox_keyb_plat),
 };
index e3419e2fd47993ea392ea8e90cf26fda908d1758..b30693904295901ca28fae1e7574a453993bca84 100644 (file)
@@ -298,7 +298,7 @@ UCLASS_DRIVER(usb_emul) = {
        .id             = UCLASS_USB_EMUL,
        .name           = "usb_emul",
        .post_bind      = dm_scan_fdt_dev,
-       .per_device_platdata_auto_alloc_size = sizeof(struct usb_emul_platdata),
-       .per_child_auto_alloc_size = sizeof(struct usb_device),
-       .per_child_platdata_auto_alloc_size = sizeof(struct usb_dev_platdata),
+       .per_device_platdata_auto       = sizeof(struct usb_emul_platdata),
+       .per_child_auto = sizeof(struct usb_device),
+       .per_child_platdata_auto        = sizeof(struct usb_dev_platdata),
 };
index ac4a27fff20464e97a2fe09919f636ffca43a9cf..7115dcb56fc9aacacb15339671377b97d651b03a 100644 (file)
@@ -876,8 +876,8 @@ U_BOOT_DRIVER(asix_eth) = {
        .id     = UCLASS_ETH,
        .probe = asix_eth_probe,
        .ops    = &asix_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct asix_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct asix_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static const struct usb_device_id asix_eth_id_table[] = {
index c142b8b19bfced4036e5a7cc374abdf0077c2770..ffc90c00ab32f350e39cdf47d5f5a6ea472ce9ac 100644 (file)
@@ -902,8 +902,8 @@ U_BOOT_DRIVER(ax88179_eth) = {
        .id = UCLASS_ETH,
        .probe = ax88179_eth_probe,
        .ops = &ax88179_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct asix_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct asix_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static const struct usb_device_id ax88179_eth_id_table[] = {
index 46b92e8d68bd325e81e6dc36f5aa94c98d01d3ce..1fa7e5340406002ac45d91c6c64696ef6a95d1db 100644 (file)
@@ -304,8 +304,8 @@ U_BOOT_DRIVER(lan75xx_eth) = {
        .probe  = lan75xx_eth_probe,
        .remove = lan7x_eth_remove,
        .ops    = &lan75xx_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct lan7x_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct lan7x_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static const struct usb_device_id lan75xx_eth_id_table[] = {
index e34ad2603fbb594765db1a0fa5da7b98eb44d651..3f7e03f51c569dd8dd87261ca05828e77039e252 100644 (file)
@@ -466,8 +466,8 @@ U_BOOT_DRIVER(lan78xx_eth) = {
        .probe  = lan78xx_eth_probe,
        .remove = lan7x_eth_remove,
        .ops    = &lan78xx_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct lan7x_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct lan7x_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static const struct usb_device_id lan78xx_eth_id_table[] = {
index c829a436a34cc9baf13c599f46bb90e01e9c0e9d..1746819192c53f4ee5fd581ed7136dd36d817bc5 100644 (file)
@@ -928,8 +928,8 @@ U_BOOT_DRIVER(mcs7830_eth) = {
        .id     = UCLASS_ETH,
        .probe = mcs7830_eth_probe,
        .ops    = &mcs7830_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct mcs7830_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct mcs7830_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
index 215bcbbef80419a0c92b1ff828b68147d897f742..804c331ee1b178388fd322013bbb728d7c72b25b 100644 (file)
@@ -1842,8 +1842,8 @@ U_BOOT_DRIVER(r8152_eth) = {
        .id     = UCLASS_ETH,
        .probe = r8152_eth_probe,
        .ops    = &r8152_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct r8152),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct r8152),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static const struct usb_device_id r8152_eth_id_table[] = {
index b293a808a3dd805d242aad9437766683602435e9..d6863ad89e4b9bf4082d9867bd3dcb78ab103b32 100644 (file)
@@ -1062,8 +1062,8 @@ U_BOOT_DRIVER(smsc95xx_eth) = {
        .id     = UCLASS_ETH,
        .probe = smsc95xx_eth_probe,
        .ops    = &smsc95xx_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct smsc95xx_private),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct smsc95xx_private),
+       .platdata_auto  = sizeof(struct eth_pdata),
 };
 
 static const struct usb_device_id smsc95xx_eth_id_table[] = {
index 8a8e2179e4874feeb84528496ed014e436fe1633..a662d500d39ec74299bc2ac9ac614066385f6ed5 100644 (file)
@@ -1189,8 +1189,8 @@ U_BOOT_DRIVER(dwc2_udc_otg) = {
        .ofdata_to_platdata = dwc2_udc_otg_ofdata_to_platdata,
        .probe = dwc2_udc_otg_probe,
        .remove = dwc2_udc_otg_remove,
-       .platdata_auto_alloc_size = sizeof(struct dwc2_plat_otg_data),
-       .priv_auto_alloc_size = sizeof(struct dwc2_priv_data),
+       .platdata_auto  = sizeof(struct dwc2_plat_otg_data),
+       .priv_auto      = sizeof(struct dwc2_priv_data),
 };
 
 int dwc2_udc_B_session_valid(struct udevice *dev)
index a8e8bfc04b406a0b76e4b2fe9299d79005545246..0cce8e24c50bb374af418fff59b514d79e5ab74c 100644 (file)
@@ -2691,8 +2691,8 @@ U_BOOT_DRIVER(eth_usb) = {
        .id     = UCLASS_ETH,
        .probe  = usb_eth_probe,
        .ops    = &usb_eth_ops,
-       .priv_auto_alloc_size = sizeof(struct ether_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct ether_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif /* CONFIG_DM_ETH */
index b38b9dc68f751d3af0c1f9795b14608fd8fab40d..775754a03706de693c4da6e6be45385dc68dfd91 100644 (file)
@@ -871,5 +871,5 @@ U_BOOT_DRIVER(max3420_generic_udc) = {
        .of_match = max3420_ids,
        .probe = max3420_udc_probe,
        .remove = max3420_udc_remove,
-       .priv_auto_alloc_size = sizeof(struct max3420_udc),
+       .priv_auto      = sizeof(struct max3420_udc),
 };
index f1d13b1c1df6be03bc77ef737997a7856305e261..40d389cbd6ab2d1c65ce03b995704ac1c318c8de 100644 (file)
@@ -1477,7 +1477,7 @@ U_BOOT_DRIVER(usb_dwc2) = {
        .probe  = dwc2_usb_probe,
        .remove = dwc2_usb_remove,
        .ops    = &dwc2_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct dwc2_priv),
+       .priv_auto      = sizeof(struct dwc2_priv),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
index e4abc6f3b9beed8c41e7d4f05ceb9965a8ec5175..6240a453a08bc2cf2ad52abbfee13255b01cf7ad 100644 (file)
@@ -102,6 +102,6 @@ U_BOOT_DRIVER(dwc3_of_simple) = {
        .of_match = dwc3_of_simple_ids,
        .probe = dwc3_of_simple_probe,
        .remove = dwc3_of_simple_remove,
-       .platdata_auto_alloc_size = sizeof(struct dwc3_of_simple),
+       .platdata_auto  = sizeof(struct dwc3_of_simple),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 3e6c1429d665b51a2db546559a1e11b052b67bf8..ba008bf6866ad2303d24e5044386e6130ab2fd4b 100644 (file)
@@ -246,6 +246,6 @@ U_BOOT_DRIVER(dwc3_sti_glue) = {
        .probe = sti_dwc3_glue_probe,
        .remove = sti_dwc3_glue_remove,
        .bind = sti_dwc3_glue_bind,
-       .platdata_auto_alloc_size = sizeof(struct sti_dwc3_glue_platdata),
+       .platdata_auto  = sizeof(struct sti_dwc3_glue_platdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 3b208e8eb228667fc75f63269df70b948286c893..955cacdd98107c552ec52dcdb9c43b2ce13e19b0 100644 (file)
@@ -124,8 +124,8 @@ U_BOOT_DRIVER(ehci_atmel) = {
        .probe          = ehci_atmel_probe,
        .remove         = ehci_deregister,
        .ops            = &ehci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ehci_atmel_priv),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct ehci_atmel_priv),
        .flags          = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
index 6a37c5d982a61f7828bc91ff7242fc4002697f54..3728b238d4ec9eacdeed7a38ea990fe4b562847f 100644 (file)
@@ -258,7 +258,7 @@ U_BOOT_DRIVER(usb_ehci) = {
        .probe = ehci_usb_probe,
        .remove = ehci_usb_remove,
        .ops    = &ehci_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct exynos_ehci),
-       .platdata_auto_alloc_size = sizeof(struct exynos_ehci_platdata),
+       .priv_auto      = sizeof(struct exynos_ehci),
+       .platdata_auto  = sizeof(struct exynos_ehci_platdata),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 5423d10abe775e944153f3551bd3e37cb9e4aa2d..a53493a617d12a3a7d1a07440243b0016ce715a6 100644 (file)
@@ -145,8 +145,8 @@ U_BOOT_DRIVER(ehci_fsl) = {
        .probe = ehci_fsl_probe,
        .remove = ehci_deregister,
        .ops    = &ehci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ehci_fsl_priv),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct ehci_fsl_priv),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #else
index c93a7051a795b6add03699b5c0a314578e646a57..4c28a69b9893bb845d691d1b788d095a08db1b6b 100644 (file)
@@ -221,6 +221,6 @@ U_BOOT_DRIVER(ehci_generic) = {
        .probe = ehci_usb_probe,
        .remove = ehci_usb_remove,
        .ops    = &ehci_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct generic_ehci),
+       .priv_auto      = sizeof(struct generic_ehci),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 62414bb11028be021247b185b017f42baf2ce9db..329593689f4e261241bd4a590eb6d0ae45df15d8 100644 (file)
@@ -152,8 +152,8 @@ U_BOOT_DRIVER(ehci_mvebu) = {
        .probe = ehci_mvebu_probe,
        .remove = ehci_deregister,
        .ops    = &ehci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ehci_mvebu_priv),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct ehci_mvebu_priv),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
index dd92808ff7b37a19c5c4b9b980c164378d4960ef..61ff13e2b8e08d20629f8b849358929243990a61 100644 (file)
@@ -144,7 +144,7 @@ U_BOOT_DRIVER(usb_ehci) = {
        .probe = ehci_usb_probe,
        .remove = ehci_usb_remove,
        .ops    = &ehci_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct msm_ehci_priv),
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct msm_ehci_priv),
+       .platdata_auto  = sizeof(struct usb_platdata),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index caafa688993f1c04f500c50c4eb32e116faff612..2943b845005e087997caa1d530c610473b7f1d74 100644 (file)
@@ -367,8 +367,8 @@ U_BOOT_DRIVER(usb_mx5) = {
        .probe  = ehci_usb_probe,
        .remove = ehci_deregister,
        .ops    = &ehci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ehci_mx5_priv_data),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct ehci_mx5_priv_data),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif /* !CONFIG_IS_ENABLED(DM_USB) */
index 37b59758bb38c8901d104cdacaf7ecb2be44507a..cd22b07651633ce5acc3b85fb098c6a7330a6a2c 100644 (file)
@@ -650,8 +650,8 @@ U_BOOT_DRIVER(usb_mx6) = {
        .probe  = ehci_usb_probe,
        .remove = ehci_deregister,
        .ops    = &ehci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ehci_mx6_priv_data),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct ehci_mx6_priv_data),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
index 82b99eeef1e9d3d2dcf25d10b5af767cd87aa04a..ac264a2f38afd2ffba2977a9b1b4d1436d76375a 100644 (file)
@@ -403,8 +403,8 @@ U_BOOT_DRIVER(usb_omap_ehci) = {
        .of_match = omap_ehci_dt_ids,
        .probe = omap_ehci_probe,
        .ofdata_to_platdata = ehci_usb_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ehci_omap_priv_data),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct ehci_omap_priv_data),
        .remove = ehci_deregister,
        .ops    = &ehci_usb_ops,
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
index 7dd5c33c13dfed461a4e4d989d65b0e7f2c09200..7d91846d079fe2104f839097813a60fe6c97103d 100644 (file)
@@ -163,8 +163,8 @@ U_BOOT_DRIVER(ehci_pci) = {
        .remove = ehci_pci_remove,
        .of_match = ehci_pci_ids,
        .ops    = &ehci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ehci_pci_priv),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct ehci_pci_priv),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
index d81f4a03f1493bfdfde48dd045863200e7cc752d..9ffaf0060abd3e44e0239547de29b800018f90f1 100644 (file)
@@ -865,7 +865,7 @@ U_BOOT_DRIVER(usb_ehci) = {
        .probe = ehci_usb_probe,
        .remove = ehci_deregister,
        .ops    = &ehci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct fdt_usb),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct fdt_usb),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 2768d409749979783d031eeaa88998c34af3919a..f370052961deda2e0e98713d9cad6be4ac605b9f 100644 (file)
@@ -355,8 +355,8 @@ U_BOOT_DRIVER(usb_ehci) = {
        .remove = ehci_deregister,
        .ops = &ehci_usb_ops,
        .ofdata_to_platdata = vf_usb_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ehci_vf_priv_data),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct ehci_vf_priv_data),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
index 80f1d6fd97c8a2d0d8593c4e43275132b9d39a6f..738eed3bfeae14b9681ce6f175992913f0a36979 100644 (file)
@@ -85,7 +85,7 @@ U_BOOT_DRIVER(ehci_zynq) = {
        .probe = ehci_zynq_probe,
        .remove = ehci_deregister,
        .ops    = &ehci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct zynq_ehci_priv),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct zynq_ehci_priv),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index aa1eba262a9ee2da1bc673f63da7b94982f89bfa..33c4a911a090be1fa26d54217c192588ff8ebe53 100644 (file)
@@ -174,7 +174,7 @@ U_BOOT_DRIVER(ohci_generic) = {
        .probe = ohci_da8xx_probe,
        .remove = ohci_da8xx_remove,
        .ops    = &ohci_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct da8xx_ohci),
+       .priv_auto      = sizeof(struct da8xx_ohci),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA | DM_FLAG_OS_PREPARE,
 };
 #endif
index ac9b7e1e3c0280a99d55580b18ca35efdd3ec738..163f0ef17b118f9d12587657f9a57c12dee7f2c5 100644 (file)
@@ -198,6 +198,6 @@ U_BOOT_DRIVER(ohci_generic) = {
        .probe = ohci_usb_probe,
        .remove = ohci_usb_remove,
        .ops    = &ohci_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct generic_ohci),
+       .priv_auto      = sizeof(struct generic_ohci),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 4c1c778672804ac8e99542c33840038bdf7f4f9b..48ffa4af5ed68f8081eea1b225b32935e1f29890 100644 (file)
@@ -39,8 +39,8 @@ U_BOOT_DRIVER(ohci_pci) = {
        .remove = ohci_pci_remove,
        .of_match = ohci_pci_ids,
        .ops    = &ohci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(ohci_t),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(ohci_t),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
index 37aa2c55f2410a2c243c931dba66b7c2897b6e58..7620ac2da7951795af9abd21410bdc56c43860d8 100644 (file)
@@ -894,6 +894,6 @@ U_BOOT_DRIVER(usb_r8a66597) = {
        .probe  = r8a66597_usb_probe,
        .remove = r8a66597_usb_remove,
        .ops    = &r8a66597_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct r8a66597),
+       .priv_auto      = sizeof(struct r8a66597),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index beb62ebc0c24cc788cbfa1c7677823721fc1d188..e5442e71ae93ee7a0c720cabc91b15be59c6874e 100644 (file)
@@ -155,5 +155,5 @@ U_BOOT_DRIVER(usb_sandbox) = {
        .of_match = sandbox_usb_ids,
        .probe = sandbox_usb_probe,
        .ops    = &sandbox_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_usb_ctrl),
+       .priv_auto      = sizeof(struct sandbox_usb_ctrl),
 };
index 2f8c9037c127e6ec6ee1717d02fdb9ac9906a6be..1e7bec910629bdda49dc231a2690b58beeadbde6 100644 (file)
@@ -849,12 +849,12 @@ UCLASS_DRIVER(usb) = {
        .name           = "usb",
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
        .post_bind      = dm_scan_fdt_dev,
-       .priv_auto_alloc_size = sizeof(struct usb_uclass_priv),
-       .per_child_auto_alloc_size = sizeof(struct usb_device),
-       .per_device_auto_alloc_size = sizeof(struct usb_bus_priv),
+       .priv_auto      = sizeof(struct usb_uclass_priv),
+       .per_child_auto = sizeof(struct usb_device),
+       .per_device_auto        = sizeof(struct usb_bus_priv),
        .child_post_bind = usb_child_post_bind,
        .child_pre_probe = usb_child_pre_probe,
-       .per_child_platdata_auto_alloc_size = sizeof(struct usb_dev_platdata),
+       .per_child_platdata_auto        = sizeof(struct usb_dev_platdata),
 };
 
 UCLASS_DRIVER(usb_dev_generic) = {
index ee65f51c5d271c5712e56beafcec22b32aa0af01..f50f069fc74179135b182df1d637da30e60698d6 100644 (file)
@@ -92,7 +92,7 @@ U_BOOT_DRIVER(usb_xhci) = {
        .remove                         = xhci_brcm_deregister,
        .ops                            = &xhci_usb_ops,
        .of_match                       = xhci_brcm_ids,
-       .platdata_auto_alloc_size       = sizeof(struct brcm_xhci_platdata),
-       .priv_auto_alloc_size           = sizeof(struct xhci_ctrl),
+       .platdata_auto  = sizeof(struct brcm_xhci_platdata),
+       .priv_auto              = sizeof(struct xhci_ctrl),
        .flags                          = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 045de2ffdec0198d1c8cb2703e64d8162997a187..4dba56993776541b80c9a22cf5375f9f3d44df64 100644 (file)
@@ -186,8 +186,8 @@ U_BOOT_DRIVER(xhci_dwc3) = {
        .probe = xhci_dwc3_probe,
        .remove = xhci_dwc3_remove,
        .ops = &xhci_usb_ops,
-       .priv_auto_alloc_size = sizeof(struct xhci_ctrl),
-       .platdata_auto_alloc_size = sizeof(struct xhci_dwc3_platdata),
+       .priv_auto      = sizeof(struct xhci_ctrl),
+       .platdata_auto  = sizeof(struct xhci_dwc3_platdata),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #endif
index 6fb7a7f6e0970b4a42110c2c37c6f84bac63112e..6e1b5f005f0fef66a3af81caea53d42466331640 100644 (file)
@@ -255,7 +255,7 @@ U_BOOT_DRIVER(usb_xhci) = {
        .probe = xhci_usb_probe,
        .remove = xhci_usb_remove,
        .ops    = &xhci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct exynos_xhci_platdata),
-       .priv_auto_alloc_size = sizeof(struct exynos_xhci),
+       .platdata_auto  = sizeof(struct exynos_xhci_platdata),
+       .priv_auto      = sizeof(struct exynos_xhci),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 0a2da70e2004d38ac320a07bf5d5435a6c43cdb9..95714d833868855b4d7cd2a20f724a6db9a282c7 100644 (file)
@@ -169,8 +169,8 @@ U_BOOT_DRIVER(xhci_fsl) = {
        .probe = xhci_fsl_probe,
        .remove = xhci_fsl_remove,
        .ops    = &xhci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct xhci_fsl_priv),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct xhci_fsl_priv),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 #else
index f62e232d2186dc41d0894d1b5109300ae5154eee..d301acc9a89b72aab0513d48b8a0cd6dd3166c87 100644 (file)
@@ -300,6 +300,6 @@ U_BOOT_DRIVER(usb_xhci) = {
        .remove = xhci_mtk_remove,
        .ops = &xhci_usb_ops,
        .bind = dm_scan_fdt_dev,
-       .priv_auto_alloc_size = sizeof(struct mtk_xhci),
+       .priv_auto      = sizeof(struct mtk_xhci),
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
index f2e338f6fbcbef94e9371e955c47faf64e7200b9..6f56cc8384b758bac96df34fc3c629c209c5324e 100644 (file)
@@ -96,7 +96,7 @@ U_BOOT_DRIVER(usb_xhci) = {
        .probe = xhci_usb_probe,
        .remove = xhci_deregister,
        .ops    = &xhci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct mvebu_xhci_platdata),
-       .priv_auto_alloc_size = sizeof(struct mvebu_xhci),
+       .platdata_auto  = sizeof(struct mvebu_xhci_platdata),
+       .priv_auto      = sizeof(struct mvebu_xhci),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 9fb6d2f763532bb17ce2e735dd972c74d20a178d..888b17ba4ce23dd1cf8e7ce9138e35563eb3ed61 100644 (file)
@@ -59,8 +59,8 @@ U_BOOT_DRIVER(xhci_pci) = {
        .remove = xhci_deregister,
        .of_match = xhci_pci_ids,
        .ops    = &xhci_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct xhci_ctrl),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct xhci_ctrl),
        .flags  = DM_FLAG_ALLOC_PRIV_DMA,
 };
 
index 5379dba5663b33e74f926c58a84e7c4d7367b531..4322fb2e4d4acd8d90fe319cd16a7d9b1f03c0b9 100644 (file)
@@ -161,7 +161,7 @@ U_BOOT_DRIVER(usb_xhci) = {
        .ops            = &xhci_usb_ops,
        .of_match       = xhci_rcar_ids,
        .ofdata_to_platdata = xhci_rcar_ofdata_to_platdata,
-       .platdata_auto_alloc_size = sizeof(struct rcar_xhci_platdata),
-       .priv_auto_alloc_size = sizeof(struct rcar_xhci),
+       .platdata_auto  = sizeof(struct rcar_xhci_platdata),
+       .priv_auto      = sizeof(struct rcar_xhci),
        .flags          = DM_FLAG_ALLOC_PRIV_DMA,
 };
index 3795e695e87338f087926749125488100eb5e5e4..c951107b20133444a44e3d236071ca881add8500 100644 (file)
@@ -257,7 +257,7 @@ U_BOOT_DRIVER(mtu3_peripheral) = {
        .of_match = ssusb_of_match,
        .probe = mtu3_gadget_probe,
        .remove = mtu3_gadget_remove,
-       .priv_auto_alloc_size = sizeof(struct mtu3),
+       .priv_auto      = sizeof(struct mtu3),
 };
 #endif
 
@@ -298,7 +298,7 @@ U_BOOT_DRIVER(mtu3_host) = {
        .of_match = ssusb_of_match,
        .probe = mtu3_host_probe,
        .remove = mtu3_host_remove,
-       .priv_auto_alloc_size = sizeof(struct mtu3_host),
+       .priv_auto      = sizeof(struct mtu3_host),
        .ops = &xhci_usb_ops,
        .flags = DM_FLAG_ALLOC_PRIV_DMA,
 };
@@ -365,5 +365,5 @@ U_BOOT_DRIVER(mtu3) = {
        .bind = mtu3_glue_bind,
        .probe = mtu3_probe,
        .remove = mtu3_remove,
-       .priv_auto_alloc_size = sizeof(struct ssusb_mtk),
+       .priv_auto      = sizeof(struct ssusb_mtk),
 };
index 67488ddb504945cd8f0073a4daa5f31905d59107..6c0d0b8b1659c2233a729c9342a0f2f2bd7c80ff 100644 (file)
@@ -348,6 +348,6 @@ U_BOOT_DRIVER(da8xx_musb) = {
        .probe = da8xx_musb_probe,
        .remove = da8xx_musb_remove,
        .ops = &musb_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct da8xx_musb_platdata),
-       .priv_auto_alloc_size = sizeof(struct musb_host_data),
+       .platdata_auto  = sizeof(struct da8xx_musb_platdata),
+       .priv_auto      = sizeof(struct musb_host_data),
 };
index 8f0561eeba3901240f606a11351ebbb49ea4a96a..8adfa426c49772407f1d4d5caab78a558ea28630 100644 (file)
@@ -414,6 +414,6 @@ U_BOOT_DRIVER(mtk_musb) = {
 #ifdef CONFIG_USB_MUSB_HOST
        .ops            = &musb_usb_ops,
 #endif
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct mtk_musb_glue),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct mtk_musb_glue),
 };
index da63cc2c22435ab13d02f11a81280780490c0bf4..2e029d84bc8e07f877fb1b874582b0a22ca75bb6 100644 (file)
@@ -280,8 +280,8 @@ U_BOOT_DRIVER(omap2430_musb) = {
 #ifdef CONFIG_USB_MUSB_HOST
        .ops = &musb_usb_ops,
 #endif
-       .platdata_auto_alloc_size = sizeof(struct omap2430_musb_platdata),
-       .priv_auto_alloc_size = sizeof(struct musb_host_data),
+       .platdata_auto  = sizeof(struct omap2430_musb_platdata),
+       .priv_auto      = sizeof(struct musb_host_data),
 };
 
 #endif /* CONFIG_IS_ENABLED(DM_USB) */
index 2fbe9bebf17e8ace6ddf28e859909a455ad92d37..e45ab20562c961a0635f36194c606a8758a57bde 100644 (file)
@@ -288,6 +288,6 @@ U_BOOT_DRIVER(usb_musb) = {
 #ifdef CONFIG_USB_MUSB_HOST
        .ops            = &musb_usb_ops,
 #endif
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct pic32_musb_data),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct pic32_musb_data),
 };
index 187db7794b699bb0adadab32782bf7436310c638..10bc3e895608c462c2adf9606acfa6085977e7a0 100644 (file)
@@ -552,6 +552,6 @@ U_BOOT_DRIVER(usb_musb) = {
 #ifdef CONFIG_USB_MUSB_HOST
        .ops            = &musb_usb_ops,
 #endif
-       .platdata_auto_alloc_size = sizeof(struct usb_platdata),
-       .priv_auto_alloc_size = sizeof(struct sunxi_glue),
+       .platdata_auto  = sizeof(struct usb_platdata),
+       .priv_auto      = sizeof(struct sunxi_glue),
 };
index f4f26d86b3ff83bae7f747b29aef55e201e8f53b..34b1a34d2cc427a73aca79b30a3bd9e99be409b7 100644 (file)
@@ -204,8 +204,8 @@ U_BOOT_DRIVER(ti_musb_host) = {
        .probe = ti_musb_host_probe,
        .remove = ti_musb_host_remove,
        .ops    = &musb_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct ti_musb_platdata),
-       .priv_auto_alloc_size = sizeof(struct musb_host_data),
+       .platdata_auto  = sizeof(struct ti_musb_platdata),
+       .priv_auto      = sizeof(struct musb_host_data),
 };
 
 #if CONFIG_IS_ENABLED(DM_USB_GADGET)
@@ -277,8 +277,8 @@ U_BOOT_DRIVER(ti_musb_peripheral) = {
        .probe = ti_musb_peripheral_probe,
        .remove = ti_musb_peripheral_remove,
        .ops    = &musb_usb_ops,
-       .platdata_auto_alloc_size = sizeof(struct ti_musb_platdata),
-       .priv_auto_alloc_size = sizeof(struct ti_musb_peripheral),
+       .platdata_auto  = sizeof(struct ti_musb_platdata),
+       .priv_auto      = sizeof(struct ti_musb_peripheral),
        .flags = DM_FLAG_PRE_RELOC,
 };
 #endif
index 2707ff59c7d3f01de5b270eb72afb9c422919221..6620c793a1c17c47976553ec6d0c242cc0dc5a7e 100644 (file)
@@ -614,7 +614,7 @@ U_BOOT_DRIVER(am335x_fb) = {
        .ofdata_to_platdata = am335x_fb_ofdata_to_platdata,
        .probe = am335x_fb_probe,
        .remove = am335x_fb_remove,
-       .priv_auto_alloc_size = sizeof(struct am335x_fb_priv),
+       .priv_auto      = sizeof(struct am335x_fb_priv),
 };
 
 #endif /* CONFIG_DM_VIDEO */
index 38def2816b2a48679629a22954e19ab9c782f82e..3eb80c139461e62b1b1ab526a096f64589b78b3d 100644 (file)
@@ -562,7 +562,7 @@ U_BOOT_DRIVER(atmel_hlcdfb) = {
        .bind   = atmel_hlcdc_bind,
        .probe  = atmel_hlcdc_probe,
        .ofdata_to_platdata = atmel_hlcdc_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct atmel_hlcdc_priv),
+       .priv_auto      = sizeof(struct atmel_hlcdc_priv),
 };
 
 #endif
index ae8ec26468f029cfd36cd3d17ba5b02210ac6041..b129309d34b714fd321e71df8fea4af84b1a4f1a 100644 (file)
@@ -306,7 +306,7 @@ U_BOOT_DRIVER(atmel_fb) = {
        .bind   = atmel_fb_lcd_bind,
        .ofdata_to_platdata     = atmel_fb_ofdata_to_platdata,
        .probe  = atmel_fb_lcd_probe,
-       .platdata_auto_alloc_size = sizeof(struct atmel_lcd_platdata),
-       .priv_auto_alloc_size   = sizeof(struct atmel_fb_priv),
+       .platdata_auto  = sizeof(struct atmel_lcd_platdata),
+       .priv_auto      = sizeof(struct atmel_fb_priv),
 };
 #endif
index 67fed7f224a309701aadcac10364ed478c1df73d..8e34022d8362596832e1b09aae67ab76bfeb2568 100644 (file)
@@ -68,5 +68,5 @@ U_BOOT_DRIVER(gpio_backlight) = {
        .ops    = &gpio_backlight_ops,
        .ofdata_to_platdata     = gpio_backlight_ofdata_to_platdata,
        .probe          = gpio_backlight_probe,
-       .priv_auto_alloc_size   = sizeof(struct gpio_backlight_priv),
+       .priv_auto      = sizeof(struct gpio_backlight_priv),
 };
index 1c5270ff05ce92c407ce501806231028ca4d9d65..147cdcc6d584945786e4b2b1e57367844c39170b 100644 (file)
@@ -421,5 +421,5 @@ U_BOOT_DRIVER(analogix_anx6345) = {
        .of_match = anx6345_ids,
        .probe  = anx6345_probe,
        .ops    = &anx6345_ops,
-       .priv_auto_alloc_size = sizeof(struct anx6345_priv),
+       .priv_auto      = sizeof(struct anx6345_priv),
 };
index 389b02cdcba2c75a81b9a6cacd23fa66900dd075..08d38b244bda804b33c3a35729ac46193c28b7e7 100644 (file)
@@ -134,6 +134,6 @@ int video_bridge_set_active(struct udevice *dev, bool active)
 UCLASS_DRIVER(video_bridge) = {
        .id             = UCLASS_VIDEO_BRIDGE,
        .name           = "video_bridge",
-       .per_device_auto_alloc_size     = sizeof(struct video_bridge_priv),
+       .per_device_auto        = sizeof(struct video_bridge_priv),
        .pre_probe      = video_bridge_pre_probe,
 };
index df6a761d2dbb479ff18e463c695983112e26d2c2..bc91e7bda58df875cb6e08db52230aff176038ed 100644 (file)
@@ -781,6 +781,6 @@ U_BOOT_DRIVER(broadwell_igd) = {
        .ofdata_to_platdata = broadwell_igd_ofdata_to_platdata,
        .bind   = broadwell_igd_bind,
        .probe  = broadwell_igd_probe,
-       .priv_auto_alloc_size   = sizeof(struct broadwell_igd_priv),
-       .platdata_auto_alloc_size       = sizeof(struct broadwell_igd_plat),
+       .priv_auto      = sizeof(struct broadwell_igd_priv),
+       .platdata_auto  = sizeof(struct broadwell_igd_plat),
 };
index 8205413d2abe5d74111416f0f67d128c230c71e8..fa11b3bbefec98491b12428c5ce761a4d75f6f41 100644 (file)
@@ -588,5 +588,5 @@ U_BOOT_DRIVER(vidconsole_truetype) = {
        .id     = UCLASS_VIDEO_CONSOLE,
        .ops    = &console_truetype_ops,
        .probe  = console_truetype_probe,
-       .priv_auto_alloc_size   = sizeof(struct console_tt_priv),
+       .priv_auto      = sizeof(struct console_tt_priv),
 };
index 1a29ce5d85891b56bc997fb4bc4ef78f0b85c4c0..5d6f0c17310a53d162c5ccfc22af775c86ddf83f 100644 (file)
@@ -79,5 +79,5 @@ bool display_in_use(struct udevice *dev)
 UCLASS_DRIVER(display) = {
        .id             = UCLASS_DISPLAY,
        .name           = "display",
-       .per_device_platdata_auto_alloc_size    = sizeof(struct display_plat),
+       .per_device_platdata_auto       = sizeof(struct display_plat),
 };
index 4055ef49b6ee9441ec4e365d2bbbd5641c247516..4dde64881448a2b4902e42e78442b1d4f1ec324f 100644 (file)
@@ -845,7 +845,7 @@ U_BOOT_DRIVER(dw_mipi_dsi) = {
        .id                     = UCLASS_DSI_HOST,
        .probe                  = dw_mipi_dsi_probe,
        .ops                    = &dw_mipi_dsi_ops,
-       .priv_auto_alloc_size   = sizeof(struct dw_mipi_dsi),
+       .priv_auto      = sizeof(struct dw_mipi_dsi),
 };
 
 MODULE_AUTHOR("Chris Zhong <zyw@rock-chips.com>");
index 999ee1c14af672727f9645d914988f6bf6eac44b..f18189a1de0d7392f75b0fc8187425e16e48303d 100644 (file)
@@ -1081,5 +1081,5 @@ U_BOOT_DRIVER(exynos_dp) = {
        .of_match = exynos_dp_ids,
        .ops    = &exynos_dp_ops,
        .ofdata_to_platdata     = exynos_dp_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct exynos_dp_priv),
+       .priv_auto      = sizeof(struct exynos_dp_priv),
 };
index 979b90918271292a2c1420ee012b66210f334201..7022eec4b7a40c7dec8113be81396bf7e09b8273 100644 (file)
@@ -716,5 +716,5 @@ U_BOOT_DRIVER(exynos_fb) = {
        .bind   = exynos_fb_bind,
        .probe  = exynos_fb_probe,
        .ofdata_to_platdata     = exynos_fb_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct exynos_fb_priv),
+       .priv_auto      = sizeof(struct exynos_fb_priv),
 };
index f02fd13d28ca8bc573fef26ef69b4fc389d12e3d..73b8f4bd1c9bd3919db032defe52c4e2f602d058 100644 (file)
@@ -338,5 +338,5 @@ U_BOOT_DRIVER(ihs_video_out_drv) = {
        .ops            = &ihs_video_out_ops,
        .of_match       = ihs_video_out_ids,
        .probe          = ihs_video_out_probe,
-       .priv_auto_alloc_size = sizeof(struct ihs_video_out_priv),
+       .priv_auto      = sizeof(struct ihs_video_out_priv),
 };
index eb93a4f1fa9db0a845a52432068de10368e28dcf..dc8f2cfd800b11da3d37907645b4818bc818ec3d 100644 (file)
@@ -671,6 +671,6 @@ U_BOOT_DRIVER(fsl_imx6q_ipu) = {
        .of_match = ipuv3_video_ids,
        .bind   = ipuv3_video_bind,
        .probe  = ipuv3_video_probe,
-       .priv_auto_alloc_size = sizeof(struct ipuv3_video_priv),
+       .priv_auto      = sizeof(struct ipuv3_video_priv),
        .flags  = DM_FLAG_PRE_RELOC,
 };
index 45df9c13474e23b8a12881f939fe5729cb55b896..73a1add0853d4e8088633ce51d142fea23183e2e 100644 (file)
@@ -327,5 +327,5 @@ U_BOOT_DRIVER(lg4573_lcd) = {
        .of_match = lg4573_ids,
        .bind   = lg4573_bind,
        .probe  = lg4573_probe,
-       .priv_auto_alloc_size = sizeof(struct lg4573_lcd_priv),
+       .priv_auto      = sizeof(struct lg4573_lcd_priv),
 };
index 9bc4bbb85d39ad1d128474e7075c7609fec4412c..624084d38bcacefa4b4b7f13808c34f598da4a7f 100644 (file)
@@ -2292,6 +2292,6 @@ U_BOOT_DRIVER(logicore_dp_tx) = {
        .id                     = UCLASS_DISPLAY,
        .of_match               = logicore_dp_tx_ids,
        .probe                  = logicore_dp_tx_probe,
-       .priv_auto_alloc_size   = sizeof(struct dp_tx),
+       .priv_auto      = sizeof(struct dp_tx),
        .ops                    = &logicore_dp_tx_ops,
 };
index 1e6da0e1e25fe4cf4bf22cba1b1b65b65e3446f9..0ffdd7b98f31487609c4afc50752b9411ba29ab4 100644 (file)
@@ -403,6 +403,6 @@ U_BOOT_DRIVER(mali_dp) = {
        .of_match       = malidp_ids,
        .bind           = malidp_bind,
        .probe          = malidp_probe,
-       .priv_auto_alloc_size   = sizeof(struct malidp_priv),
+       .priv_auto      = sizeof(struct malidp_priv),
        .ops            = &malidp_ops,
 };
index 5d74f7f1a74086d08e433ac37c3fcd27acfcaa8f..e5f28132053480d61b25099030793170626e56d4 100644 (file)
@@ -508,5 +508,5 @@ U_BOOT_DRIVER(meson_dw_hdmi) = {
        .of_match = meson_dw_hdmi_ids,
        .ops = &meson_dw_hdmi_ops,
        .probe = meson_dw_hdmi_probe,
-       .priv_auto_alloc_size = sizeof(struct meson_dw_hdmi),
+       .priv_auto      = sizeof(struct meson_dw_hdmi),
 };
index 4868839ff7df63026941a4874ef0a87e52dcebcb..23b5ec6ef1782db1d123da293955fe787b0791b3 100644 (file)
@@ -211,6 +211,6 @@ U_BOOT_DRIVER(meson_vpu) = {
        .of_match = meson_vpu_ids,
        .probe = meson_vpu_probe,
        .bind = meson_vpu_bind,
-       .priv_auto_alloc_size = sizeof(struct meson_vpu_priv),
+       .priv_auto      = sizeof(struct meson_vpu_priv),
        .flags  = DM_FLAG_PRE_RELOC | DM_FLAG_REMOVE_WITH_PD_ON,
 };
index f3cb2bfb480c9611ae8bb322e05114051ae2d9e4..af97c711564fcf27d6b29fdd0e2bc41e3764b9c6 100644 (file)
@@ -594,5 +594,5 @@ U_BOOT_DRIVER(mvebu_video) = {
        .of_match = mvebu_video_ids,
        .bind   = mvebu_video_bind,
        .probe  = mvebu_video_probe,
-       .priv_auto_alloc_size = sizeof(struct mvebu_video_priv),
+       .priv_auto      = sizeof(struct mvebu_video_priv),
 };
index 4101e0962a9caee7e5cdd4a3aefe19d2d74a1641..d0b894331283394b1d5bd8469a4758375e777592 100644 (file)
@@ -643,9 +643,9 @@ U_BOOT_DRIVER(nexell_display) = {
        .name = "nexell-display",
        .id = UCLASS_VIDEO,
        .of_match = nx_display_ids,
-       .platdata_auto_alloc_size =
+       .platdata_auto  =
            sizeof(struct nx_display_platdata),
        .bind = nx_display_bind,
        .probe = nx_display_probe,
-       .priv_auto_alloc_size = sizeof(struct nx_display_dev),
+       .priv_auto      = sizeof(struct nx_display_dev),
 };
index 362bf6a6fe4f661b7c961873aca30dde3dd650f6..bb8c33bfc7a15d610a32245c0d5df4e1f9c0170b 100644 (file)
@@ -366,6 +366,6 @@ U_BOOT_DRIVER(otm8009a_panel) = {
        .ops                      = &otm8009a_panel_ops,
        .ofdata_to_platdata       = otm8009a_panel_ofdata_to_platdata,
        .probe                    = otm8009a_panel_probe,
-       .platdata_auto_alloc_size = sizeof(struct mipi_dsi_panel_plat),
-       .priv_auto_alloc_size   = sizeof(struct otm8009a_panel_priv),
+       .platdata_auto  = sizeof(struct mipi_dsi_panel_plat),
+       .priv_auto      = sizeof(struct otm8009a_panel_priv),
 };
index 9519180ceb39e961430c2a36cd2281c95e1b5764..49a3c7a58e81388a182feac1e7e167a79a23191f 100644 (file)
@@ -265,5 +265,5 @@ U_BOOT_DRIVER(pwm_backlight) = {
        .ops    = &pwm_backlight_ops,
        .ofdata_to_platdata     = pwm_backlight_ofdata_to_platdata,
        .probe          = pwm_backlight_probe,
-       .priv_auto_alloc_size   = sizeof(struct pwm_backlight_priv),
+       .priv_auto      = sizeof(struct pwm_backlight_priv),
 };
index 353894503b9bd310ac08a55ddaf673c8b74dab33..9d103f1f17b025c69ec53b5d4229c7b3f7d09bab 100644 (file)
@@ -338,6 +338,6 @@ U_BOOT_DRIVER(rm68200_panel) = {
        .ops                      = &rm68200_panel_ops,
        .ofdata_to_platdata       = rm68200_panel_ofdata_to_platdata,
        .probe                    = rm68200_panel_probe,
-       .platdata_auto_alloc_size = sizeof(struct mipi_dsi_panel_plat),
-       .priv_auto_alloc_size   = sizeof(struct rm68200_panel_priv),
+       .platdata_auto  = sizeof(struct mipi_dsi_panel_plat),
+       .priv_auto      = sizeof(struct rm68200_panel_priv),
 };
index f835f4d517a521cf5518892b3321210544c9cf1a..41f05b7ec6d0d96fec3b3e8016e17a3f064ae226 100644 (file)
@@ -113,5 +113,5 @@ U_BOOT_DRIVER(rk3288_hdmi_rockchip) = {
        .ops = &rk3288_hdmi_ops,
        .ofdata_to_platdata = rk3288_hdmi_ofdata_to_platdata,
        .probe = rk3288_hdmi_probe,
-       .priv_auto_alloc_size = sizeof(struct rk_hdmi_priv),
+       .priv_auto      = sizeof(struct rk_hdmi_priv),
 };
index 8ac0125b502e01b905decfe01aad4a8130ebb9a7..ff6f132bab28b269e77e8a2e1bda1babb162e4b4 100644 (file)
@@ -185,5 +185,5 @@ U_BOOT_DRIVER(rk_mipi_dsi) = {
        .ofdata_to_platdata = rk_mipi_ofdata_to_platdata,
        .probe  = rk_mipi_probe,
        .ops    = &rk_mipi_dsi_ops,
-       .priv_auto_alloc_size   = sizeof(struct rk_mipi_priv),
+       .priv_auto        = sizeof(struct rk_mipi_priv),
 };
index 9ec33e6e511bbc9485b97713d0fa194684e4169a..3f6ee744871cf5c1481bf28e627b3d2d0271593b 100644 (file)
@@ -105,5 +105,5 @@ U_BOOT_DRIVER(rockchip_rk3288_vop) = {
        .bind   = rk_vop_bind,
        .probe  = rk3288_vop_probe,
         .remove = rk_vop_remove,
-       .priv_auto_alloc_size   = sizeof(struct rk_vop_priv),
+       .priv_auto      = sizeof(struct rk_vop_priv),
 };
index a62be9832750145d31eea6e88b9c0ad9b3e31c28..d9f15adc5cf1f25e0e5b3d8422c80a0b737ea662 100644 (file)
@@ -76,5 +76,5 @@ U_BOOT_DRIVER(rk3399_hdmi_rockchip) = {
        .ops = &rk3399_hdmi_ops,
        .ofdata_to_platdata = rk3399_hdmi_ofdata_to_platdata,
        .probe = rk3399_hdmi_probe,
-       .priv_auto_alloc_size = sizeof(struct rk_hdmi_priv),
+       .priv_auto      = sizeof(struct rk_hdmi_priv),
 };
index e5534c36e6ef58bbcd8b9a7dfd6b61d02b5d862e..873f7fdae00ed600527dfb3bf94db4a58980db01 100644 (file)
@@ -176,5 +176,5 @@ U_BOOT_DRIVER(rk_mipi_dsi) = {
        .ofdata_to_platdata = rk_mipi_ofdata_to_platdata,
        .probe  = rk_mipi_probe,
        .ops    = &rk_mipi_dsi_ops,
-       .priv_auto_alloc_size   = sizeof(struct rk_mipi_priv),
+       .priv_auto        = sizeof(struct rk_mipi_priv),
 };
index 55d1be0411dbae073a10470b7c5339ec0f7f24e5..30e81b88b690bfc74bb7af5f5eb3d6d021bfffcb 100644 (file)
@@ -99,5 +99,5 @@ U_BOOT_DRIVER(rk3399_vop) = {
        .ops    = &rk3399_vop_ops,
        .bind   = rk_vop_bind,
        .probe  = rk3399_vop_probe,
-       .priv_auto_alloc_size   = sizeof(struct rk_vop_priv),
+       .priv_auto      = sizeof(struct rk_vop_priv),
 };
index c55f7a4f72a31d9954cb0f96e48573360a9e2d5f..282fe09fdfb4c9a0c521cfdfaec9277447dbd8d6 100644 (file)
@@ -1102,5 +1102,5 @@ U_BOOT_DRIVER(dp_rockchip) = {
        .ofdata_to_platdata     = rk_edp_ofdata_to_platdata,
        .probe  = rk_edp_probe,
        .remove = rk_edp_remove,
-       .priv_auto_alloc_size   = sizeof(struct rk_edp_priv),
+       .priv_auto      = sizeof(struct rk_edp_priv),
 };
index 04f795a213c0960344419ebd72271739dbda1a0c..c93b5dfeed384ffded62819bfce1677c4994b444 100644 (file)
@@ -247,5 +247,5 @@ U_BOOT_DRIVER(lvds_rockchip) = {
        .ops    = &lvds_rockchip_ops,
        .ofdata_to_platdata     = rk_lvds_ofdata_to_platdata,
        .probe  = rk_lvds_probe,
-       .priv_auto_alloc_size   = sizeof(struct rk_lvds_priv),
+       .priv_auto      = sizeof(struct rk_lvds_priv),
 };
index cd644ec0b46720cb8b49d52552c20bcd16de4671..c84a27ee3be6f973dec32e6e303a7202eae3200f 100644 (file)
@@ -86,5 +86,5 @@ U_BOOT_DRIVER(sandbox_dsi_host) = {
        .id                   = UCLASS_DSI_HOST,
        .of_match             = sandbox_dsi_host_ids,
        .ops                  = &sandbox_dsi_host_ops,
-       .priv_auto_alloc_size = sizeof(struct sandbox_dsi_host_priv),
+       .priv_auto      = sizeof(struct sandbox_dsi_host_priv),
 };
index 7e722326b3d9364e57a651ea37711fcd7e15425a..2a854d3958b7b6276e66112eb5ab0482a054ead4 100644 (file)
@@ -158,5 +158,5 @@ U_BOOT_DRIVER(sandbox_osd_drv) = {
        .ops            = &sandbox_osd_ops,
        .of_match       = sandbox_osd_ids,
        .probe          = sandbox_osd_probe,
-       .priv_auto_alloc_size = sizeof(struct sandbox_osd_priv),
+       .priv_auto      = sizeof(struct sandbox_osd_priv),
 };
index d806f35debba783f7be4c68126509e18de7070df..c989510640de1113f99652984377b664609cefef 100644 (file)
@@ -78,5 +78,5 @@ U_BOOT_DRIVER(sandbox_lcd_sdl) = {
        .of_match = sandbox_sdl_ids,
        .bind   = sandbox_sdl_bind,
        .probe  = sandbox_sdl_probe,
-       .platdata_auto_alloc_size       = sizeof(struct sandbox_sdl_plat),
+       .platdata_auto  = sizeof(struct sandbox_sdl_plat),
 };
index 6c624c376991aeb7f9a6de003b75a88ebaccd79f..3be4f25d8b3c04543d247fcd2f51f51d924efda7 100644 (file)
@@ -118,5 +118,5 @@ U_BOOT_DRIVER(simple_panel) = {
        .ops    = &simple_panel_ops,
        .ofdata_to_platdata     = simple_panel_ofdata_to_platdata,
        .probe          = simple_panel_probe,
-       .priv_auto_alloc_size   = sizeof(struct simple_panel_priv),
+       .priv_auto      = sizeof(struct simple_panel_priv),
 };
index 9d5abacc2bff784b28fb00b2531c8aa5be643369..9941382a7d6c49c6e9ba128ca2ac02777db26c50 100644 (file)
@@ -512,5 +512,5 @@ U_BOOT_DRIVER(stm32_dsi) = {
        .bind                           = stm32_dsi_bind,
        .probe                          = stm32_dsi_probe,
        .ops                            = &stm32_dsi_ops,
-       .priv_auto_alloc_size           = sizeof(struct stm32_dsi_priv),
+       .priv_auto              = sizeof(struct stm32_dsi_priv),
 };
index 7fff735930b9e626b95c6b69e679e72d2262a39c..07a9acbb8eee57ab3c5f04b8485a178dfa0b8ed9 100644 (file)
@@ -473,5 +473,5 @@ U_BOOT_DRIVER(stm32_ltdc) = {
        .of_match               = stm32_ltdc_ids,
        .probe                  = stm32_ltdc_probe,
        .bind                   = stm32_ltdc_bind,
-       .priv_auto_alloc_size   = sizeof(struct stm32_ltdc_priv),
+       .priv_auto      = sizeof(struct stm32_ltdc_priv),
 };
index 01d4b7a11c96026a87b3b271cc8ea4cd431945b1..6b6792a3dd964a3f2290a43e14db12ee3a50df2d 100644 (file)
@@ -395,7 +395,7 @@ U_BOOT_DRIVER(sunxi_dw_hdmi) = {
        .id     = UCLASS_DISPLAY,
        .ops    = &sunxi_dw_hdmi_ops,
        .probe  = sunxi_dw_hdmi_probe,
-       .priv_auto_alloc_size = sizeof(struct sunxi_dw_hdmi_priv),
+       .priv_auto      = sizeof(struct sunxi_dw_hdmi_priv),
 };
 
 U_BOOT_DEVICE(sunxi_dw_hdmi) = {
index 49bf083a8d14bd475473bd1e7034dba5645400fb..dd2bb1f5fc58200673b24c27c6ccc47b4bdb88d9 100644 (file)
@@ -142,7 +142,7 @@ U_BOOT_DRIVER(sunxi_lcd) = {
        .id     = UCLASS_DISPLAY,
        .ops    = &sunxi_lcd_ops,
        .probe  = sunxi_lcd_probe,
-       .priv_auto_alloc_size = sizeof(struct sunxi_lcd_priv),
+       .priv_auto      = sizeof(struct sunxi_lcd_priv),
 };
 
 #ifdef CONFIG_MACH_SUN50I
index 191cda3ce763a40b65d0642b6996ed477bff959a..2448743904547ced45697653c65d46350d8c281d 100644 (file)
@@ -651,5 +651,5 @@ U_BOOT_DRIVER(tda19988) = {
        .of_match = tda19988_ids,
        .ops = &tda19988_ops,
        .probe = tda19988_probe,
-       .priv_auto_alloc_size = sizeof(struct tda19988_priv),
+       .priv_auto      = sizeof(struct tda19988_priv),
 };
index 827ea13d13a576c6471b163b9890cba6ec295b81..25199333741d4ed89f72e7ef10c11371cb6100c4 100644 (file)
@@ -424,5 +424,5 @@ U_BOOT_DRIVER(tegra_lcd) = {
        .bind   = tegra_lcd_bind,
        .probe  = tegra_lcd_probe,
        .ofdata_to_platdata     = tegra_lcd_ofdata_to_platdata,
-       .priv_auto_alloc_size   = sizeof(struct tegra_lcd_priv),
+       .priv_auto      = sizeof(struct tegra_lcd_priv),
 };
index 59758eb93614f1717bddee5bee2e0f7736e5b6d3..881923f229289644f019324c9290789540ba09a7 100644 (file)
@@ -1619,6 +1619,6 @@ U_BOOT_DRIVER(dp_tegra) = {
        .ofdata_to_platdata = tegra_dp_ofdata_to_platdata,
        .probe  = dp_tegra_probe,
        .ops    = &dp_tegra_ops,
-       .priv_auto_alloc_size = sizeof(struct tegra_dp_priv),
-       .platdata_auto_alloc_size = sizeof(struct tegra_dp_plat),
+       .priv_auto      = sizeof(struct tegra_dp_priv),
+       .platdata_auto  = sizeof(struct tegra_dp_plat),
 };
index 49f33c15b5c69920af046f13c0c3ffb87f0488b7..83f3aad92cb6e8438b8c97a807f97c210c280719 100644 (file)
@@ -1079,5 +1079,5 @@ U_BOOT_DRIVER(sor_tegra) = {
        .of_match = tegra_sor_ids,
        .ofdata_to_platdata = tegra_sor_ofdata_to_platdata,
        .ops    = &tegra_sor_ops,
-       .priv_auto_alloc_size = sizeof(struct tegra_dc_sor_data),
+       .priv_auto      = sizeof(struct tegra_dc_sor_data),
 };
index 3a07f36ce27887792bcb3dc8a8d1335315806b07..a6b7d40d962c6b0195b421f5d9f484dbe69217ab 100644 (file)
@@ -626,7 +626,7 @@ UCLASS_DRIVER(vidconsole) = {
        .name           = "vidconsole0",
        .pre_probe      = vidconsole_pre_probe,
        .post_probe     = vidconsole_post_probe,
-       .per_device_auto_alloc_size     = sizeof(struct vidconsole_priv),
+       .per_device_auto        = sizeof(struct vidconsole_priv),
 };
 
 #ifdef CONFIG_VIDEO_COPY
index 650891e49dd0a0b334f3a5aac72b9a63ae4a5d87..925731341cf27c632d6c9bfd0d2dd650d19666d0 100644 (file)
@@ -408,7 +408,7 @@ UCLASS_DRIVER(video) = {
        .pre_probe      = video_pre_probe,
        .post_probe     = video_post_probe,
        .pre_remove     = video_pre_remove,
-       .priv_auto_alloc_size   = sizeof(struct video_uc_priv),
-       .per_device_auto_alloc_size     = sizeof(struct video_priv),
-       .per_device_platdata_auto_alloc_size = sizeof(struct video_uc_platdata),
+       .priv_auto      = sizeof(struct video_uc_priv),
+       .per_device_auto        = sizeof(struct video_priv),
+       .per_device_platdata_auto       = sizeof(struct video_uc_platdata),
 };
index 2636cbedfe27d98de1ffe107b12e9431629b144b..64a0746f269628534eb276539d8e5224781d9fa5 100644 (file)
@@ -369,5 +369,5 @@ UCLASS_DRIVER(virtio) = {
        .child_post_bind = virtio_uclass_child_post_bind,
        .child_pre_probe = virtio_uclass_child_pre_probe,
        .child_post_probe = virtio_uclass_child_post_probe,
-       .per_device_auto_alloc_size = sizeof(struct virtio_dev_priv),
+       .per_device_auto        = sizeof(struct virtio_dev_priv),
 };
index 1799f5c5eb36bb1ea23e0b0cf80c68e633d68889..a007a6a33a83f60e481276b2fa434d6033972b91 100644 (file)
@@ -134,6 +134,6 @@ U_BOOT_DRIVER(virtio_blk) = {
        .bind   = virtio_blk_bind,
        .probe  = virtio_blk_probe,
        .remove = virtio_reset,
-       .priv_auto_alloc_size = sizeof(struct virtio_blk_priv),
+       .priv_auto      = sizeof(struct virtio_blk_priv),
        .flags  = DM_FLAG_ACTIVE_DMA,
 };
index b951ea3257b19af9cbfefcd13a795bf986bfda65..90ee1d4271ea6649b8f50cba74c96caaadb42092 100644 (file)
@@ -412,5 +412,5 @@ U_BOOT_DRIVER(virtio_mmio) = {
        .ops    = &virtio_mmio_ops,
        .probe  = virtio_mmio_probe,
        .ofdata_to_platdata = virtio_mmio_ofdata_to_platdata,
-       .priv_auto_alloc_size = sizeof(struct virtio_mmio_priv),
+       .priv_auto      = sizeof(struct virtio_mmio_priv),
 };
index 0dbbd7802308ad369febdcb86be2e5ea52a7c4eb..e1831cf96189b9e659494c027edf8cae8cfd3535 100644 (file)
@@ -233,7 +233,7 @@ U_BOOT_DRIVER(virtio_net) = {
        .probe  = virtio_net_probe,
        .remove = virtio_reset,
        .ops    = &virtio_net_ops,
-       .priv_auto_alloc_size = sizeof(struct virtio_net_priv),
-       .platdata_auto_alloc_size = sizeof(struct eth_pdata),
+       .priv_auto      = sizeof(struct virtio_net_priv),
+       .platdata_auto  = sizeof(struct eth_pdata),
        .flags  = DM_FLAG_ACTIVE_DMA,
 };
index fa7f2429f1f18d9a850d52e2c9c59314037c3b41..0a2431a97fc62fd834fccaf869d520a800242b28 100644 (file)
@@ -350,7 +350,7 @@ U_BOOT_DRIVER(virtio_pci_legacy) = {
        .ops    = &virtio_pci_ops,
        .bind   = virtio_pci_bind,
        .probe  = virtio_pci_probe,
-       .priv_auto_alloc_size = sizeof(struct virtio_pci_priv),
+       .priv_auto      = sizeof(struct virtio_pci_priv),
 };
 
 static struct pci_device_id virtio_pci_supported[] = {
index 2e5bbade00219cc0d22b4b879cdecf1a6e6fa266..8996ac0d6e3b0f5eb44c56421b8e1788e7f67de5 100644 (file)
@@ -539,7 +539,7 @@ U_BOOT_DRIVER(virtio_pci_modern) = {
        .ops    = &virtio_pci_ops,
        .bind   = virtio_pci_bind,
        .probe  = virtio_pci_probe,
-       .priv_auto_alloc_size = sizeof(struct virtio_pci_priv),
+       .priv_auto      = sizeof(struct virtio_pci_priv),
 };
 
 static struct pci_device_id virtio_pci_supported[] = {
index fc3e19cfaeebd31cc9f5c3b8b3bf3504d05bd11d..9314c0a03ed70412851863db2a357a31020a9aad 100644 (file)
@@ -84,6 +84,6 @@ U_BOOT_DRIVER(virtio_rng) = {
        .probe  = virtio_rng_probe,
        .remove = virtio_reset,
        .ops    = &virtio_rng_ops,
-       .priv_auto_alloc_size = sizeof(struct virtio_rng_priv),
+       .priv_auto      = sizeof(struct virtio_rng_priv),
        .flags  = DM_FLAG_ACTIVE_DMA,
 };
index 2a2abb9d499c621ded216a6309cafceb879d5697..aafb7beb949d2c6d03f79df3d8445d6b53ec31f0 100644 (file)
@@ -204,7 +204,7 @@ U_BOOT_DRIVER(virtio_sandbox1) = {
        .ops    = &virtio_sandbox1_ops,
        .probe  = virtio_sandbox_probe,
        .child_post_remove = virtio_sandbox_child_post_remove,
-       .priv_auto_alloc_size = sizeof(struct virtio_sandbox_priv),
+       .priv_auto      = sizeof(struct virtio_sandbox_priv),
 };
 
 /* this one without notify op */
@@ -231,5 +231,5 @@ U_BOOT_DRIVER(virtio_sandbox2) = {
        .of_match = virtio_sandbox2_ids,
        .ops    = &virtio_sandbox2_ops,
        .probe  = virtio_sandbox_probe,
-       .priv_auto_alloc_size = sizeof(struct virtio_sandbox_priv),
+       .priv_auto      = sizeof(struct virtio_sandbox_priv),
 };
index 8e6372f0bede8e5c3d6801f26903c5487f58e1d8..aced1b0e2ed9f605969c6f0b67294342fd7597f7 100644 (file)
@@ -230,6 +230,6 @@ U_BOOT_DRIVER(mxc_w1_drv) = {
        .of_match                       = mxc_w1_id,
        .ofdata_to_platdata             = mxc_w1_ofdata_to_platdata,
        .ops                            = &mxc_w1_ops,
-       .platdata_auto_alloc_size       = sizeof(struct mxc_w1_pdata),
+       .platdata_auto  = sizeof(struct mxc_w1_pdata),
        .probe                          = mxc_w1_probe,
 };
index 45ad47a5d6bdb6e5c57834c1ff676be8b3824d89..6e48e53ddc3bce39c9570cdf54d7b6d8e7e132f2 100644 (file)
@@ -174,5 +174,5 @@ U_BOOT_DRIVER(w1_gpio_drv) = {
        .of_match                       = w1_gpio_id,
        .ofdata_to_platdata             = w1_gpio_ofdata_to_platdata,
        .ops                            = &w1_gpio_ops,
-       .platdata_auto_alloc_size       = sizeof(struct w1_gpio_pdata),
+       .platdata_auto  = sizeof(struct w1_gpio_pdata),
 };
index 9478c93e9b0c9aecefdc45fd01f3bb15efe71ed6..af1fe5fd22ff38314d3cddeaff444d84953227af 100644 (file)
@@ -230,10 +230,10 @@ UCLASS_DRIVER(w1) = {
        .name           = "w1",
        .id             = UCLASS_W1,
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
-       .per_device_auto_alloc_size     = sizeof(struct w1_bus),
+       .per_device_auto        = sizeof(struct w1_bus),
        .post_probe     = w1_post_probe,
 #if CONFIG_IS_ENABLED(OF_CONTROL)
        .post_bind      = dm_scan_fdt_dev,
 #endif
-       .per_child_platdata_auto_alloc_size     = sizeof(struct w1_device),
+       .per_child_platdata_auto            = sizeof(struct w1_device),
 };
index 5da8e56505fb2143637b893b291ea5940944eeab..dd97a17a70146f73a5b4f5f42ed463433aee6cd9 100644 (file)
@@ -196,6 +196,6 @@ U_BOOT_DRIVER(a37xx_wdt) = {
        .id = UCLASS_WDT,
        .of_match = a37xx_wdt_ids,
        .probe = a37xx_wdt_probe,
-       .priv_auto_alloc_size = sizeof(struct a37xx_wdt),
+       .priv_auto      = sizeof(struct a37xx_wdt),
        .ops = &a37xx_wdt_ops,
 };
index 9b83d2ad442a08bdd08ee6233b3841203698492e..f6173fd568b884165cf93439210b8dd610b8b5dd 100644 (file)
@@ -124,7 +124,7 @@ U_BOOT_DRIVER(ast_wdt) = {
        .id = UCLASS_WDT,
        .of_match = ast_wdt_ids,
        .probe = ast_wdt_probe,
-       .priv_auto_alloc_size = sizeof(struct ast_wdt_priv),
+       .priv_auto      = sizeof(struct ast_wdt_priv),
        .ofdata_to_platdata = ast_wdt_ofdata_to_platdata,
        .ops = &ast_wdt_ops,
 };
index 33f5c351d5be875b3a9c4b5e7e88cc90a6b9eeb6..10d997410687546c4baa08121efc9687494e8b08 100644 (file)
@@ -117,7 +117,7 @@ U_BOOT_DRIVER(atmel_at91sam9260_wdt) = {
        .name = "atmel_at91sam9260_wdt",
        .id = UCLASS_WDT,
        .of_match = at91_wdt_ids,
-       .priv_auto_alloc_size = sizeof(struct at91_wdt_priv),
+       .priv_auto      = sizeof(struct at91_wdt_priv),
        .ops = &at91_wdt_ops,
        .probe = at91_wdt_probe,
 };
index ee77f49a9445011736f0d7be1ef568e4b6c9b1d0..677b1347ca7a093e308ead5aab34bcd17024d197 100644 (file)
@@ -112,6 +112,6 @@ U_BOOT_DRIVER(wdt_bcm6345) = {
        .id = UCLASS_WDT,
        .of_match = bcm6345_wdt_ids,
        .ops = &bcm6345_wdt_ops,
-       .priv_auto_alloc_size = sizeof(struct bcm6345_wdt_priv),
+       .priv_auto      = sizeof(struct bcm6345_wdt_priv),
        .probe = bcm6345_wdt_probe,
 };
index 2abd5524f61d5347329c0841461cdb60c27fa7dd..d4f8240491e1fa38fa1fcaed1b9989fdc05d1eb2 100644 (file)
@@ -260,7 +260,7 @@ U_BOOT_DRIVER(cdns_wdt) = {
        .id = UCLASS_WDT,
        .of_match = cdns_wdt_ids,
        .probe = cdns_wdt_probe,
-       .priv_auto_alloc_size = sizeof(struct cdns_wdt_priv),
+       .priv_auto      = sizeof(struct cdns_wdt_priv),
        .ofdata_to_platdata = cdns_wdt_ofdata_to_platdata,
        .ops = &cdns_wdt_ops,
 };
index 7caa6c550cddc655bc220fd7f18662651b4bb2f8..c020324973e462759d073f334d56daaf77d5e286 100644 (file)
@@ -168,7 +168,7 @@ U_BOOT_DRIVER(designware_wdt) = {
        .name = "designware_wdt",
        .id = UCLASS_WDT,
        .of_match = designware_wdt_ids,
-       .priv_auto_alloc_size = sizeof(struct designware_wdt_priv),
+       .priv_auto      = sizeof(struct designware_wdt_priv),
        .probe = designware_wdt_probe,
        .ops = &designware_wdt_ops,
        .flags = DM_FLAG_PRE_RELOC,
index b90c2daecee6ccf8d0c1727177f91c4f600b19af..5e0a096ce503cbec9f9383662c684d4525411ee1 100644 (file)
@@ -169,7 +169,7 @@ U_BOOT_DRIVER(imx_wdt) = {
        .of_match       = imx_wdt_ids,
        .probe          = imx_wdt_probe,
        .ops            = &imx_wdt_ops,
-       .priv_auto_alloc_size = sizeof(struct imx_wdt_priv),
+       .priv_auto      = sizeof(struct imx_wdt_priv),
        .flags          = DM_FLAG_PRE_RELOC,
 };
 #endif
index 1cd8866ef8d83317f08747b9a2bf693d687d2942..8b5ed28ebd30b278c6a908bf5a314c537bb9eb26 100644 (file)
@@ -98,6 +98,6 @@ U_BOOT_DRIVER(mt762x_wdt) = {
        .id = UCLASS_WDT,
        .of_match = mt762x_wdt_ids,
        .probe = mt762x_wdt_probe,
-       .priv_auto_alloc_size = sizeof(struct mt762x_wdt),
+       .priv_auto      = sizeof(struct mt762x_wdt),
        .ops = &mt762x_wdt_ops,
 };
index a636cff354d8594ab06ed2df9293b0606890dc46..b098b2e3cfaf824a506cd02a1213b3de239036fe 100644 (file)
@@ -152,7 +152,7 @@ U_BOOT_DRIVER(mtk_wdt) = {
        .name = "mtk_wdt",
        .id = UCLASS_WDT,
        .of_match = mtk_wdt_ids,
-       .priv_auto_alloc_size = sizeof(struct mtk_wdt_priv),
+       .priv_auto      = sizeof(struct mtk_wdt_priv),
        .probe = mtk_wdt_probe,
        .ops = &mtk_wdt_ops,
        .flags = DM_FLAG_PRE_RELOC,
index 88708dc5e1c9071348a773646e2a7eb85d064ee9..5f586ef68379baba16817b3550b3d40dbd475573 100644 (file)
@@ -137,7 +137,7 @@ U_BOOT_DRIVER(wdt_octeontx) = {
        .id = UCLASS_WDT,
        .of_match = octeontx_wdt_ids,
        .ops = &octeontx_wdt_ops,
-       .priv_auto_alloc_size = sizeof(struct octeontx_wdt),
+       .priv_auto      = sizeof(struct octeontx_wdt),
        .probe = octeontx_wdt_probe,
        .remove = octeontx_wdt_remove,
        .flags = DM_FLAG_OS_PREPARE,
index 9059a4c6105b1d73c2af08a5419eafbdb71c9daa..db9a7d7730364c0e52ee493719b8151c5136e1c9 100644 (file)
@@ -263,6 +263,6 @@ U_BOOT_DRIVER(omap3_wdt) = {
        .of_match = omap3_wdt_ids,
        .ops = &omap3_wdt_ops,
        .probe = omap3_wdt_probe,
-       .priv_auto_alloc_size = sizeof(struct omap3_wdt_priv),
+       .priv_auto      = sizeof(struct omap3_wdt_priv),
 };
 #endif /* !CONFIG_IS_ENABLED(WDT) */
index d33e2ac3dc19005dd045df17df40e262a47b9d94..5eff30e9c45092319f6c2d5f4e477ff209fad39d 100644 (file)
@@ -186,7 +186,7 @@ U_BOOT_DRIVER(orion_wdt) = {
        .id = UCLASS_WDT,
        .of_match = orion_wdt_ids,
        .probe = orion_wdt_probe,
-       .priv_auto_alloc_size = sizeof(struct orion_wdt_priv),
+       .priv_auto      = sizeof(struct orion_wdt_priv),
        .ofdata_to_platdata = orion_wdt_ofdata_to_platdata,
        .ops = &orion_wdt_ops,
 };
index ebe29c74091fa02549a93f8b38d5afd255556194..f64a39f657921bb3f2987a08093ac6d5f926cd7e 100644 (file)
@@ -118,6 +118,6 @@ U_BOOT_DRIVER(rti_wdt) = {
        .of_match = rti_wdt_ids,
        .ops = &rti_wdt_ops,
        .probe = rti_wdt_probe,
-       .priv_auto_alloc_size = sizeof(struct rti_wdt_priv),
+       .priv_auto      = sizeof(struct rti_wdt_priv),
        .flags = DM_FLAG_REMOVE_WITH_PD_ON,
 };
index 2eae431ba6c13c872e9c7744cfe7203dfd47309a..f7b3fbd1d2b4c03f1116427b4e0d8839b9f484ba 100644 (file)
@@ -125,7 +125,7 @@ U_BOOT_DRIVER(sbsa_gwdt) = {
        .id = UCLASS_WDT,
        .of_match = sbsa_gwdt_ids,
        .probe = sbsa_gwdt_probe,
-       .priv_auto_alloc_size = sizeof(struct sbsa_gwdt_priv),
+       .priv_auto      = sizeof(struct sbsa_gwdt_priv),
        .ofdata_to_platdata = sbsa_gwdt_ofdata_to_platdata,
        .ops = &sbsa_gwdt_ops,
 };
index 23fef2147f8f43786181ad23d8aa8e064adfcf26..694a9805a773f132d40faa14d5ba6c2ce07d976e 100644 (file)
@@ -142,7 +142,7 @@ U_BOOT_DRIVER(sp805_wdt) = {
        .id = UCLASS_WDT,
        .of_match = sp805_wdt_ids,
        .probe = sp805_wdt_probe,
-       .priv_auto_alloc_size = sizeof(struct sp805_wdt_priv),
+       .priv_auto      = sizeof(struct sp805_wdt_priv),
        .ofdata_to_platdata = sp805_wdt_ofdata_to_platdata,
        .ops = &sp805_wdt_ops,
 };
index f673fce327c6ce0591ff58eebafd6edda16d9f8c..53586fdbfc821fc44aba422be5d2c75fc2b58304 100644 (file)
@@ -131,7 +131,7 @@ U_BOOT_DRIVER(stm32mp_wdt) = {
        .name = "stm32mp-wdt",
        .id = UCLASS_WDT,
        .of_match = stm32mp_wdt_match,
-       .priv_auto_alloc_size = sizeof(struct stm32mp_wdt_priv),
+       .priv_auto      = sizeof(struct stm32mp_wdt_priv),
        .probe = stm32mp_wdt_probe,
        .ops = &stm32mp_wdt_ops,
 };
index ea4311c8ce1a9631e313a66b55cd49dd8f22822f..a7fb3b4630ad27fc21112200c7f30bda5d48b822 100644 (file)
@@ -123,7 +123,7 @@ U_BOOT_DRIVER(xlnx_wdt) = {
        .id = UCLASS_WDT,
        .of_match = xlnx_wdt_ids,
        .probe = xlnx_wdt_probe,
-       .platdata_auto_alloc_size = sizeof(struct xlnx_wdt_platdata),
+       .platdata_auto  = sizeof(struct xlnx_wdt_platdata),
        .ofdata_to_platdata = xlnx_wdt_ofdata_to_platdata,
        .ops = &xlnx_wdt_ops,
 };
index d8a585a4830642d76690f44d3a72257fdfcce42b..9505874ba48d95a9d22787c47789be20e689642b 100644 (file)
@@ -172,8 +172,8 @@ U_BOOT_DRIVER(xlnx_wwdt) = {
        .id = UCLASS_WDT,
        .of_match = xlnx_wwdt_ids,
        .probe = xlnx_wwdt_probe,
-       .priv_auto_alloc_size = sizeof(struct xlnx_wwdt_priv),
-       .platdata_auto_alloc_size = sizeof(struct xlnx_wwdt_platdata),
+       .priv_auto      = sizeof(struct xlnx_wwdt_priv),
+       .platdata_auto  = sizeof(struct xlnx_wwdt_platdata),
        .ofdata_to_platdata = xlnx_wwdt_ofdata_to_platdata,
        .ops = &xlnx_wwdt_ops,
 };
index 1b3325bbe2a385acd948f00936005f31cbb284db..cbb51d26b9114b0d16453113a4e69880243f3a1c 100644 (file)
@@ -723,7 +723,7 @@ U_BOOT_DRIVER(pvblock_blk) = {
        .bind                   = pvblock_blk_bind,
        .probe                  = pvblock_blk_probe,
        .remove                 = pvblock_blk_remove,
-       .priv_auto_alloc_size   = sizeof(struct blkfront_dev),
+       .priv_auto      = sizeof(struct blkfront_dev),
        .flags                  = DM_FLAG_OS_PREPARE,
 };
 
index 25a77d08b9d9281e89bcbf5a9468a4b547c1990e..f4c2b9b246eb6c6f62dfbc10f35183cc394e5404 100644 (file)
@@ -111,7 +111,7 @@ enum {
  * probe method if the device has a device tree node.
  *
  * All three of platdata, priv and uclass_priv can be allocated by the
- * driver, or you can use the auto_alloc_size members of struct driver and
+ * driver, or you can use the 'auto' members of struct driver and
  * struct uclass_driver to have driver model do this automatically.
  *
  * @driver: The driver used by this device
@@ -225,18 +225,18 @@ struct udevice_id {
  * memory allocated but it has not yet been probed.
  * @child_post_remove: Called after a child device is removed. The device
  * has memory allocated but its device_remove() method has been called.
- * @priv_auto_alloc_size: If non-zero this is the size of the private data
+ * @priv_auto: If non-zero this is the size of the private data
  * to be allocated in the device's ->priv pointer. If zero, then the driver
  * is responsible for allocating any data required.
- * @platdata_auto_alloc_size: If non-zero this is the size of the
+ * @platdata_auto: If non-zero this is the size of the
  * platform data to be allocated in the device's ->platdata pointer.
  * This is typically only useful for device-tree-aware drivers (those with
  * an of_match), since drivers which use platdata will have the data
  * provided in the U_BOOT_DEVICE() instantiation.
- * @per_child_auto_alloc_size: Each device can hold private data owned by
+ * @per_child_auto: Each device can hold private data owned by
  * its parent. If required this will be automatically allocated if this
  * value is non-zero.
- * @per_child_platdata_auto_alloc_size: A bus likes to store information about
+ * @per_child_platdata_auto: A bus likes to store information about
  * its children. If non-zero this is the size of this data, to be allocated
  * in the child's parent_platdata pointer.
  * @ops: Driver-specific operations. This is typically a list of function
@@ -258,10 +258,10 @@ struct driver {
        int (*child_post_bind)(struct udevice *dev);
        int (*child_pre_probe)(struct udevice *dev);
        int (*child_post_remove)(struct udevice *dev);
-       int priv_auto_alloc_size;
-       int platdata_auto_alloc_size;
-       int per_child_auto_alloc_size;
-       int per_child_platdata_auto_alloc_size;
+       int priv_auto;
+       int platdata_auto;
+       int per_child_auto;
+       int per_child_platdata_auto;
        const void *ops;        /* driver-specific operations */
        uint32_t flags;
 #if CONFIG_IS_ENABLED(ACPIGEN)
index 7188304304696db00cb252e6491df439ff1baa2a..e74082fbdf7b23bf5b14d062bdadf3dbb0aecaa0 100644 (file)
@@ -65,19 +65,19 @@ struct udevice;
  * @child_post_probe: Called after a child in this uclass is probed
  * @init: Called to set up the uclass
  * @destroy: Called to destroy the uclass
- * @priv_auto_alloc_size: If non-zero this is the size of the private data
+ * @priv_auto: If non-zero this is the size of the private data
  * to be allocated in the uclass's ->priv pointer. If zero, then the uclass
  * driver is responsible for allocating any data required.
- * @per_device_auto_alloc_size: Each device can hold private data owned
+ * @per_device_auto: Each device can hold private data owned
  * by the uclass. If required this will be automatically allocated if this
  * value is non-zero.
- * @per_device_platdata_auto_alloc_size: Each device can hold platform data
+ * @per_device_platdata_auto: Each device can hold platform data
  * owned by the uclass as 'dev->uclass_platdata'. If the value is non-zero,
  * then this will be automatically allocated.
- * @per_child_auto_alloc_size: Each child device (of a parent in this
+ * @per_child_auto: Each child device (of a parent in this
  * uclass) can hold parent data for the device/uclass. This value is only
  * used as a fallback if this member is 0 in the driver.
- * @per_child_platdata_auto_alloc_size: A bus likes to store information about
+ * @per_child_platdata_auto: A bus likes to store information about
  * its children. If non-zero this is the size of this data, to be allocated
  * in the child device's parent_platdata pointer. This value is only used as
  * a fallback if this member is 0 in the driver.
@@ -98,11 +98,11 @@ struct uclass_driver {
        int (*child_post_probe)(struct udevice *dev);
        int (*init)(struct uclass *class);
        int (*destroy)(struct uclass *class);
-       int priv_auto_alloc_size;
-       int per_device_auto_alloc_size;
-       int per_device_platdata_auto_alloc_size;
-       int per_child_auto_alloc_size;
-       int per_child_platdata_auto_alloc_size;
+       int priv_auto;
+       int per_device_auto;
+       int per_device_platdata_auto;
+       int per_child_auto;
+       int per_child_platdata_auto;
        const void *ops;
        uint32_t flags;
 };
index d8a8355a0adaf4fa6606ca4864f109c84d4e2c74..c53694654ed82cdd77e886b5214f293d828d7adb 100644 (file)
@@ -256,7 +256,7 @@ static inline u8 dwmci_readb(struct dwmci_host *host, int reg)
  * ...
  *
  * Inside U_BOOT_DRIVER():
- *     .platdata_auto_alloc_size = sizeof(struct rockchip_mmc_plat),
+ *     .platdata_auto  = sizeof(struct rockchip_mmc_plat),
  *
  * To access platform data:
  *     struct rockchip_mmc_plat *plat = dev_get_platdata(dev);
index 1fd20ec0860bff600882dff5f2a225e3dfd5780a..d04afd53b16e0090ee676fe3dcb6543d5612fb67 100644 (file)
@@ -440,7 +440,7 @@ static inline u8 sdhci_readb(struct sdhci_host *host, int reg)
  * ...
  *
  * Inside U_BOOT_DRIVER():
- *     .platdata_auto_alloc_size = sizeof(struct msm_sdhc_plat),
+ *     .platdata_auto  = sizeof(struct msm_sdhc_plat),
  *
  * To access platform data:
  *     struct msm_sdhc_plat *plat = dev_get_platdata(dev);
index ef8c1f6692e23ae930faa5c17d97ffc248785a46..f69c08d287f3aef04a8f44705a24c6a24e6b4db9 100644 (file)
@@ -102,7 +102,7 @@ enum spi_polarity {
  *
  * For driver model this is the per-child data used by the SPI bus. It can
  * be accessed using dev_get_parent_priv() on the slave device. The SPI uclass
- * sets uip per_child_auto_alloc_size to sizeof(struct spi_slave), and the
+ * sets up per_child_auto to sizeof(struct spi_slave), and the
  * driver should not override it. Two platform data fields (max_hz and mode)
  * are copied into this structure to provide an initial value. This allows
  * them to be changed, since we should never change platform data in drivers.
index 0e72a68bced0d6b575e9b20cc5c7cbf24bb5c265..fcd6eb879913996032d64787e8e145afcede0a20 100644 (file)
@@ -196,7 +196,7 @@ U_BOOT_DRIVER(efi_blk) = {
        .name                   = "efi_blk",
        .id                     = UCLASS_BLK,
        .ops                    = &efi_blk_ops,
-       .platdata_auto_alloc_size = sizeof(struct efi_blk_platdata),
+       .platdata_auto  = sizeof(struct efi_blk_platdata),
 };
 
 /* EFI driver operators */
index e14695c0f16d8b8eaec3fdfb4daf13b5e7cf4629..9525adba007e4c4f38b7b15a7b1faade62ca88da 100644 (file)
@@ -600,7 +600,7 @@ UCLASS_DRIVER(eth) = {
        .pre_unbind     = eth_pre_unbind,
        .post_probe     = eth_post_probe,
        .pre_remove     = eth_pre_remove,
-       .priv_auto_alloc_size = sizeof(struct eth_uclass_priv),
-       .per_device_auto_alloc_size = sizeof(struct eth_device_priv),
+       .priv_auto      = sizeof(struct eth_uclass_priv),
+       .per_device_auto        = sizeof(struct eth_device_priv),
        .flags          = DM_UC_FLAG_SEQ_ALIAS,
 };
index 6674eb6bee783781fd4f540b202a94289d1c34c1..3fb418409961bcceb8d1c3ee89bc3331d2768f94 100644 (file)
@@ -228,6 +228,6 @@ UCLASS_DRIVER(mdio_mux) = {
        .child_post_bind = dm_mdio_mux_child_post_bind,
        .post_bind  = dm_mdio_mux_post_bind,
        .post_probe = dm_mdio_mux_post_probe,
-       .per_device_auto_alloc_size = sizeof(struct mdio_mux_perdev_priv),
-       .per_child_platdata_auto_alloc_size = sizeof(struct mdio_mux_ch_data),
+       .per_device_auto        = sizeof(struct mdio_mux_perdev_priv),
+       .per_child_platdata_auto        = sizeof(struct mdio_mux_ch_data),
 };
index b5e8e465123743a32ea3e32255cdd0c9c4fb7538..d062382c2a95636c2102f98d6be29bbffc518f8b 100644 (file)
@@ -216,5 +216,5 @@ UCLASS_DRIVER(mdio) = {
        .post_bind  = dm_mdio_post_bind,
        .post_probe = dm_mdio_post_probe,
        .pre_remove = dm_mdio_pre_remove,
-       .per_device_auto_alloc_size = sizeof(struct mdio_perdev_priv),
+       .per_device_auto        = sizeof(struct mdio_perdev_priv),
 };
index f5eddac10d0ac492e670899d1c967335cb46544f..d53f9977604259ab7cbeec4fd964f269ffec8696 100644 (file)
@@ -110,7 +110,7 @@ U_BOOT_DRIVER(testacpi_drv) = {
        .of_match       = testacpi_ids,
        .id     = UCLASS_TEST_ACPI,
        .bind   = dm_scan_fdt_dev,
-       .platdata_auto_alloc_size       = sizeof(struct testacpi_platdata),
+       .platdata_auto  = sizeof(struct testacpi_platdata),
        ACPI_OPS_PTR(&testacpi_ops)
 };
 
index 27b726664578652eec9a6495b150b767dcaf94b6..c7ad63c112b90a53cdb3e18167aadd41399f516f 100644 (file)
@@ -100,10 +100,10 @@ U_BOOT_DRIVER(testbus_drv) = {
        .id     = UCLASS_TEST_BUS,
        .probe  = testbus_drv_probe,
        .child_post_bind = testbus_child_post_bind,
-       .priv_auto_alloc_size = sizeof(struct dm_test_priv),
-       .platdata_auto_alloc_size = sizeof(struct dm_test_pdata),
-       .per_child_auto_alloc_size = sizeof(struct dm_test_parent_data),
-       .per_child_platdata_auto_alloc_size =
+       .priv_auto      = sizeof(struct dm_test_priv),
+       .platdata_auto  = sizeof(struct dm_test_pdata),
+       .per_child_auto = sizeof(struct dm_test_parent_data),
+       .per_child_platdata_auto        =
                        sizeof(struct dm_test_parent_platdata),
        .child_pre_probe = testbus_child_pre_probe,
        .child_post_remove = testbus_child_post_remove,
@@ -312,19 +312,19 @@ static int dm_test_bus_parent_data_uclass(struct unit_test_state *uts)
        /* Set the driver size to 0 so that the uclass size is used */
        ut_assertok(uclass_find_device(UCLASS_TEST_BUS, 0, &bus));
        drv = (struct driver *)bus->driver;
-       size = drv->per_child_auto_alloc_size;
+       size = drv->per_child_auto;
 
 #ifdef CONFIG_SANDBOX
        os_mprotect_allow(bus->uclass->uc_drv, sizeof(*bus->uclass->uc_drv));
        os_mprotect_allow(drv, sizeof(*drv));
 #endif
-       bus->uclass->uc_drv->per_child_auto_alloc_size = size;
-       drv->per_child_auto_alloc_size = 0;
+       bus->uclass->uc_drv->per_child_auto = size;
+       drv->per_child_auto = 0;
        ret = test_bus_parent_data(uts);
        if (ret)
                return ret;
-       bus->uclass->uc_drv->per_child_auto_alloc_size = 0;
-       drv->per_child_auto_alloc_size = size;
+       bus->uclass->uc_drv->per_child_auto = 0;
+       drv->per_child_auto = size;
 
        return 0;
 }
@@ -456,18 +456,18 @@ static int dm_test_bus_parent_platdata_uclass(struct unit_test_state *uts)
        /* Set the driver size to 0 so that the uclass size is used */
        ut_assertok(uclass_find_device(UCLASS_TEST_BUS, 0, &bus));
        drv = (struct driver *)bus->driver;
-       size = drv->per_child_platdata_auto_alloc_size;
+       size = drv->per_child_platdata_auto;
 #ifdef CONFIG_SANDBOX
        os_mprotect_allow(bus->uclass->uc_drv, sizeof(*bus->uclass->uc_drv));
        os_mprotect_allow(drv, sizeof(*drv));
 #endif
-       bus->uclass->uc_drv->per_child_platdata_auto_alloc_size = size;
-       drv->per_child_platdata_auto_alloc_size = 0;
+       bus->uclass->uc_drv->per_child_platdata_auto = size;
+       drv->per_child_platdata_auto = 0;
        ret = test_bus_parent_platdata(uts);
        if (ret)
                return ret;
-       bus->uclass->uc_drv->per_child_platdata_auto_alloc_size = 0;
-       drv->per_child_platdata_auto_alloc_size = size;
+       bus->uclass->uc_drv->per_child_platdata_auto = 0;
+       drv->per_child_platdata_auto = size;
 
        return 0;
 }
index 71ebb36d88b1101eef227630d9b9298397df1a9d..c3e8922d640ad8fe7c25e99bb7e6a091133eccb4 100644 (file)
@@ -154,7 +154,7 @@ static int dm_test_autobind_uclass_pdata_alloc(struct unit_test_state *uts)
         * Test if test uclass driver requires allocation for the uclass
         * platform data and then check the dev->uclass_platdata pointer.
         */
-       ut_assert(uc->uc_drv->per_device_platdata_auto_alloc_size);
+       ut_assert(uc->uc_drv->per_device_platdata_auto);
 
        for (uclass_find_first_device(UCLASS_TEST, &dev);
             dev;
index 141fd4d90831752133f26ff92cb40b4b3ee1da05..45154cea50047aa88b3c9f9d034aa20871970114 100644 (file)
@@ -60,7 +60,7 @@ U_BOOT_DRIVER(emul_mux) = {
        .of_match = mux_emul_of_match,
        .ops = &mux_emul_ops,
        .probe = mux_emul_probe,
-       .priv_auto_alloc_size = sizeof(struct mux_emul_priv),
+       .priv_auto      = sizeof(struct mux_emul_priv),
 };
 
 static int dm_test_mux_emul_default_state(struct unit_test_state *uts)
index 2effef3c1c868d7ec6c910f9b84cf4504873f234..22a293096c9d39aae8a66492f79719eeb5f00e97 100644 (file)
@@ -280,7 +280,7 @@ U_BOOT_DRIVER(regmap_test) = {
        .of_match       = regmaptest_ids,
        .id     = UCLASS_NOP,
        .probe = remaptest_probe,
-       .priv_auto_alloc_size = sizeof(struct regmaptest_priv),
+       .priv_auto      = sizeof(struct regmaptest_priv),
 };
 
 static int dm_test_devm_regmap(struct unit_test_state *uts)
index 08bdf011946fe444f9486fd5f2c285f669dbf512..5c074cdd09fa0c7bb95e420203dc9fd6d4863bc0 100644 (file)
@@ -81,7 +81,7 @@ U_BOOT_DRIVER(test_drv) = {
        .probe  = test_probe,
        .remove = test_remove,
        .unbind = test_unbind,
-       .priv_auto_alloc_size = sizeof(struct dm_test_priv),
+       .priv_auto      = sizeof(struct dm_test_priv),
 };
 
 U_BOOT_DRIVER(test2_drv) = {
@@ -92,7 +92,7 @@ U_BOOT_DRIVER(test2_drv) = {
        .probe  = test_probe,
        .remove = test_remove,
        .unbind = test_unbind,
-       .priv_auto_alloc_size = sizeof(struct dm_test_priv),
+       .priv_auto      = sizeof(struct dm_test_priv),
 };
 
 static int test_manual_drv_ping(struct udevice *dev, int pingval, int *pingret)
index 673ffb4de9417ff09b1c55b16ca711703e7ce5f9..79f39d08230245f420568ea8ab47caaeafeca3f4 100644 (file)
@@ -86,8 +86,8 @@ U_BOOT_DRIVER(testfdt_drv) = {
        .ofdata_to_platdata = testfdt_ofdata_to_platdata,
        .probe  = testfdt_drv_probe,
        .ops    = &test_ops,
-       .priv_auto_alloc_size = sizeof(struct dm_test_priv),
-       .platdata_auto_alloc_size = sizeof(struct dm_test_pdata),
+       .priv_auto      = sizeof(struct dm_test_priv),
+       .platdata_auto  = sizeof(struct dm_test_pdata),
 };
 
 static const struct udevice_id testfdt1_ids[] = {
@@ -104,8 +104,8 @@ U_BOOT_DRIVER(testfdt1_drv) = {
        .ofdata_to_platdata = testfdt_ofdata_to_platdata,
        .probe  = testfdt_drv_probe,
        .ops    = &test_ops,
-       .priv_auto_alloc_size = sizeof(struct dm_test_priv),
-       .platdata_auto_alloc_size = sizeof(struct dm_test_pdata),
+       .priv_auto      = sizeof(struct dm_test_priv),
+       .platdata_auto  = sizeof(struct dm_test_pdata),
        .flags = DM_FLAG_PRE_RELOC,
 };
 
@@ -147,7 +147,7 @@ U_BOOT_DRIVER(testprobe_drv) = {
        .of_match       = testprobe_ids,
        .id     = UCLASS_TEST_PROBE,
        .probe  = testprobe_drv_probe,
-       .platdata_auto_alloc_size       = sizeof(struct dm_testprobe_pdata),
+       .platdata_auto  = sizeof(struct dm_testprobe_pdata),
 };
 
 UCLASS_DRIVER(testprobe) = {
@@ -204,8 +204,8 @@ U_BOOT_DRIVER(testdevres_drv) = {
        .bind   = testdevres_drv_bind,
        .ofdata_to_platdata     = testdevres_drv_ofdata_to_platdata,
        .probe  = testdevres_drv_probe,
-       .platdata_auto_alloc_size       = sizeof(struct dm_testdevres_pdata),
-       .priv_auto_alloc_size   = sizeof(struct dm_testdevres_priv),
+       .platdata_auto  = sizeof(struct dm_testdevres_pdata),
+       .priv_auto      = sizeof(struct dm_testdevres_priv),
 };
 
 UCLASS_DRIVER(testdevres) = {
index 760731b0667580f8202553a5c0ef75d900ae5335..94c2753ed959f21190a3247e46c80272358180ae 100644 (file)
@@ -124,8 +124,8 @@ UCLASS_DRIVER(test) = {
        .pre_remove     = test_pre_remove,
        .init           = test_init,
        .destroy        = test_destroy,
-       .priv_auto_alloc_size   = sizeof(struct dm_test_uclass_priv),
-       .per_device_auto_alloc_size = sizeof(struct dm_test_uclass_perdev_priv),
-       .per_device_platdata_auto_alloc_size =
+       .priv_auto      = sizeof(struct dm_test_uclass_priv),
+       .per_device_auto        = sizeof(struct dm_test_uclass_perdev_priv),
+       .per_device_platdata_auto       =
                                        sizeof(struct dm_test_perdev_uc_pdata),
 };