drivers: flash_handlers fixes stray semicolon
z_vrfy_flash_get_page_count defined as a function prototype in place of a real function due to a stray semicolon. Signed-off-by: Andrei Gansari <andrei.gansari@nxp.com>
This commit is contained in:
parent
1e831befea
commit
6d1e10635d
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ static inline int z_vrfy_flash_get_page_info_by_idx(struct device *dev,
|
||||||
}
|
}
|
||||||
#include <syscalls/flash_get_page_info_by_idx_mrsh.c>
|
#include <syscalls/flash_get_page_info_by_idx_mrsh.c>
|
||||||
|
|
||||||
static inline size_t z_vrfy_flash_get_page_count(struct device *dev);
|
static inline size_t z_vrfy_flash_get_page_count(struct device *dev)
|
||||||
{
|
{
|
||||||
Z_OOPS(Z_SYSCALL_DRIVER_FLASH(dev, page_layout));
|
Z_OOPS(Z_SYSCALL_DRIVER_FLASH(dev, page_layout));
|
||||||
return z_impl_flash_get_page_count((struct device *)dev);
|
return z_impl_flash_get_page_count((struct device *)dev);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue