mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-18 20:04:16 +08:00
dmaengine: ioat: statify symbol
Sparse warns: drivers/dma/ioat/init.c:1215:6: warning: symbol 'ioat_resume' was not declared. Should it be static? Signed-off-by: Vinod Koul <vinod.koul@intel.com> Acked-by: Dave Jiang <dave.jiang@intel.com>
This commit is contained in:
parent
7d60466325
commit
184ff2aa3c
@ -1212,7 +1212,7 @@ static void ioat_shutdown(struct pci_dev *pdev)
|
|||||||
ioat_disable_interrupts(ioat_dma);
|
ioat_disable_interrupts(ioat_dma);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ioat_resume(struct ioatdma_device *ioat_dma)
|
static void ioat_resume(struct ioatdma_device *ioat_dma)
|
||||||
{
|
{
|
||||||
struct ioatdma_chan *ioat_chan;
|
struct ioatdma_chan *ioat_chan;
|
||||||
u32 chanerr;
|
u32 chanerr;
|
||||||
|
Loading…
Reference in New Issue
Block a user