Commit 04babe79 authored by Shawn Guo's avatar Shawn Guo Committed by Zheng Zengkai
Browse files

ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI



stable inclusion
from stable-5.10.9
commit 45f7e133f9e8182409fe7ac18256586442a513c6
bugzilla: 47457

--------------------------------

[ Upstream commit ee61cfd9 ]

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: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 33d987cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment