mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
media: camera: Use conftest for devnode
Use confest in the camera CDI and ISC drivers to determine if the 'devnode' function pointer under the class structure to take a const device struct. Also fix the commit in conftest that introduced the change to the 'devnode' function pointer. Bug 4346767 Change-Id: I66de39e079c13219e0ff3e7154c0e7ceb609a29d Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3034763 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b0a2e7383c
commit
891d093a76
@@ -6651,7 +6651,7 @@ compile_test() {
|
||||
# Determine if the 'class' structure devnode function pointer
|
||||
# has const 'struct dev' argument.
|
||||
#
|
||||
# Commit 43a7206b0963 ("driver core: class: make class_register()
|
||||
# Commit ff62b8e6588f ("driver core: make struct class.devnode()
|
||||
# take a const *") updated the class_register function to take a
|
||||
# const class structure in Linux v6.2.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user