]> git.baikalelectronics.ru Git - kernel.git/commit
video: fb_defio.c: local functions should not be exposed globally
authorH Hartley Sweeten <hartleys@visionengravers.com>
Thu, 3 May 2012 00:23:40 +0000 (17:23 -0700)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Tue, 8 May 2012 16:57:05 +0000 (16:57 +0000)
commit85aa97b14be1bfc8372210ecabff3c9185e149db
treefb8382394499156a49429b2cc17fd6ed4c078385
parentede50443a42390f5ff12b824c28ff71c523c7aff
video: fb_defio.c: local functions should not be exposed globally

Functions not referenced outside of a source file should be marked
static to prevent them from being exposed globally.

Quiets the sparse warning:

warning: symbol 'fb_deferred_io_page' was not declared. Should it be static?

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Jaya Kumar <jayalk@intworks.biz>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/fb_defio.c