ALSA: ac97: use struct keyword for kernel-doc comments

Inform kernel-doc that the comment block is for structs to void
warnings:

Warning: include/sound/ac97/codec.h:46 cannot understand function prototype: 'struct ac97_codec_device'
Warning: include/sound/ac97/codec.h:62 cannot understand function prototype: 'struct ac97_codec_driver'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20260713180303.526409-2-rdunlap@infradead.org
This commit is contained in:
Randy Dunlap
2026-07-13 11:03:00 -07:00
committed by Takashi Iwai
parent d51be165ca
commit 55d21e0abc

View File

@@ -33,7 +33,7 @@ struct ac97_id {
};
/**
* ac97_codec_device - a ac97 codec
* struct ac97_codec_device - a ac97 codec
* @dev: the core device
* @vendor_id: the vendor_id of the codec, as sensed on the AC-link
* @num: the codec number, 0 is primary, 1 is first slave, etc ...
@@ -53,7 +53,7 @@ struct ac97_codec_device {
};
/**
* ac97_codec_driver - a ac97 codec driver
* struct ac97_codec_driver - a ac97 codec driver
* @driver: the device driver structure
* @probe: the function called when a ac97_codec_device is matched
* @remove: the function called when the device is unbound/removed