mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 21:02:43 +01:00
x86 does not use CONFIG_GENERIC_MSI_IRQ, and trying to enable it anyway
results in a build failure:
In file included from include/linux/ssb/ssb.h:10,
from drivers/ssb/pcihost_wrapper.c:18:
include/linux/gpio/driver.h:41:33: error: field 'msiinfo' has incomplete type
41 | msi_alloc_info_t msiinfo;
| ^~~~~~~
In file included from include/linux/kvm_host.h:19,
from arch/x86/events/intel/core.c:17:
include/linux/msi.h:528:33: error: field 'alloc_info' has incomplete type
528 | msi_alloc_info_t alloc_info;
Change the driver to actually build without this symbol and remove the
incorrect 'select' statements.
Fixes: e8b18c1173 ("cdx: Fix missing GENERIC_MSI_IRQ on compile test")
Reviewed-by: Robin Murphy <[email protected]>
Reviewed-by: Nikhil Agarwal <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Nipun Gupta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
23 lines
459 B
Plaintext
23 lines
459 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# CDX controller configuration
|
|
#
|
|
# Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
|
|
#
|
|
|
|
if CDX_BUS
|
|
|
|
config CDX_CONTROLLER
|
|
tristate "CDX bus controller"
|
|
depends on HAS_DMA
|
|
select REMOTEPROC
|
|
select RPMSG
|
|
help
|
|
CDX controller drives the CDX bus. It interacts with
|
|
firmware to get the hardware devices and registers with
|
|
the CDX bus. Say Y to enable the CDX hardware driver.
|
|
|
|
If unsure, say N.
|
|
|
|
endif
|