mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 12:19:06 +00:00
DM: cleanup resource for uart.
Add deinit function for uart. Another work is add resource cleanup functions which is called by other components when they are using uart. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -44,4 +44,5 @@ void uart_legacy_dealloc(int which);
|
||||
uint8_t uart_read(struct uart_vdev *uart, int offset);
|
||||
void uart_write(struct uart_vdev *uart, int offset, uint8_t value);
|
||||
int uart_set_backend(struct uart_vdev *uart, const char *opt);
|
||||
void uart_release_backend(struct uart_vdev *uart, const char *opts);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user