Commit 7942b209 authored by Valerio Genovese's avatar Valerio Genovese Committed by Greg Kroah-Hartman

staging: staging: kpc2000: kpc_dma: fix symbol 'kpc_dma_add_device' was not declared.

This was reported by sparse:
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c:39:7: warning: symbol 'kpc_dma_add_device
' was not declared. Should it be static?
Signed-off-by: default avatarValerio Genovese <valerio.click@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 259c20b3
......@@ -36,7 +36,7 @@ struct kpc_dma_device *kpc_dma_lookup_device(int minor)
return c;
}
void kpc_dma_add_device(struct kpc_dma_device *ldev)
static void kpc_dma_add_device(struct kpc_dma_device *ldev)
{
mutex_lock(&kpc_dma_mtx);
list_add(&ldev->list, &kpc_dma_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment