drivers: flash: atmel_sam: Fix build error

There is a typo in the function pointer assigned to get_parameters.  It
should be flash_sam_get_parameters.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-06-26 05:12:57 -05:00 committed by Kumar Gala
commit 4cc93041db

View file

@ -357,7 +357,7 @@ static const struct flash_driver_api flash_sam_api = {
.erase = flash_sam_erase, .erase = flash_sam_erase,
.write = flash_sam_write, .write = flash_sam_write,
.read = flash_sam_read, .read = flash_sam_read,
.get_parameters = flash_sim_get_parameters, .get_parameters = flash_sam_get_parameters,
#ifdef CONFIG_FLASH_PAGE_LAYOUT #ifdef CONFIG_FLASH_PAGE_LAYOUT
.page_layout = flash_sam_page_layout, .page_layout = flash_sam_page_layout,
#endif #endif