]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: lustre: Add function prototypes in console.h
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Sat, 28 Mar 2015 11:42:53 +0000 (17:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:30:52 +0000 (17:30 +0200)
commitbdb5876419465840ec3da691c4a3bfc44aafc011
treefa3071eb8818240589d013103bbcc9757bc8fa60
parent01ae047552529e483f36c446dbb322f216cf2fdf
Staging: lustre: Add function prototypes in console.h

Sparse reported the following warnings:
warning: symbol 'lstcon_console_init' was not declared. Should it be static?
warning: symbol 'lstcon_console_fini' was not declared. Should it be static?
warning: symbol 'lstcon_ioctl_entry' was not declared. Should it be static?

However since these functions are used in other files,
they cannot be made static, so add protoypes for the same in console.h.

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/selftest/console.h