Skip to content
Commit fc886107 authored by Mark Charlebois's avatar Mark Charlebois Committed by Rob Clark
Browse files

drm/msm: Change nested function to static function



There is currently a nested function in Russel King's tree
for the msm HDMI driver.

The last nested function was removed from the Linux kernel
when the Thinkpad driver was fixed.

I believe nested functions are not desired upstream, and it
also breaks compilation with clang so here is a patch to
change the nested function into static function. The patch
works with both clang and gcc.

Signed-off-by: default avatarMark Charlebois <charlebm@gmail.com>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 3afdd8a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment