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:
parent
a5b4e272e2
commit
28b5057afc
1 changed files with 2 additions and 2 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue