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)
commitc478c7f4cb940b63eb675d236588c6fda7adea08
treef2a4ead0200be14acd8bf7f8dc71ff90496bb9de
parent78d95c35f2a4ceaf207e82f66e4d678c1682ae6b
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