From patchwork Thu Jan 19 11:55:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 45713 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp288062wrn; Thu, 19 Jan 2023 04:06:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXu5Fi+pFHg3BPHBIja6zn1ZfbCAryUOFY8baqJJ5gx5gt+uh6Dnpt0hf/DBryDIhRCofE/V X-Received: by 2002:a17:903:2289:b0:189:6ab3:9e57 with SMTP id b9-20020a170903228900b001896ab39e57mr15307406plh.22.1674129959685; Thu, 19 Jan 2023 04:05:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674129959; cv=none; d=google.com; s=arc-20160816; b=oUEoq0DCcfW0v5+Dh4wU2hN61uhb2ndYHm62xZLOLq6aEerHLf6Hd1TWxVgM4aXu7z 3Vu2t7dZS8OKc4Co9aRFbuUywcIs757hZjxDgwyX10jadQDudM31f+A/41wMTeGL/I22 JbvtVMv0yHlnX/6YNdC1loa92uoS5J0uhbZzr8nnD4WCof0SVI3AhE7YCNNq8tLXxQTt c1alTaCvhfDi23vT4jY9TdiAWcPhmvP/fITs5YlGIwAVC7dT4VefWDcZnCOcsF+Vp5RR F1iVZ+T3055EzacR/I8EDN69Hp1hv75aH5aZKpmZlHIJ3mukZqaIr47BSAWSHfecMAyP 6UXQ== 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=zzMzmCZQlFdD1twnT8IIYDn6CNevuglb4v3DP0nU0pQ=; b=qLKpKhOVD/ZX8Hj+gFKyWTkEHdzOjl2KbWysDGDyiboKUipe0Xi0zOjUQ/D3snBA78 rndILq29yxnmgNWrFoWNpsRFiaex1S9Zg6XNdC8VK82mqoUuS/s8peO5cjgSK0WFB7P2 yi5JWBrD17oEQGJVsAnDFjzniIYtobBNCTIUidlqeo8vd4Ylga7NsLCqnkBxhDNoTkII HcK1J61P8Rx59T2IhgInV/zJNnKO0WFMX/G56tlramypwUKkKMWWTkb48xjxTmy5ZqQV OcgDTV5pKSY408ZVdYLiuY54RC506dEtgnxjqDrQ7kHPDtgN4owjAL47n1cB13sokkLN kLRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=OovRV9Gq; 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 b14-20020a170903228e00b00194a01b7317si6676073plh.58.2023.01.19.04.05.47; Thu, 19 Jan 2023 04:05:59 -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=OovRV9Gq; 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 S231248AbjASL4N (ORCPT + 99 others); Thu, 19 Jan 2023 06:56:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231247AbjASL4B (ORCPT ); Thu, 19 Jan 2023 06:56:01 -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 CADC469233; Thu, 19 Jan 2023 03:55:49 -0800 (PST) Received: from ideasonboard.com (unknown [IPv6:2401:4900:1c80:b229:a6c1:a673:925f:1ed6]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D04FB2B3; Thu, 19 Jan 2023 12:55:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1674129348; bh=hCxqWie3uzplKZ4e/Tdld6iDDnEY3d1lDlFPtpJvD6U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OovRV9GqCGYr5smFORFQnpl3BGbYa4GbbXSJFsB4flPzHxsyWRxYnjkuVjYs17MB6 xBUfGbgSh8xEKYXWgehHzRZ5//QdkWGAho8G6GbyuO+SZKYFCaE82bCv+r5nD50jQ1 jPjV1MeJvdle/qVmDtiYgoPCKDOK2i25+azT1Rdo= 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 4/6] staging: vc04_services: vchiq-mmal: Drop include Makefile directive Date: Thu, 19 Jan 2023 17:25:01 +0530 Message-Id: <20230119115503.268693-5-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?1755452496483403267?= X-GMAIL-MSGID: =?utf-8?q?1755452496483403267?= Drop the include directive they can break the build one only wants to build a subdirectory. Replace with "../" for the includes, in the mmal-vchiq.c instead. Suggested-by: Greg Kroah-Hartman Signed-off-by: Umang Jain --- drivers/staging/vc04_services/vchiq-mmal/Makefile | 4 ---- drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/vc04_services/vchiq-mmal/Makefile b/drivers/staging/vc04_services/vchiq-mmal/Makefile index c7d3b06e17ce..6937f6534c26 100644 --- a/drivers/staging/vc04_services/vchiq-mmal/Makefile +++ b/drivers/staging/vc04_services/vchiq-mmal/Makefile @@ -2,7 +2,3 @@ bcm2835-mmal-vchiq-objs := mmal-vchiq.o obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += bcm2835-mmal-vchiq.o - -ccflags-y += \ - -I$(srctree)/$(src)/.. \ - -I$(srctree)/$(src)/../include diff --git a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c index 6b5879a33780..234e3764db64 100644 --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c @@ -23,9 +23,9 @@ #include #include #include -#include #include +#include "../include/linux/raspberrypi/vchiq.h" #include "mmal-common.h" #include "mmal-vchiq.h" #include "mmal-msg.h"