forked from Minki/linux
ALSA: pci: vx222: fix kernel-doc warning
make W=1 warnings: sound/pci/vx222/vx222_ops.c:86: warning: expecting prototype for snd_vx_inb(). Prototype was for vx2_inb() instead sound/pci/vx222/vx222_ops.c:97: warning: expecting prototype for snd_vx_outb(). Prototype was for vx2_outb() instead sound/pci/vx222/vx222_ops.c:110: warning: expecting prototype for snd_vx_inl(). Prototype was for vx2_inl() instead sound/pci/vx222/vx222_ops.c:121: warning: expecting prototype for snd_vx_outl(). Prototype was for vx2_outl() instead sound/pci/vx222/vx222_ops.c:221: warning: expecting prototype for vx_setup_pseudo_dma(). Prototype was for vx2_setup_pseudo_dma() instead Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20210302215430.87309-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
06495facbb
commit
2c48653c1b
@ -78,7 +78,7 @@ static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* snd_vx_inb - read a byte from the register
|
* vx2_inb - read a byte from the register
|
||||||
* @chip: VX core instance
|
* @chip: VX core instance
|
||||||
* @offset: register enum
|
* @offset: register enum
|
||||||
*/
|
*/
|
||||||
@ -88,7 +88,7 @@ static unsigned char vx2_inb(struct vx_core *chip, int offset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* snd_vx_outb - write a byte on the register
|
* vx2_outb - write a byte on the register
|
||||||
* @chip: VX core instance
|
* @chip: VX core instance
|
||||||
* @offset: the register offset
|
* @offset: the register offset
|
||||||
* @val: the value to write
|
* @val: the value to write
|
||||||
@ -102,7 +102,7 @@ static void vx2_outb(struct vx_core *chip, int offset, unsigned char val)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* snd_vx_inl - read a 32bit word from the register
|
* vx2_inl - read a 32bit word from the register
|
||||||
* @chip: VX core instance
|
* @chip: VX core instance
|
||||||
* @offset: register enum
|
* @offset: register enum
|
||||||
*/
|
*/
|
||||||
@ -112,7 +112,7 @@ static unsigned int vx2_inl(struct vx_core *chip, int offset)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* snd_vx_outl - write a 32bit word on the register
|
* vx2_outl - write a 32bit word on the register
|
||||||
* @chip: VX core instance
|
* @chip: VX core instance
|
||||||
* @offset: the register enum
|
* @offset: the register enum
|
||||||
* @val: the value to write
|
* @val: the value to write
|
||||||
@ -213,7 +213,7 @@ static int vx2_test_xilinx(struct vx_core *_chip)
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* vx_setup_pseudo_dma - set up the pseudo dma read/write mode.
|
* vx2_setup_pseudo_dma - set up the pseudo dma read/write mode.
|
||||||
* @chip: VX core instance
|
* @chip: VX core instance
|
||||||
* @do_write: 0 = read, 1 = set up for DMA write
|
* @do_write: 0 = read, 1 = set up for DMA write
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user