summaryrefslogtreecommitdiffstats
path: root/sound/ac97
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-09-02 16:21:28 -0500
committerTakashi Iwai <tiwai@suse.de>2020-09-03 09:27:27 +0200
commit2d7a5c6c69029ae7e386cb3a04086a1e0b61cb8f (patch)
tree2db5ffd19ae10d633717afa92fe4e2616e220b6e /sound/ac97
parent04d0b5e3b1ba4aca95534767e47d140be1d6643f (diff)
downloadlinux-2d7a5c6c69029ae7e386cb3a04086a1e0b61cb8f.tar.gz
linux-2d7a5c6c69029ae7e386cb3a04086a1e0b61cb8f.tar.bz2
linux-2d7a5c6c69029ae7e386cb3a04086a1e0b61cb8f.zip
ALSA: ac97: (cosmetic) align argument names
Fix cppcheck warning: sound/ac97/bus.c:133:60: style:inconclusive: Function 'snd_ac97_bus_scan_one' argument 1 names different: declaration 'ac97' definition 'adrv'. [funcArgNamesDifferent] Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200902212133.30964-14-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ac97')
-rw-r--r--sound/ac97/ac97_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ac97/ac97_core.h b/sound/ac97/ac97_core.h
index 0c5956e4b2f3..5a9677c3d4c3 100644
--- a/sound/ac97/ac97_core.h
+++ b/sound/ac97/ac97_core.h
@@ -3,7 +3,7 @@
* Copyright (C) 2016 Robert Jarzmik <robert.jarzmik@free.fr>
*/
-unsigned int snd_ac97_bus_scan_one(struct ac97_controller *ac97,
+unsigned int snd_ac97_bus_scan_one(struct ac97_controller *adrv,
unsigned int codec_num);
static inline bool ac97_ids_match(unsigned int id1, unsigned int id2,