Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: ac97: Fix kernel-doc error with sphinx formatter

Sphinx takes a word like (*foo)->bar in the kernel-doc comments as a
part of the emphasized marker, and complains like

./sound/pci/ac97/ac97_codec.c:1908: WARNING: Inline emphasis start-string without end-string.

For avoiding this, wrap it with the quotes (``) in the comment.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

+1 -1
+1 -1
sound/pci/ac97/ac97_codec.c
··· 1907 1907 * write). The other callbacks, wait and reset, are not mandatory. 1908 1908 * 1909 1909 * The clock is set to 48000. If another clock is needed, set 1910 - * (*rbus)->clock manually. 1910 + * ``(*rbus)->clock`` manually. 1911 1911 * 1912 1912 * The AC97 bus instance is registered as a low-level device, so you don't 1913 1913 * have to release it manually.