commit | f3f7266d94e0354bfd979b30525b0efe87576462 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@intel.com> | Thu Sep 13 15:55:46 2018 -0700 |
committer | Lucas De Marchi <lucas.demarchi@intel.com> | Wed Sep 19 22:46:45 2018 -0700 |
tree | 93765a9139cc442a6fcdc00a7ba18655af7b449a | |
parent | 9a1470fb410bbc84045929b1490366504c33bb59 [diff] |
omap: annotate public functions while read sym; do read f func line _ <<<$(cscope -d -L -1 $sym) if [ ! -z "$f" ]; then sed -i "${line}s/^/drm_public /" $f fi done < /tmp/a.txt In which /tmp/a.txt contains the public symbols from omap-symbol-check. The idea here will be to switch the default visibility to hidden so we don't export symbols we shouldn't. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Acked-by: Eric Engestrom <eric.engestrom@intel.com>