Merge branch 'master' of git://git.denx.de/u-boot-spi
[u-boot.git] / drivers / spi / ich.c
index af327c45bbcf60835b95f58ca5c29bbc5a7cb9de..f85af9c9fb9528bef4ec3ebd4ad10693c1be8188 100644 (file)
@@ -740,7 +740,7 @@ static int ich_spi_child_pre_probe(struct udevice *dev)
        struct udevice *bus = dev_get_parent(dev);
        struct ich_spi_platdata *plat = dev_get_platdata(bus);
        struct ich_spi_priv *priv = dev_get_priv(bus);
-       struct spi_slave *slave = dev_get_parentdata(dev);
+       struct spi_slave *slave = dev_get_parent_priv(dev);
 
        /*
         * Yes this controller can only write a small number of bytes at
This page took 0.026368 seconds and 4 git commands to generate.