drivers: espi: Fix syscall implementation names

espi_read_flash should have implementation called
z_impl_espi_read_flash and not z_impl_espi_flash_read. Same thing for
espi_write_flash.

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2020-03-24 16:35:05 -07:00 committed by Andrew Boie
commit 28b5057afc

View file

@ -705,7 +705,7 @@ static inline int z_impl_espi_receive_oob(struct device *dev,
__syscall int espi_read_flash(struct device *dev,
struct espi_flash_packet pckt);
static inline int z_impl_espi_flash_read(struct device *dev,
static inline int z_impl_espi_read_flash(struct device *dev,
struct espi_flash_packet pckt)
{
const struct espi_driver_api *api =
@ -734,7 +734,7 @@ static inline int z_impl_espi_flash_read(struct device *dev,
__syscall int espi_write_flash(struct device *dev,
struct espi_flash_packet pckt);
static inline int z_impl_espi_flash_write(struct device *dev,
static inline int z_impl_espi_write_flash(struct device *dev,
struct espi_flash_packet pckt)
{
const struct espi_driver_api *api =