diff options
author | Andrew Cooper <andrew.cooper3@citrix.com> | 2013-09-25 10:44:21 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-09-25 10:44:21 +0200 |
commit | 688eeb878cc58150bf6e729c9c1836b8c1e4cc8f (patch) | |
tree | 94feadf42fa9087634a1d20d9fe56fc3a133a2d8 /xen/drivers | |
parent | 63a75ba0de817d6f384f96d25427a05c313e2179 (diff) | |
download | xen-688eeb878cc58150bf6e729c9c1836b8c1e4cc8f.tar.gz xen-688eeb878cc58150bf6e729c9c1836b8c1e4cc8f.tar.bz2 xen-688eeb878cc58150bf6e729c9c1836b8c1e4cc8f.zip |
ns16550: Use correct #define symbol for HAS_IOPORTS
CID 1091471, Regression caused by 7c1de0038895cbc75ebd0caffc5b0f3f03c5ad51
This appears to be a typo which causes check_existence() to unconditionally
return 1 in all cases.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/drivers')
-rw-r--r-- | xen/drivers/char/ns16550.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c index 5892eb7a85..9c2cdedcf9 100644 --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -503,7 +503,7 @@ static int __init check_existence(struct ns16550 *uart) { unsigned char status, scratch, scratch2, scratch3; -#ifdef HAS_IO_PORTS +#ifdef HAS_IOPORTS /* * We can't poke MMIO UARTs until they get I/O remapped later. Assume that * if we're getting MMIO UARTs, the arch code knows what it's doing. |