serial: 8250_dw: Drop wrong use of ACPI_PTR()
stable inclusion from linux-4.19.218 commit 7dcbeeda147dfabd02b272fc569e8646ff7d4ee1 -------------------------------- [ Upstream commit ebabb77a ] ACPI_PTR() is more harmful than helpful. For example, in this case if CONFIG_ACPI=n, the ID table left unused which is not what we want. Instead of adding ifdeffery here and there, drop ACPI_PTR(). Fixes: 6a7320c4 ("serial: 8250_dw: Add ACPI 5.0 support") Reported-by:Daniel Palmer <daniel@0x0f.com> Signed-off-by:
Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20211005134516.23218-1-andriy.shevchenko@linux.intel.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment