]> git.baikalelectronics.ru Git - kernel.git/commit
ssbi: Fix exit mismatch in remove function
authorDavid Brown <davidb@codeaurora.org>
Tue, 12 Mar 2013 18:41:48 +0000 (11:41 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 17:37:21 +0000 (10:37 -0700)
commit69e08a38f57eeb2f83b00a3061ab60d30d4e795d
treee1a9299ca293ec4c21a774444e72052efa5507bf
parent306add653d9d4b80985a53945421373f28b47fd7
ssbi: Fix exit mismatch in remove function

msm_ssbi_remove is referenced with __exit_p, but not declared with
__exit.  This causes a warning when the driver is not built as a
module:

drivers/ssbi/ssbi.c:341:23: warning: 'msm_ssbi_remove' defined but not used [-Wunused-function]

The remove is needed for unbinding to work, even if not compiled as a
module, so just remove it.

Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/ssbi/ssbi.c