diff options
author | Frédéric Danis <[email protected]> | 2017-10-11 10:32:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-10-20 14:24:44 +0200 |
commit | 53c7626356c7584e82510d86394a6dcd80525614 (patch) | |
tree | aec39e6472b6873eec78e8a6be461d0289db240c /lib/mpi/mpi-cmp.c | |
parent | 53501e0236295149fb984c4dafda2dfc8448ed26 (diff) |
serdev: Add ACPI support
This patch allows SerDev module to manage serial devices declared as
attached to an UART in ACPI table.
acpi_serdev_add_device() callback will only take into account entries
without enumerated flag set. This flags is set for all entries during
ACPI scan, except for SPI and I2C serial devices, and for UART with
2nd patch in the series.
Check if a serdev device as been allocated during acpi_walk_namespace()
to prevent serdev controller registration instead of the tty-class device.
Signed-off-by: Frédéric Danis <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Reviewed-by: Johan Hovold <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions