From patchwork Fri Jan 20 20:11: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: 46618 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp404414wrn; Fri, 20 Jan 2023 12:13:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXu8vRfUoSEc3cUFtTQlmJbRSlmMsObzn6kPASOQxdDuzUZYxlCVDdvRlDg/nDqQ9MVJ6lxE X-Received: by 2002:a05:6402:e01:b0:49b:65cc:faa6 with SMTP id h1-20020a0564020e0100b0049b65ccfaa6mr21143934edh.16.1674245580609; Fri, 20 Jan 2023 12:13:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674245580; cv=none; d=google.com; s=arc-20160816; b=ncQce5Yn5MJ1RB42WXTJLtYq5coVE6IH4YUZ9RI49vNUXghDZ/VABwd0UmB1y2cyTE uK6+9OUIF1GRc+tBTk8wZK1gnQdjNr2jPpkml/IuMFWagmWSwtJu1KzPc/ZSFPT0C3jv nDCcR1zLyGAKc+6YfJk1CF4xCTol90U7PQovxzRyeDrba02kfKISASr04Z7UeDU2WsFS yOKLMd0iPzNaAwMX1GG4/lNJqldXhisDhZ378Pap+0uueddFcZz5ZjsAGaONOJoixcuy AH3njNoCSSTp6Jrc7Pg3r8yJNok1icYuLz+1TbyVxKqhLkBehyF+yPuxv0GIJapbT69j F9wA== 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 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.12.34; Fri, 20 Jan 2023 12:13:00 -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 + 99 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 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?1755573733686156289?= X-GMAIL-MSGID: =?utf-8?q?1755573733686156289?= 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"