spi: flash: use default_flash_copy()

This commit is contained in:
S.J.R. van Schaik 2017-06-16 15:43:21 +02:00
parent 1a2341e012
commit 6d73d7a655

View file

@ -23,6 +23,7 @@ static struct flash_ops spi_flash_ops = {
.get_capacity = spi_flash_get_size,
.read = spi_flash_read,
.write = spi_flash_write,
.copy = default_flash_copy,
.is_erased = default_flash_is_erased,
.erase = spi_flash_erase,
};