Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6958673rwb; Wed, 18 Jan 2023 11:30:41 -0800 (PST) X-Google-Smtp-Source: AMrXdXuQkW91LWVneA54mji5Yxk5TIXawub0mdDTRP6NCZEyFCCL4WVFjiEk8p5CHaP7awhKsFuw X-Received: by 2002:a17:90a:e554:b0:229:2a57:6df6 with SMTP id ei20-20020a17090ae55400b002292a576df6mr8149254pjb.2.1674070240963; Wed, 18 Jan 2023 11:30:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674070240; cv=none; d=google.com; s=arc-20160816; b=IeI66dHfzeIxXemP1Kj1RtDs828vDBcbcP257wK7bGt63orcwjQ5Q1qSOa4ajfQ33/ RRtkSzpM5Hz2sp0j197SUccoSUqi6jlnm/H7a43e5ZMG6wdFepBXuIdJ0neaRmqXhPX2 lUA9LEiyWtHcy0xsIs5PCVQUBDyXYRl+a4rMRVGTTFBNFV3AaVVikZneTh2lDHglIn0f XS0Ha/Egbp/mZKjnUDQJeoxveTUCOs6CoZ2oVw50S2ApPH6yzKcGHdasWre0vUM+Rycv OIAoZD+tyFs+pNHS/JUT8rs2g9mlCDSDQzMsYVyCNxas51HZaHJL7Y8jJhOZhisZqJbu M3TA== 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=40alu3sQDjmb+jOz5qKVfdsFkDWZD9EntJqEs6jXljs=; b=yFAaSFT+yDoJ/J4iRlGD6XWcOleaBfXyyslK8NpJ2SNrR49iwUJTyaSlDvBkfezwmh 4bfx9cSZDFmPPm/6qA2eHLo79NDhAtUZ5eJIAKJF9wMA86xSBFirij5op98f8NamUtHB i41hOZmlJuKvJi0MaiR2X//nrITPOULEghd8bb651jnN8UOOE5JWX04DDpMFe5zLza8r OBNwfMIqf33qM8QVzkKudaaHLbo+SJliXvM0ufJ+XBsMjnXlmCRt2tFzvWTnkrgO1hTo 8cWclaZNjlT47krgxM8YFCQzW1asuoD+0lt2Jp+Rc+wMpYYXtLFu1osLFrdS2VcM7wlr XDug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Pi6XHOjq; 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 nv18-20020a17090b1b5200b0022998516fd7si3145382pjb.179.2023.01.18.11.30.35; Wed, 18 Jan 2023 11:30:40 -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=Pi6XHOjq; 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 S230168AbjARTTJ (ORCPT + 47 others); Wed, 18 Jan 2023 14:19:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230083AbjARTTA (ORCPT ); Wed, 18 Jan 2023 14:19:00 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E683448A2A; Wed, 18 Jan 2023 11:18:59 -0800 (PST) Received: from umang.jainideasonboard.com (unknown [IPv6:2405:204:820c:4b28:9aaf:3c:ef34:ecdd]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 667591056; Wed, 18 Jan 2023 20:18:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1674069538; bh=+PIqosEfP+3HYLMfQ6JbsMBronwbnjz96aQGq+N2CTQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Pi6XHOjq4artr+hK1B+r5a9I4ThZKP5lqO87TdRR4LnT4WuPBdinA79PI1sujrPD/ VH2ExsrLO48DzQ6gXAn2vrhVDlkqDDVyZ/1F4dqYUk6u9aWDUx9I5hQs1wp/1C9bZX OVWbg2ouKMPbzEX7jRCSbRRKO3uqSdZA4xIn2mTs= 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 , Nicolas Saenz Julienne , Phil Elwell , Dave Stevenson , Kieran Bingham , Laurent Pinchart , Umang Jain Subject: [PATCH v4 4/6] vc04_services: vchiq-mmal: Drop include Makefile directive Date: Thu, 19 Jan 2023 00:48:09 +0530 Message-Id: <20230118191811.208552-5-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230118191811.208552-1-umang.jain@ideasonboard.com> References: <20230118191811.208552-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 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