1 #ifndef SUNXI_DRV_UART_H 2 #define SUNXI_DRV_UART_H 3 #include <devfs.h> 4 typedef struct sunxi_driver_uart 5 { 6 struct devfs_node base; 7 int32_t dev_id; 8 const void *hal_drv; 9 } sunxi_driver_uart_t; 10 11 #endif /*SUNXI_DRV_UART_H*/ 12
1 #ifndef SUNXI_DRV_UART_H 2 #define SUNXI_DRV_UART_H 3 #include <devfs.h> 4 typedef struct sunxi_driver_uart 5 { 6 struct devfs_node base; 7 int32_t dev_id; 8 const void *hal_drv; 9 } sunxi_driver_uart_t; 10 11 #endif /*SUNXI_DRV_UART_H*/ 12