Home
last modified time | relevance | path

Searched hist:"3 d7c821c1d8071e517048c8b4afdf33109441c0f" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/acpi/
H A Dacpi_bus.hdiff 3d7c821c1d8071e517048c8b4afdf33109441c0f Fri Jun 04 11:50:46 CDT 2021 Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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>
/openbmc/linux/include/linux/
H A Dacpi.hdiff 3d7c821c1d8071e517048c8b4afdf33109441c0f Fri Jun 04 11:50:46 CDT 2021 Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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>
/openbmc/linux/drivers/acpi/
H A Dscan.cdiff 3d7c821c1d8071e517048c8b4afdf33109441c0f Fri Jun 04 11:50:46 CDT 2021 Andy Shevchenko <andriy.shevchenko@linux.intel.com> 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>