diff options
Diffstat (limited to 'drivers/mtd/spi/sandbox.c')
| -rw-r--r-- | drivers/mtd/spi/sandbox.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/mtd/spi/sandbox.c b/drivers/mtd/spi/sandbox.c index 0b602dc9140..1d0c1cb3fa2 100644 --- a/drivers/mtd/spi/sandbox.c +++ b/drivers/mtd/spi/sandbox.c @@ -538,7 +538,7 @@ int sandbox_sf_bind_emul(struct sandbox_state *state, int busnum, int cs,  	str = strdup(name);  	if (!str)  		return -ENOMEM; -	ret = device_bind_ofnode(bus, drv, str, NULL, node, &emul); +	ret = device_bind(bus, drv, str, NULL, node, &emul);  	if (ret) {  		free(str);  		printf("Cannot create emul device for spec '%s' (err=%d)\n", | 
