diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-06 01:44:32 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 15:41:41 +0300 |
commit | 2413fe67dbfeaf2d70bd13ed8efdfdbf0cbf7014 (patch) | |
tree | 5540c9b638b0e13b07577dc41bf3bb0385b5b076 | |
parent | a6c38a280c073fb1311bfa1845b6cad7279c9f6c (diff) | |
download | u-boot-2413fe67dbfeaf2d70bd13ed8efdfdbf0cbf7014.tar.xz |
Correct SPL uses of XEN_SERIAL
This converts 4 usages of this option to the non-SPL form, since there is
no SPL_XEN_SERIAL defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/xen/events.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 532216fece..2ebe20dbf2 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -23,9 +23,9 @@ #include <xen/events.h> #include <xen/hvm.h> -#if CONFIG_IS_ENABLED(XEN_SERIAL) +#if IS_ENABLED(CONFIG_XEN_SERIAL) extern u32 console_evtchn; -#endif /* CONFIG_IS_ENABLED(XEN_SERIAL) */ +#endif /* IS_ENABLED(CONFIG_XEN_SERIAL) */ #define NR_EVS 1024 @@ -53,10 +53,10 @@ void unbind_all_ports(void) struct vcpu_info *vcpu_info = &s->vcpu_info[cpu]; for (i = 0; i < NR_EVS; i++) { -#if CONFIG_IS_ENABLED(XEN_SERIAL) +#if IS_ENABLED(CONFIG_XEN_SERIAL) if (i == console_evtchn) continue; -#endif /* CONFIG_IS_ENABLED(XEN_SERIAL) */ +#endif /* IS_ENABLED(CONFIG_XEN_SERIAL) */ if (test_and_clear_bit(i, bound_ports)) { printf("port %d still bound!\n", i); |