OSDN Git Service

radeon: annotate public functions
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 13 Sep 2018 23:05:15 +0000 (16:05 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 20 Sep 2018 05:46:45 +0000 (22:46 -0700)
commit9f45264815eff6ebeba3a7ed2149b5b29d5d6707
treed98052f8f5018a290803d51198bc33b9a260cbb2
parentf3f7266d94e0354bfd979b30525b0efe87576462
radeon: 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
radeon-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>
radeon/radeon_bo.c
radeon/radeon_bo_gem.c
radeon/radeon_cs.c
radeon/radeon_cs_gem.c
radeon/radeon_cs_space.c
radeon/radeon_surface.c