mbox: Fix function syscall check
The syscall check is done using a wrong function name. Fix it. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
This commit is contained in:
parent
7a9a5cec0b
commit
5e810dd34d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ static inline int z_vrfy_mbox_send(const struct mbox_channel *channel,
|
||||||
|
|
||||||
static inline int z_vrfy_mbox_mtu_get(const struct device *dev)
|
static inline int z_vrfy_mbox_mtu_get(const struct device *dev)
|
||||||
{
|
{
|
||||||
Z_OOPS(Z_SYSCALL_DRIVER_MBOX(dev, max_data_size_get));
|
Z_OOPS(Z_SYSCALL_DRIVER_MBOX(dev, mtu_get));
|
||||||
|
|
||||||
return z_impl_mbox_mtu_get(dev);
|
return z_impl_mbox_mtu_get(dev);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue