]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI
authorShawn Guo <shawn.guo@linaro.org>
Thu, 31 Dec 2020 11:35:25 +0000 (19:35 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 7 Jan 2021 16:44:00 +0000 (17:44 +0100)
commit36b474dee0e9b307cc7ea1ac9723f83aa993a562
tree55aa88b396e323e8eb9fdf36833a3e79bcdda9f7
parent7ef47eb101f0dca6dbe94b167f11a8b3cbd1be02
ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI

It adds a stub acpi_create_platform_device() for !CONFIG_ACPI build, so
that caller doesn't have to deal with !CONFIG_ACPI build issue.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/acpi.h