commit | bb65f5048ee34bd6a81288382ef0a608ccfcd914 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Wed Mar 11 17:56:24 2015 +0100 |
committer | Scott Wood <scottwood@freescale.com> | Tue Mar 31 22:23:18 2015 -0500 |
tree | 2186c606a559fb215dd54962410871002a3af391 | |
parent | 016f8cf0d87bb2bda15ccb8708748a013c27423f [diff] |
powerpc: don't export static symbol The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL; @@ -EXPORT_SYMBOL(f); // </smpl> Furthermore, the function is never used, so its definition is dropped as well. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Scott Wood <scottwood@freescale.com>