diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c
-index 1f88907..9f77b7c 100644
+index 1f88907..bb8d97b 100644
--- a/xen/drivers/char/ns16550.c
+++ b/xen/drivers/char/ns16550.c
@@ -15,6 +15,8 @@
#include <xen/serial.h>
#include <xen/iocap.h>
+#include <xen/pci.h>
-+#include <xen/pci_reg.h>
++#include <xen/pci_regs.h>
#include <asm/io.h>
/*
return (status == 0x90);
}
-+static
++static void
+magic_uart_config (struct ns16550 *uart)
+{
+ uint16_t class;
+
+ for (b = 1; b < 0x100; ++b)
+ {
-+ for (d = 0; d < 0x20:++d)
++ for (d = 0; d < 0x20; ++d)
+ {
+ for (f = 0; f < 0x20; ++f)
+ {