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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://patch.msgid.link/[email protected]
This commit is contained in:
Randy Dunlap authored and Takashi Iwai committed 2026-07-14 08:00:43 +02:00
1 parent d51be165ca
commit 55d21e0abc
1 file changed
+2 -2
+2 -2
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