]> git.sur5r.net Git - u-boot/blobdiff - drivers/spi/sandbox_spi.c
tools: moveconfig: extract helper function for user confirmation
[u-boot] / drivers / spi / sandbox_spi.c
index e717424db83a9ff7dcc15bc57074c5722b66ff11..092b13b00bf65e8153b7cc8394da2d757057cd69 100644 (file)
@@ -15,7 +15,7 @@
 #include <spi_flash.h>
 #include <os.h>
 
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/spi.h>
 #include <asm/state.h>
 #include <dm/device-internal.h>
@@ -160,6 +160,5 @@ U_BOOT_DRIVER(spi_sandbox) = {
        .name   = "spi_sandbox",
        .id     = UCLASS_SPI,
        .of_match = sandbox_spi_ids,
-       .per_child_auto_alloc_size      = sizeof(struct spi_slave),
        .ops    = &sandbox_spi_ops,
 };