From patchwork Thu Jan 19 11:55:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 45715 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp288311wrn; Thu, 19 Jan 2023 04:06:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXtuTxz3wq+Oxt0rG/b9G8XySDN+Ns2fs0O894JdvX5SNac9dgJXCfdzdDMaVyrfAtJ/htO9 X-Received: by 2002:a17:906:60d:b0:83d:61f8:3c with SMTP id s13-20020a170906060d00b0083d61f8003cmr8485624ejb.3.1674129994299; Thu, 19 Jan 2023 04:06:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674129994; cv=none; d=google.com; s=arc-20160816; b=dJKdDLbqMfR06wDQwQgSlvZrlS406ka6fM7BzyrDFgfVK0C0IYxWAu6ySjv/a2ndfA bQ05ZI5VHaLioVQBYF/JRnhl9EaxOvgSkzXaeLmi8u2I7To7fLRk78xilPwSZ/Yx6Bmb 4UUTLaWnfurQX5ebbDD7yScyu+ejm6FTAZ8rHrNMe2KJWrn07OgCmyIeWidvQj5ziAzf k8UIF47T04sJln9T81l6Lcl7yTv9FcT67onWzycslA//XLAX89YrECfT55UNioU5aHfY Y0h7+GVtk7HWhtrDcuvc9Q5QVTHaer3ARfKt8RHnYCSHOdl/zIdkFdVr8FNe3IHb8qr8 6m/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6pgBkTRq/tbVV5+MTZHX5wUYARTBlqaQsxVvkjIi41s=; b=fRylfw/k5wyXoD8F0xVMUAfOARUiEhpArcosvrDrmGvr6AHzb1Qy0gYaS61Yxes1F8 2+LT+2q4Vi9A/eUgoL4nYoeA3ef03w/FWVhyNc2TgvdjlVkvXx4PdWj0QczHjDhKOpV6 jucxKd4oz7sbN3BgDLEMmPNP7YcSEAE7eqwaEuSeCZ2J8KnximPhi84CizcdSERPf1mn 3uQji0mNhsYv7gNbEyyJwBSwn7Ms9BF7/d2ZgXzDOYgFGlCvDLwSGLrWVh3xtNR2wBPy pF6WcSLDGjG1ZHoXgecq6bmxNgPXL0UXba65u2OFJUV05rd4vMpMTG4obYiEbXA7dNM7 rDaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=sLxOQqAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb30-20020a170907961e00b0086eb408a888si3343154ejc.131.2023.01.19.04.06.10; Thu, 19 Jan 2023 04:06:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=sLxOQqAF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231244AbjASL4l (ORCPT + 99 others); Thu, 19 Jan 2023 06:56:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbjASL4G (ORCPT ); Thu, 19 Jan 2023 06:56:06 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C761C7571A; Thu, 19 Jan 2023 03:55:56 -0800 (PST) Received: from ideasonboard.com (unknown [IPv6:2401:4900:1c80:b229:a6c1:a673:925f:1ed6]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 070E6904; Thu, 19 Jan 2023 12:55:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1674129355; bh=uZuQczGfDRTm2FbFGCRtYHZ2H2t2F5DLf4cTVA+nP50=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sLxOQqAFe4hmnbCtr83R9gj8QPuIhN9OTi8dOXV7cQc1Ni+AooAN/NOcUVWFltQaL NUQgUS8zOakQardnSw45Uxy7c1oHImS4q5aKjYZRhSg8Xzo0415LsPeHOB5mnmR2ml IIEUn/Ttfq4MDpqgPQzbt5JgIOw2+QVgUwwLa4CU= From: Umang Jain To: linux-staging@lists.linux.dev, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Stefan Wahren , Greg Kroah-Hartman , Florian Fainelli , Adrien Thierry , Dan Carpenter , Dave Stevenson , Kieran Bingham , Laurent Pinchart , Paul Elder , Umang Jain Subject: [PATCH v5 5/6] staging: vc04_services: interface: Drop include Makefile directive Date: Thu, 19 Jan 2023 17:25:02 +0530 Message-Id: <20230119115503.268693-6-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230119115503.268693-1-umang.jain@ideasonboard.com> References: <20230119115503.268693-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755452533373466382?= X-GMAIL-MSGID: =?utf-8?q?1755452533373466382?= Drop the include directive they can break the build one only wants to build a subdirectory. Replace with "../" for the includes, in the interface/ files instead. Suggested-by: Greg Kroah-Hartman Signed-off-by: Umang Jain --- drivers/staging/vc04_services/Makefile | 2 -- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h | 2 +- .../staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h | 3 ++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vc04_services/Makefile b/drivers/staging/vc04_services/Makefile index 1fd191e2e2a5..44794bdf6173 100644 --- a/drivers/staging/vc04_services/Makefile +++ b/drivers/staging/vc04_services/Makefile @@ -15,5 +15,3 @@ obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/ obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/ obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += vchiq-mmal/ -ccflags-y += -I $(srctree)/$(src)/include - diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h index 3c198eb1c77a..ec1a3caefaea 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h @@ -10,8 +10,8 @@ #include #include #include -#include +#include "../../include/linux/raspberrypi/vchiq.h" #include "vchiq_cfg.h" /* Do this so that we can test-build the code on non-rpi systems */ diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h index 96f50beace44..17550831f86c 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h @@ -5,7 +5,8 @@ #define VCHIQ_IOCTLS_H #include -#include + +#include "../../include/linux/raspberrypi/vchiq.h" #define VCHIQ_IOC_MAGIC 0xc4 #define VCHIQ_INVALID_HANDLE (~0)