]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0c42043454a743dbd6a44fb1ca106ab0be71f4a
tree19934eb8f37079018c5cb2048582eba861898c8c
parentd7f3ef778be7dc237226ed9da68c3548718efccf
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