From: Vladimir 'phcoder' Serbinenko Date: Sun, 29 Aug 2010 11:45:36 +0000 (+0200) Subject: Fix compilation on yeeloong X-Git-Tag: 1.99~629^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d387bafaf6149cd33845af4d68ca909e1cb43cf;p=thirdparty%2Fgrub.git Fix compilation on yeeloong --- diff --git a/include/grub/ns8250.h b/include/grub/ns8250.h index 2dcd07f14..7947ba9c9 100644 --- a/include/grub/ns8250.h +++ b/include/grub/ns8250.h @@ -70,9 +70,11 @@ /* Turn on DTR, RTS, and OUT2. */ #define UART_ENABLE_OUT2 0x08 +#ifndef ASM_FILE #include grub_port_t grub_ns8250_hw_get_port (const unsigned int unit); +#endif #endif /* ! GRUB_SERIAL_MACHINE_HEADER */