Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3172799rwb; Fri, 20 Jan 2023 12:14:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXtptUE7wIx9yNSIJw1e3iq1go09UZZyua25W/gEphDUdu1MMil2nw1tFPRtUo5VnVJVdR9m X-Received: by 2002:a05:6402:524f:b0:491:3a5c:6e5 with SMTP id t15-20020a056402524f00b004913a5c06e5mr23161212edd.1.1674245643352; Fri, 20 Jan 2023 12:14:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674245643; cv=none; d=google.com; s=arc-20160816; b=CQZi6geZIZ+Q2bDu5TUg517JyL8Wdl10QLHIdNXwWGw/rARB9wnR4Y3IHOc80SFs7q lu9ry6sS08eaL+lu5er5LRb9CVR4pFpIL15E0rsuBxZLnl6Jg+vQJPUd3H4bz2g1sr/h vtg8xXkya61NKKhw+/d0nP3jwhHHD7xbo9lGOWvnXzRO0Jo6BKpIKwxEq3Y30fN9BCjX mwkXIJiC7xBgJ4HLajQDEeQXnwIr8e4KTcfc1F4sl4pwFQ6LNT8QwgruOPCJaHs/Yemb MOTkHK5qwU1PqUxliHME37LgtE71yjf+N8PvFrVnXMxyJ7WoBQ/L/kahfCIYbT8nvr7C oi0w== 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=ddZvRkdP6m+j+etJnxrVRpAzGdxpb4LGbVwi1ZKQ9E0=; b=zBf7zy+NqJdBcAxG8AAc8nUcyFtHhzu1FiwpXi1oys05i2hUOtqt8QHQNhVFaontqR KGkRhF3ENxNd9LqMN6AN13bZ9gwgaM81m1FdoYe5M6gLPLErsJF8689ghGGDiuUo71NP trvGlhHA/rGrFHWBRO0j0ugAKfDnvvW/AzItVGcOVYoiAS3omcvMh0xo825Wsvc3ksv9 9M0Qh55XH4DO8piRNwVRU5oB+zuEWwckiXsvVSINF1wKES/BVjFuczHldP+ShP3KwRvt jIGipNGN246bxA/GENEF4dFHIRk9eRQn2cRXJ4tjVVFgZeyvHImJy7PSKDlTAOl0034+ YhxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=EOa7jbvZ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb10-20020a0564020b6a00b0049cb1901e95si22234715edb.563.2023.01.20.12.13.50; Fri, 20 Jan 2023 12:14:03 -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=EOa7jbvZ; 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 S230047AbjATUL5 (ORCPT + 50 others); Fri, 20 Jan 2023 15:11:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230023AbjATULz (ORCPT ); Fri, 20 Jan 2023 15:11:55 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A1A7CC5D1; Fri, 20 Jan 2023 12:11:40 -0800 (PST) Received: from umang.jainideasonboard.com (unknown [103.251.226.6]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 72188558; Fri, 20 Jan 2023 21:11:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1674245498; bh=6sUxsMYifknXqTZnpOmp7J0hJXonrqK3mhOk07C6T5k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EOa7jbvZHe0VkBiJ4wiFoUVBuawHERb1fWjei6eOTqtkJCcjewuDIKMEMAZI7Ynhk JqtSGMvNbZPb7py5T8FNz/XF11Mem2z7Dr3nQoZCqp7aOUlTmx9fIVq+80HiWn99CU +zyS07xixvLTcIQFwL2HG4ij/Ldzn7ibUoe9cLvs= 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 v6 4/6] staging: vc04_services: vchiq-mmal: Drop include Makefile directive Date: Sat, 21 Jan 2023 01:41:02 +0530 Message-Id: <20230120201104.606876-5-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230120201104.606876-1-umang.jain@ideasonboard.com> References: <20230120201104.606876-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Drop the include directive. They can break the build, when 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" -- 2.39.0