From: Julia Lawall Date: Wed, 11 Mar 2015 16:56:24 +0000 (+0100) Subject: powerpc: don't export static symbol X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~60^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb65f5048ee34bd6a81288382ef0a608ccfcd914;p=pandora-kernel.git powerpc: don't export static symbol The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // Furthermore, the function is never used, so its definition is dropped as well. Signed-off-by: Julia Lawall Signed-off-by: Scott Wood --- Reading git-diff-tree failed