OnePlusOSS / android_kernel_oneplus_msm8998

Other
141 stars 107 forks source link

drivers: media: msm: don't use nested functions #21

Open aa889788 opened 4 years ago

aa889788 commented 4 years ago

clang doesn't support nested functions, and there's no compelling reason that these functions need to have such a restricted scope.

Change-Id: I698f7b19de8f6dff46a717403c1f518446748b18 Signed-off-by: Greg Hackmann ghackmann@google.com Link: https://android.googlesource.com/kernel/msm/+/a7812babae94ac48da09e7e967c0b55d24a77994 Signed-off-by: Nathan Chancellor natechancellor@gmail.com