]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Fix compilation on yeeloong
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 29 Aug 2010 11:45:36 +0000 (13:45 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 29 Aug 2010 11:45:36 +0000 (13:45 +0200)
include/grub/ns8250.h

index 2dcd07f1431231113da8fa80201157033e18b7bd..7947ba9c99b82409f1820f7a47b5de45d2bdd72c 100644 (file)
 /* Turn on DTR, RTS, and OUT2.  */
 #define UART_ENABLE_OUT2       0x08
 
+#ifndef ASM_FILE
 #include <grub/cpu/io.h>
 
 grub_port_t
 grub_ns8250_hw_get_port (const unsigned int unit);
+#endif
 
 #endif /* ! GRUB_SERIAL_MACHINE_HEADER */