diff --git a/drivers/misc/rpmsgdev.c b/drivers/misc/rpmsgdev.c index a203b6b5b5..1d933a5785 100644 --- a/drivers/misc/rpmsgdev.c +++ b/drivers/misc/rpmsgdev.c @@ -606,6 +606,10 @@ static ssize_t rpmsgdev_ioctl_arglen(int cmd) case FIONSPACE: case FBIOSET_POWER: case FBIOGET_POWER: + case BATIOC_CURRENT: + case BATIOC_VOLTAGE: + case BATIOC_TEMPERATURE: + case BATIOC_INPUT_CURRENT: case BATIOC_STATE: return sizeof(int); case TUNSETIFF: