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:
Andrei Gansari 2019-11-12 14:11:45 +02:00 committed by Anas Nashif
commit 6d1e10635d

View file

@ -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);