]> git.baikalelectronics.ru Git - kernel.git/commit
media: mc-device.c: change media_device_request_alloc to match media_ioctl_info
authorFrederic Chen <frederic.chen@mediatek.com>
Thu, 6 Aug 2020 15:58:22 +0000 (17:58 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 29 Aug 2020 06:15:23 +0000 (08:15 +0200)
commitcc1ba11579e53e23cb6dd46bc534463182094541
treef2a4ead0200be14acd8bf7f8dc71ff90496bb9de
parentb302f03460c962245c0dba58e24d429aef2600c0
media: mc-device.c: change media_device_request_alloc to match media_ioctl_info

We modified the type of media_device_request_alloc()'s second
parameter from int* to void* so that it can match the interface
defined in struct media_ioctl_info.

[hverkuil: move #ifdef before variable to avoid compile warning]

Signed-off-by: Frederic Chen <frederic.chen@mediatek.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/mc/mc-device.c