]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: kpc2000: Fix: 'kpc_dma_del_device' and other symbols were not declared
authorRishiraj Manwatkar <manwatkar@outlook.com>
Tue, 11 Jun 2019 03:35:41 +0000 (03:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Jun 2019 08:47:12 +0000 (10:47 +0200)
commitabddd78ef465b86fc89a3d9750bb76a138bc0859
tree81228d580b7936f7bbebd68dfbc6126d7063184b
parent3300a661a97ebcd10ddb5c1c149f22a171e7098a
staging: kpc2000: Fix: 'kpc_dma_del_device' and other symbols were not declared

This patch removes the Sparse generated warnings. Following warnings are reported by Sparse:
drivers/staging/kpc2000//kpc_dma/kpc_dma_driver.c:46:6: warning: symbol 'kpc_dma_del_device' was not declared. Should it be static?
drivers/staging/kpc2000//kpc_dma/kpc_dma_driver.c:91:14: warning: symbol 'kpc_dma_class' was not declared. Should it be static?
drivers/staging/kpc2000//kpc_dma/kpc_dma_driver.c:199:24: warning: symbol 'kpc_dma_plat_driver_i' was not declared. Should it be static?

Signed-off-by: Rishiraj Manwatkar <manwatkar@outlook.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c