]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: base: Add prototype declaration to the header file
authorRashika Kheria <rashika.kheria@gmail.com>
Fri, 20 Dec 2013 15:08:23 +0000 (20:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 20:20:26 +0000 (12:20 -0800)
commit00951b4e428d73044fb1c5d08d276d518100b0dd
treebb727b1345a16b9b2dd4396220744d45459a27e2
parenta67edff31a3a260562d22ff08bf8958577270e17
drivers: base: Add prototype declaration to the header file

Add prototype declaration of function memory_block_size_bytes() to
the header file include/linux/memory.h.

This eliminates the following warning in memory.c:
drivers/base/memory.c:87:1: warning: no previous prototype for ‘memory_block_size_bytes’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/memory.h