devlink: fix sb register stub in case devlink is disabled
authorJiri Pirko <jiri@mellanox.com>
Fri, 15 Apr 2016 07:17:08 +0000 (09:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Apr 2016 16:57:29 +0000 (12:57 -0400)
commitde33efd0fb7f923cd41671b1f743c3a0d44dd953
treea7d1cce067a75d00cccf78222a53f7ae076598d4
parent608b9977260f67d8b032ea170666a6174a48e2f1
devlink: fix sb register stub in case devlink is disabled

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: bf7974710a40 ("devlink: add shared buffer configuration")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h