drm/msm: Change nested function to static function
authorMark Charlebois <charlebm@gmail.com>
Fri, 29 Aug 2014 18:05:50 +0000 (11:05 -0700)
committerRob Clark <robdclark@gmail.com>
Thu, 11 Sep 2014 10:49:20 +0000 (06:49 -0400)
commitfc886107c55634415d24584008ebac4edd074af1
tree19934eb8f37079018c5cb2048582eba861898c8c
parent3afdd8a0e26dfa8c4c67bef56d89fe53ed425f3d
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: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/hdmi/hdmi.c