ACPI: scan: Constify acpi_dma_supported() helper function
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 4 Jun 2021 16:50:46 +0000 (19:50 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 7 Jun 2021 12:43:41 +0000 (14:43 +0200)
commit3d7c821c1d8071e517048c8b4afdf33109441c0f
tree503eaae0f56b5d4031a7215c133438f56686a35c
parent5c1a72a0fbe1b02c3ce0537f85f92ea935e0beec
ACPI: scan: Constify acpi_dma_supported() helper function

Constify arguments to acpi_dma_supported(). The function doesn't need
to change the content of the passed argument and when it's const it
allows to supply the result of other functions that may return a pointer
to a constant object.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[ rjw: Subject edit ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/scan.c
include/acpi/acpi_bus.h
include/linux/acpi.h