OSDN Git Service

omap: annotate public functions
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 13 Sep 2018 22:55:46 +0000 (15:55 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 Sep 2018 05:46:45 +0000 (22:46 -0700)
commitf3f7266d94e0354bfd979b30525b0efe87576462
tree93765a9139cc442a6fcdc00a7ba18655af7b449a
parent9a1470fb410bbc84045929b1490366504c33bb59
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>
omap/omap_drm.c