diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2015-07-28 12:27:01 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-07-31 18:17:09 -0400 |
commit | f6ef5a2a50816b58e3126206de13d0b9fdf89df5 (patch) | |
tree | a881bb78a27d19bf6e4eba2cabc0c9146a88585e /kernel/resource.c | |
parent | 60e95f43fc8573e81f54b0c1e0bc542c2260d956 (diff) | |
download | op-kernel-dev-f6ef5a2a50816b58e3126206de13d0b9fdf89df5.zip op-kernel-dev-f6ef5a2a50816b58e3126206de13d0b9fdf89df5.tar.gz |
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>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions