mirror of
https://github.com/MiSTer-devel/Linux-Kernel_MiSTer.git
synced 2026-05-17 03:03:57 +00:00
v5.15.1
This commit is contained in:
@@ -327,4 +327,18 @@ static inline int serdev_tty_port_unregister(struct tty_port *port)
|
||||
}
|
||||
#endif /* CONFIG_SERIAL_DEV_CTRL_TTYPORT */
|
||||
|
||||
struct acpi_resource;
|
||||
struct acpi_resource_uart_serialbus;
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
bool serdev_acpi_get_uart_resource(struct acpi_resource *ares,
|
||||
struct acpi_resource_uart_serialbus **uart);
|
||||
#else
|
||||
static inline bool serdev_acpi_get_uart_resource(struct acpi_resource *ares,
|
||||
struct acpi_resource_uart_serialbus **uart)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
#endif /* CONFIG_ACPI */
|
||||
|
||||
#endif /*_LINUX_SERDEV_H */
|
||||
|
||||
Reference in New Issue
Block a user