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:
parent
2cee0b2a4e
commit
4cc93041db
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ static const struct flash_driver_api flash_sam_api = {
|
|||
.erase = flash_sam_erase,
|
||||
.write = flash_sam_write,
|
||||
.read = flash_sam_read,
|
||||
.get_parameters = flash_sim_get_parameters,
|
||||
.get_parameters = flash_sam_get_parameters,
|
||||
#ifdef CONFIG_FLASH_PAGE_LAYOUT
|
||||
.page_layout = flash_sam_page_layout,
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue