summaryrefslogtreecommitdiff
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis.oss@gmail.com>2017-10-11 10:32:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-20 14:24:44 +0200
commit53c7626356c7584e82510d86394a6dcd80525614 (patch)
treeaec39e6472b6873eec78e8a6be461d0289db240c /drivers/acpi/scan.c
parent53501e0236295149fb984c4dafda2dfc8448ed26 (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 <frederic.danis.oss@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Reviewed-by: Johan Hovold <johan@kernel.org> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/acpi/scan.c')
0 files changed, 0 insertions, 0 deletions