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)
commitee61cfd955a64a58ed35cbcfc54068fcbd486945
tree55aa88b396e323e8eb9fdf36833a3e79bcdda9f7
parente71ba9452f0b5b2e8dc8aa5445198cd9214a6a62
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