nvdimm: fix inline function return type warning
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 28 Jul 2015 19:27:01 +0000 (12:27 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 31 Jul 2015 22:17:09 +0000 (18:17 -0400)
commitf6ef5a2a50816b58e3126206de13d0b9fdf89df5
treea881bb78a27d19bf6e4eba2cabc0c9146a88585e
parent60e95f43fc8573e81f54b0c1e0bc542c2260d956
nvdimm: fix inline function return type warning

Fix multiple build warnings when CONFIG_BTT is not enabled:

In file included from ../drivers/nvdimm/bus.c:29:0:
../drivers/nvdimm/nd.h:169:15: warning: return type defaults to 'int' [-Wreturn-type]
 static inline nd_btt_probe(struct nd_namespace_common *ndns, void *drvdata)
               ^

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: linux-nvdimm@lists.01.org
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/nd.h