xen: move xc_interface compatibility fallback further up the file
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 3 Oct 2017 17:51:05 +0000 (18:51 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 26 Apr 2018 15:29:51 +0000 (16:29 +0100)
commit85f3c64da3235ae9f7c66a5264170f5101145b30
tree77254c186f1931a04802b2afd81275f5d3a11590
parent74aae6bff4fec3a655a2da7053ac2edbaf51e7b6
xen: move xc_interface compatibility fallback further up the file

We are going to want to use the dummy xendevicemodel_handle type in
new stub functions in the CONFIG_XEN_CTRL_INTERFACE_VERSION < 41000
section.  So we need to provide that definition, or (as applicable)
include the appropriate header, earlier in the file.

(Ideally the newer compatibility layers would be at the bottom of the
file, so that they can naturally benefit from the compatibility layers
for earlier version.  But that's rather too much for this series.)

No functional change.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
include/hw/xen/xen_common.h