Search
SailfishOS Open Build Service
>
Projects
>
home:cxl000
:
nemo:devel:hw:xiaomi:clover
>
kernel-adaptation-clover
> 000_include_fixes.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 000_include_fixes.patch of Package kernel-adaptation-clover
diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 4df2b48fae44..5b5405beb743 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -30,6 +30,7 @@ $(warning LSE atomics not supported by binutils) endif endif +#$(error compat_vdso is $(CONFIG_COMPAT_VDSO)) ifeq ($(CONFIG_COMPAT_VDSO), y) CROSS_COMPILE_ARM32 ?= $(CONFIG_CROSS_COMPILE_ARM32:"%"=%) diff --git a/drivers/bluetooth/btfm_slim.c b/drivers/bluetooth/btfm_slim.c index 0a61186167ba..7cf59ccbe38c 100644 --- a/drivers/bluetooth/btfm_slim.c +++ b/drivers/bluetooth/btfm_slim.c @@ -23,8 +23,8 @@ #include <sound/soc.h> #include <sound/soc-dapm.h> #include <sound/tlv.h> -#include <btfm_slim.h> -#include <btfm_slim_wcn3990.h> +#include "btfm_slim.h" +#include "btfm_slim_wcn3990.h" #include <linux/bluetooth-power.h> int btfm_slim_write(struct btfmslim *btfmslim, diff --git a/drivers/bluetooth/btfm_slim_codec.c b/drivers/bluetooth/btfm_slim_codec.c index 035e8d9fb5fd..5a1b1fef29fd 100644 --- a/drivers/bluetooth/btfm_slim_codec.c +++ b/drivers/bluetooth/btfm_slim_codec.c @@ -24,7 +24,7 @@ #include <sound/soc.h> #include <sound/soc-dapm.h> #include <sound/tlv.h> -#include <btfm_slim.h> +#include "btfm_slim.h" static int bt_soc_enable_status; diff --git a/drivers/bluetooth/btfm_slim_wcn3990.c b/drivers/bluetooth/btfm_slim_wcn3990.c index 7abd5598c47b..7d611f803328 100644 --- a/drivers/bluetooth/btfm_slim_wcn3990.c +++ b/drivers/bluetooth/btfm_slim_wcn3990.c @@ -10,8 +10,8 @@ * GNU General Public License for more details. */ #include <linux/slimbus/slimbus.h> -#include <btfm_slim.h> -#include <btfm_slim_wcn3990.h> +#include "btfm_slim.h" +#include "btfm_slim_wcn3990.h" /* WCN3990 Port assignment */ struct btfmslim_ch wcn3990_rxport[] = { diff --git a/drivers/bluetooth/btfm_slim_wcn3990.h b/drivers/bluetooth/btfm_slim_wcn3990.h index b637ac581201..5b75ed6e9cfe 100644 --- a/drivers/bluetooth/btfm_slim_wcn3990.h +++ b/drivers/bluetooth/btfm_slim_wcn3990.h @@ -12,7 +12,7 @@ #ifndef BTFM_SLIM_WCN3990_H #define BTFM_SLIM_WCN3990_H #ifdef CONFIG_BTFM_SLIM_WCN3990 -#include <btfm_slim.h> +#include "btfm_slim.h" /* Registers Address */ #define CHRK_SB_COMP_TEST 0x00000000 diff --git a/drivers/gpu/msm/Makefile b/drivers/gpu/msm/Makefile index c6b03986aead..584e091d19bf 100644 --- a/drivers/gpu/msm/Makefile +++ b/drivers/gpu/msm/Makefile @@ -13,6 +13,9 @@ msm_kgsl_core-y = \ kgsl_events.o \ kgsl_pool.o +CFLAGS_kgsl_trace.o := -I$(src) +CFLAGS_kgsl_events.o := -I$(src) + msm_kgsl_core-$(CONFIG_QCOM_KGSL_IOMMU) += kgsl_iommu.o msm_kgsl_core-$(CONFIG_DEBUG_FS) += kgsl_debugfs.o msm_kgsl_core-$(CONFIG_QCOM_KGSL_CFF_DUMP) += kgsl_cffdump.o @@ -35,6 +38,9 @@ msm_adreno-y += \ adreno_cp_parser.o \ adreno_perfcounter.o +CFLAGS_adreno_trace.o := -I$(src) +CFLAGS_adreno_events.o := -I$(src) + msm_adreno-$(CONFIG_QCOM_KGSL_IOMMU) += adreno_iommu.o msm_adreno-$(CONFIG_DEBUG_FS) += adreno_debugfs.o adreno_profile.o msm_adreno-$(CONFIG_COMPAT) += adreno_compat.o diff --git a/drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c b/drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c index 67fa887541bc..aa30fb6e3d54 100644 --- a/drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c +++ b/drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c @@ -27,7 +27,7 @@ #include <linux/sizes.h> #include <soc/qcom/scm.h> #include <soc/qcom/secure_buffer.h> -#include <msm_camera_tz_util.h> +#include "msm_camera_tz_util.h" #include "cam_smmu_api.h" #define SCRATCH_ALLOC_START SZ_128K diff --git a/drivers/media/platform/msm/camera_v2/isp/Makefile b/drivers/media/platform/msm/camera_v2/isp/Makefile index b10da7f80507..431df3717d0a 100644 --- a/drivers/media/platform/msm/camera_v2/isp/Makefile +++ b/drivers/media/platform/msm/camera_v2/isp/Makefile @@ -4,4 +4,4 @@ ccflags-y += -Idrivers/media/platform/msm/camera_v2/common/ obj-$(CONFIG_MSMB_CAMERA) += msm_buf_mgr.o msm_isp_util.o msm_isp_axi_util.o msm_isp_stats_util.o obj-$(CONFIG_MSMB_CAMERA) += msm_isp48.o msm_isp47.o msm_isp46.o msm_isp44.o msm_isp40.o msm_isp.o -CFLAGS_msm_isp_util.o += -Wframe-larger-than=8192 +CFLAGS_msm_isp_util.o += -I$(src) -Wframe-larger-than=8192 diff --git a/drivers/media/platform/msm/camera_v2/sensor/io/Makefile b/drivers/media/platform/msm/camera_v2/sensor/io/Makefile index 549c35a806f7..d838eac6d608 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/io/Makefile +++ b/drivers/media/platform/msm/camera_v2/sensor/io/Makefile @@ -4,3 +4,5 @@ ccflags-y += -Idrivers/media/platform/msm/camera_v2/sensor ccflags-y += -Idrivers/media/platform/msm/camera_v2/sensor/cci ccflags-y += -Idrivers/misc/ obj-$(CONFIG_MSMB_CAMERA) += msm_camera_cci_i2c.o msm_camera_qup_i2c.o msm_camera_spi.o msm_camera_dt_util.o msm_camera_tz_i2c.o + +CFLAGS_msm_camera_tz_i2c.o += -I$(src) diff --git a/drivers/net/ethernet/msm/Makefile b/drivers/net/ethernet/msm/Makefile index 5bf934e82fce..7e97b96c509a 100644 --- a/drivers/net/ethernet/msm/Makefile +++ b/drivers/net/ethernet/msm/Makefile @@ -5,3 +5,5 @@ obj-$(CONFIG_MSM_RMNET_MHI) += msm_rmnet_mhi.o obj-$(CONFIG_ECM_IPA) += ecm_ipa.o obj-$(CONFIG_RNDIS_IPA) += rndis_ipa.o + +CFLAGS_rndis_ipa.o += -I$(src) diff --git a/drivers/platform/msm/ipa/ipa_v2/Makefile b/drivers/platform/msm/ipa/ipa_v2/Makefile index 69b8a4c94461..488d907733b8 100644 --- a/drivers/platform/msm/ipa/ipa_v2/Makefile +++ b/drivers/platform/msm/ipa/ipa_v2/Makefile @@ -3,4 +3,6 @@ ipat-y := ipa.o ipa_debugfs.o ipa_hdr.o ipa_flt.o ipa_rt.o ipa_dp.o ipa_client.o ipa_utils.o ipa_nat.o ipa_intf.o teth_bridge.o ipa_interrupts.o \ ipa_uc.o ipa_uc_wdi.o ipa_dma.o ipa_uc_mhi.o ipa_mhi.o ipa_uc_ntn.o +CFLAGS_ipa.o += -I$(src) + obj-$(CONFIG_RMNET_IPA) += rmnet_ipa.o ipa_qmi_service_v01.o ipa_qmi_service.o rmnet_ipa_fd_ioctl.o diff --git a/drivers/platform/msm/ipa/ipa_v3/Makefile b/drivers/platform/msm/ipa/ipa_v3/Makefile index a4faaea715a8..cec56e46a6cc 100644 --- a/drivers/platform/msm/ipa/ipa_v3/Makefile +++ b/drivers/platform/msm/ipa/ipa_v3/Makefile @@ -5,4 +5,6 @@ ipat-y := ipa.o ipa_debugfs.o ipa_hdr.o ipa_flt.o ipa_rt.o ipa_dp.o ipa_client.o ipa_utils.o ipa_nat.o ipa_intf.o teth_bridge.o ipa_interrupts.o \ ipa_uc.o ipa_uc_wdi.o ipa_dma.o ipa_uc_mhi.o ipa_mhi.o ipa_uc_ntn.o +CFLAGS_ipa.o += -I$(src) + obj-$(CONFIG_RMNET_IPA3) += rmnet_ipa.o ipa_qmi_service_v01.o ipa_qmi_service.o rmnet_ipa_fd_ioctl.o diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile index 8d57d316a07e..6eb55f04dd84 100644 --- a/drivers/soc/qcom/Makefile +++ b/drivers/soc/qcom/Makefile @@ -74,6 +74,7 @@ obj-$(CONFIG_QCOM_WATCHDOG_V2) += watchdog_v2.o obj-$(CONFIG_QCOM_COMMON_LOG) += common_log.o obj-$(CONFIG_QCOM_IRQ_HELPER) += irq-helper.o obj-$(CONFIG_TRACER_PKT) += tracer_pkt.o +CFLAGS_tracer_pkt.o += -I$(src) obj-$(CONFIG_ICNSS) += icnss.o wlan_firmware_service_v01.o icnss_utils.o obj-$(CONFIG_SOC_BUS) += socinfo.o obj-$(CONFIG_QCOM_BUS_SCALING) += msm_bus/ diff --git a/sound/soc/msm/msm8998.c b/sound/soc/msm/msm8998.c index 1c1f65fb3f5c..f7e9d51db8c7 100644 --- a/sound/soc/msm/msm8998.c +++ b/sound/soc/msm/msm8998.c @@ -33,7 +33,7 @@ #include <sound/q6core.h> #include <sound/pcm_params.h> #include <sound/info.h> -#include <device_event.h> +#include "device_event.h" #include <linux/qdsp6v2/audio_notifier.h> #include "qdsp6v2/msm-pcm-routing-v2.h" #include "../codecs/wcd9335.h"