summaryrefslogtreecommitdiff
path: root/scripts/check-function-names.sh
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2026-01-28 00:37:49 +0000
committerMark Brown <broonie@kernel.org>2026-01-28 00:37:49 +0000
commit1924bd68a0c06f9f2c06cf35e60dfc55cdc34a91 (patch)
treec38cc30d6b1df687a1b02c157966a33fd8468e51 /scripts/check-function-names.sh
parentab2e3fa491734b655e1d37aee058fa7195174d74 (diff)
parentc76d50b71e898694c946993eb3c77f50efa97254 (diff)
ASoC: codec: Remove ak4641/pxa2xx-ac97 and convert to
Merge series from "Peng Fan (OSS)" <peng.fan@oss.nxp.com>: The main goal is to convert drivers to use GPIO descriptors. While reading the code, I think it is time to remove ak4641 and pxa2xx-ac97 driver, more info could be found in commit log of each patch. Then only need to convert sound/arm/pxa2xx-ac97-lib.c to use GPIO descriptors. Not have hardware to test the pxa2xx ac97.
Diffstat (limited to 'scripts/check-function-names.sh')
-rwxr-xr-xscripts/check-function-names.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check-function-names.sh b/scripts/check-function-names.sh
index 410042591cfc..08071133e5a5 100755
--- a/scripts/check-function-names.sh
+++ b/scripts/check-function-names.sh
@@ -13,7 +13,7 @@ if [ ! -f "$objfile" ]; then
exit 1
fi
-bad_symbols=$(nm "$objfile" | awk '$2 ~ /^[TtWw]$/ {print $3}' | grep -E '^(startup|exit|split|unlikely|hot|unknown)(\.|$)')
+bad_symbols=$(${NM:-nm} "$objfile" | awk '$2 ~ /^[TtWw]$/ {print $3}' | grep -E '^(startup|exit|split|unlikely|hot|unknown)(\.|$)')
if [ -n "$bad_symbols" ]; then
echo "$bad_symbols" | while read -r sym; do