mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
camera: Use conftest to find if media_entity_remote_pad() present
Use conftest to determine if media_entity_remote_pad()
function is present or not
This function is removed by commit b2e44430b634 ("media:
mc-entity: Rename media_entity_remote_pad to media_pad_remote_pad_first")
in Linux 6.0
Bug 4387902
Change-Id: I816016731ac44a3c093438310f8e60bd166f2fd7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3037917
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
90e2ac6ac7
commit
b40e45535e
@@ -945,6 +945,22 @@ compile_test() {
|
||||
compile_check_conftest "$CODE" "NV_MDEV_GET_TYPE_GROUP_ID_PRESENT" "" "functions"
|
||||
;;
|
||||
|
||||
media_entity_remote_pad)
|
||||
#
|
||||
# Determine if media_entity_remote_pad() function is present or not
|
||||
#
|
||||
# Removed by commit b2e44430b634 ("media: mc-entity: Rename
|
||||
# media_entity_remote_pad() to media_pad_remote_pad_first()") in Linux 6.0
|
||||
#
|
||||
CODE="
|
||||
#include <media/media-entity.h>
|
||||
void conftest_media_entity_remote_pad(void) {
|
||||
media_entity_remote_pad();
|
||||
}"
|
||||
|
||||
compile_check_conftest "$CODE" "NV_MEDIA_ENTITY_REMOTE_PAD_PRESENT" "" "functions"
|
||||
;;
|
||||
|
||||
vfio_device_mig_state)
|
||||
#
|
||||
# Determine if vfio_device_mig_state enum is present or not
|
||||
|
||||
Reference in New Issue
Block a user