diff --git a/Kbuild b/Kbuild index 3402c58816c8..15b63d346e19 100644 --- a/Kbuild +++ b/Kbuild @@ -1746,7 +1746,7 @@ PLD_INC := -I$(WLAN_ROOT)/$(PLD_INC_DIR) \ PLD_OBJS := $(PLD_SRC_DIR)/pld_common.o -ifeq ($(CONFIG_PCI), y) +ifeq ($(CONFIG_HIF_PCI), 1) PLD_OBJS += $(PLD_SRC_DIR)/pld_pcie.o endif ifeq ($(CONFIG_ICNSS), y) diff --git a/core/pld/src/pld_pcie.h b/core/pld/src/pld_pcie.h index 79f9cabc8522..82d3c9ed91c5 100644 --- a/core/pld/src/pld_pcie.h +++ b/core/pld/src/pld_pcie.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2018 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -33,7 +33,7 @@ #endif #include "pld_internal.h" -#ifndef CONFIG_PCI +#ifndef HIF_PCI static inline int pld_pcie_register_driver(void) { return 0;