From patchwork Fri Jan 25 06:54:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156537 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp11732jaa; Thu, 24 Jan 2019 22:55:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN5fvx9hksE8gSQLDSVek0k8O+NQcD+RJIZ8oHsQ/5KHY/MSChgsy3lYP8xt6HJWLhPFrysL X-Received: by 2002:a17:902:9a02:: with SMTP id v2mr9953152plp.180.1548399310207; Thu, 24 Jan 2019 22:55:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548399310; cv=none; d=google.com; s=arc-20160816; b=M5dRN3l64JerYNuAI9YooOzqemcsq+ecBgerTdXO+q/YtVM+sBd8WSh6YS51/GYwfR J9qK7+umMIa9lB84Ou5iqf8OrYAf98gqZL6nqKoNr5JGt/i1knhHpD/m7moGkSbojkPj CzEdqCoBfJN6RApGS5weoQ8/oBlsbyrOqhQQXNlOl10BF/lE/07KALp8kWuO9mnbgyb9 5LXNSxhdZJgjnYzk8tbAwnQleHBSteSMqkpPWOaXSs1zd3oPM1eNY3WA7+ozEi4FzQmM q6HHu4fNbHK3l/6qgWqoq/wlCVEXq5z6L3LLadwyAG+nqcyihXtHTOxo1ZzGndAaULyu /VrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=h8rpwS53NnS4Ivs3ONGYw2ef3dhr+vT5OXxbzo4VzEE=; b=ST9YHEkOZhVsHh0VK2BvdCVTeyLXNoSPwRqV9ngFc49kUH9Rr5GiQExuoQR/cmWF4Q Wi0yKBWSYxudsjlNIgKAb0vamy6P+muCSZmuuAy8Jn64NIJL1qi+v9MGF3Pj8hwVGjuk yLoU3baypoyOWpdkuM+IHTXIXPcucl0Gqcp+8w11F3diktHpbBJM0tSnl1azBw7se02G 92FJBAPr4NSJY170A7S2OrEmrpoRkqT4T5PViVVHy5+1xm9ynQ2EmWGKjcG22xi7VPyn n5JnTJpWPd2oxWdfl1juoCVvWtrmSCEkGri1lGDnB3o6SL+1WKmJpt6DdVxLcNWr5dGw 2LlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ttfxxIIE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si25931356plm.1.2019.01.24.22.55.09; Thu, 24 Jan 2019 22:55:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=ttfxxIIE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727918AbfAYGyw (ORCPT + 31 others); Fri, 25 Jan 2019 01:54:52 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:57090 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726271AbfAYGyv (ORCPT ); Fri, 25 Jan 2019 01:54:51 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x0P6sNWo014857; Fri, 25 Jan 2019 15:54:25 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x0P6sNWo014857 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548399265; bh=h8rpwS53NnS4Ivs3ONGYw2ef3dhr+vT5OXxbzo4VzEE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ttfxxIIEC9VRTaHkxy3jHaGEmmQ+s3S73dyShdyF/XBPk3a7QfwYsWILcDtFbVmpa xyb5k5OWUYqUezi6vxhUOXRaweIC1gnWpk88wiOtxG5P3fojrV2geLAjvQC1RgnsBo 3H/tY9ZU3YGXbQ7odfMX3sa0y+EzuOnolkFZtK18+J+pqNRpz0CLCIZGPYOLG+EXNS gm2V9nz2kWB6WmumIxxdTYvCKvGpevxGmd+qynciPLewRgCwDAnq1F01SaREfTykwY fO//Nu08MSmODhsxWKm7CvQsVd4hQju7GR92rDoiQ8OvTK0N6gU6qHGl0KFdjytJNq jPw+d76yXtrFg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Mauro Carvalho Chehab , linux-media@vger.kernel.org Cc: Masahiro Yamada , Philipp Zabel , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] media: coda: remove -I$(src) header search path Date: Fri, 25 Jan 2019 15:54:17 +0900 Message-Id: <1548399259-17750-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548399259-17750-1-git-send-email-yamada.masahiro@socionext.com> References: <1548399259-17750-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove the header search path to the current directory. The compiler will search headers in the current directory by using #include "..." instead of #include <...> Also, change TRACE_INCLUDE_PATH to point to the location of trace.h. Signed-off-by: Masahiro Yamada --- drivers/media/platform/coda/Makefile | 2 -- drivers/media/platform/coda/coda-h264.c | 3 ++- drivers/media/platform/coda/trace.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/drivers/media/platform/coda/Makefile b/drivers/media/platform/coda/Makefile index 8582843..3eed821 100644 --- a/drivers/media/platform/coda/Makefile +++ b/drivers/media/platform/coda/Makefile @@ -1,5 +1,3 @@ -ccflags-y += -I$(src) - coda-objs := coda-common.o coda-bit.o coda-gdi.o coda-h264.o coda-jpeg.o obj-$(CONFIG_VIDEO_CODA) += coda.o diff --git a/drivers/media/platform/coda/coda-h264.c b/drivers/media/platform/coda/coda-h264.c index 635356a..6da82d1 100644 --- a/drivers/media/platform/coda/coda-h264.c +++ b/drivers/media/platform/coda/coda-h264.c @@ -14,7 +14,8 @@ #include #include #include -#include + +#include "coda.h" static const u8 coda_filler_size[8] = { 0, 7, 14, 13, 12, 11, 10, 9 }; diff --git a/drivers/media/platform/coda/trace.h b/drivers/media/platform/coda/trace.h index a672bfc..6cf5823 100644 --- a/drivers/media/platform/coda/trace.h +++ b/drivers/media/platform/coda/trace.h @@ -157,7 +157,7 @@ DEFINE_EVENT(coda_buf_meta_class, coda_dec_rot_done, #endif /* __CODA_TRACE_H__ */ #undef TRACE_INCLUDE_PATH -#define TRACE_INCLUDE_PATH . +#define TRACE_INCLUDE_PATH ../../drivers/media/platform/coda #undef TRACE_INCLUDE_FILE #define TRACE_INCLUDE_FILE trace