]> git.karo-electronics.de Git - linux-beck.git/commit
xen: Silence compiler warnings
authorDaniel Kiper <daniel.kiper@oracle.com>
Sat, 12 Jul 2014 21:09:47 +0000 (23:09 +0200)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 18 Jul 2014 20:24:03 +0000 (21:24 +0100)
commit57f7138d760700f56a8aa944376c28ff83c47c26
tree24c760c1f47c2e1442606d0941c7522bc57ba431
parentaeffc4928ea21aab3c7be72f00e257799b661c29
xen: Silence compiler warnings

Add inline keyword to silence the following compiler
warnings if xen_efi_probe() is not used:

  CC      arch/x86/xen/setup.o
In file included from arch/x86/xen/xen-ops.h:7:0,
                 from arch/x86/xen/setup.c:31:
include/xen/xen-ops.h:43:35: warning: ‘xen_efi_probe’ defined but not used [-Wunused-function]

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
include/xen/xen-ops.h