]> git.baikalelectronics.ru Git - kernel.git/commit
staging/gdm72xx: Include corresponding header file (fix sparse warning)
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 19 Feb 2013 17:50:18 +0000 (18:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 Mar 2013 16:25:54 +0000 (09:25 -0700)
commitf2f831c999fc6cdf667c64f764e0e3b700c96765
tree5ff1845c8e75dcead432a172c9a6ba01e899c98b
parent79a565050f8f94d148352fb73bb2d1cadebcfa89
staging/gdm72xx: Include corresponding header file (fix sparse warning)

sdio_boot.c and netlink_k.c both have a corresponding header file with
their function prototypes but fail to include them, which leads to the
following sparse warnings:
sdio_boot.c:135:5: warning: symbol 'sdio_boot' was not declared. Should it be static?
netlink_k.c:89:13: warning: symbol 'netlink_init' was not declared. Should it be static?
netlink_k.c:109:6: warning: symbol 'netlink_exit' was not declared. Should it be static?
netlink_k.c:114:5: warning: symbol 'netlink_send' was not declared. Should it be static?

-> Add the include files and silence the warning

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gdm72xx/netlink_k.c
drivers/staging/gdm72xx/sdio_boot.c