mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
ALSA: usb-audio: um144mkii: use "var" keyword for data
Use the "var" keyword when describing data definitions to avoid kernel-doc warnings: Warning: sound/usb/usx2y/us144mkii_pcm.h:14 cannot understand function prototype: 'const struct snd_pcm_hardware tascam_pcm_hw;' Warning: sound/usb/usx2y/us144mkii_pcm.h:21 cannot understand function prototype: 'const struct snd_pcm_ops tascam_playback_ops;' Warning: sound/usb/usx2y/us144mkii_pcm.h:28 cannot understand function prototype: 'const struct snd_pcm_ops tascam_capture_ops;' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260713180303.526409-5-rdunlap@infradead.org
This commit is contained in:
parent
6dad8dc4b1
commit
6873ab65f4
|
|
@ -7,7 +7,7 @@
|
|||
#include "us144mkii.h"
|
||||
|
||||
/**
|
||||
* tascam_pcm_hw - Hardware capabilities for TASCAM US-144MKII PCM.
|
||||
* var tascam_pcm_hw - Hardware capabilities for TASCAM US-144MKII PCM.
|
||||
*
|
||||
* Defines the supported PCM formats, rates, channels, and buffer/period sizes
|
||||
* for the TASCAM US-144MKII audio interface.
|
||||
|
|
@ -15,14 +15,14 @@
|
|||
extern const struct snd_pcm_hardware tascam_pcm_hw;
|
||||
|
||||
/**
|
||||
* tascam_playback_ops - ALSA PCM operations for playback.
|
||||
* var tascam_playback_ops - ALSA PCM operations for playback.
|
||||
*
|
||||
* This structure defines the callback functions for playback stream operations.
|
||||
*/
|
||||
extern const struct snd_pcm_ops tascam_playback_ops;
|
||||
|
||||
/**
|
||||
* tascam_capture_ops - ALSA PCM operations for capture.
|
||||
* var tascam_capture_ops - ALSA PCM operations for capture.
|
||||
*
|
||||
* This structure defines the callback functions for capture stream operations.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user