From patchwork Thu Jan 24 12:16:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 156473 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1879922jaa; Thu, 24 Jan 2019 04:16:46 -0800 (PST) X-Google-Smtp-Source: ALg8bN5yn1QIcndNfS39FHTw2wi/arM5lbxQA4G36O/QFlO7GsGBDtIHyX1kZ/591qLVRZa4xIM8 X-Received: by 2002:a62:2c4d:: with SMTP id s74mr6185884pfs.6.1548332206260; Thu, 24 Jan 2019 04:16:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548332206; cv=none; d=google.com; s=arc-20160816; b=Ed/nxN9PhmXIe0CLLKooCD45GMzuDHFkeZI1FDYiVmi+sM9+zWf3G7Z0cDfgQU1XAN hKwAZcojGh8jMJrRwN7oO3/ljUHTupb6iUBd4zYOxjVIEpI396wQUhtdIn4qBOChH8xN ud9P3q9YonCkCkdsiHyxLgNTHaW8XmTkiObHBg1/m54x6veEPWv1n2TNBfYsK1HQ3TK6 Ea6jg6Il8yfvu1+8LSMT19ydvGYKx0CuJaE2d9jxJF6rlU9ZcxveNuQYk3ZOVRQoljn0 3SjnsiOkhAA5+p7ndQBH9V5nO/iGieJRvsLYl7wUwRkBc55baj5EJcEe4QX4ULlL+OP3 Tk5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=fcs9Tf30L7diisTe9kSWtVGAq5PPlPjnIbgxyaZumog=; b=HpNF1OIZ8EMMdZgwhqy9AL7O2+jhjjZsWlN0NJzTky3IHihjeKMbLMzgSKeBCN71Ak 9p0IY4+dpR4gCSPqRZmnpxgFEhIOsQY7mesSuH8ce0fhjfa/mwcfsaWatjxNLsLE4rL7 s9G6mzjryPAPeku2MFyLNYprVi1pkecsD0F5xYMD5BQnBXBmVEXdloWc6TFZRMdmB3xh VxaiYc/tmY4kNbEbjWTFyqHnTgv4/A2+lcazM7KwSfK2GwzywR/aJIedpdR0MldEMu2Q jO+wG74VkJmiXBM+5g92PldZhaFS/Ii9Z9gYvvGc3paqGUat7oQp5rA3+QMTXVsGRWZn VWIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=AsouC6bX; 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 p66si7113512pfp.144.2019.01.24.04.16.45; Thu, 24 Jan 2019 04:16:46 -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=AsouC6bX; 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 S1726105AbfAXMQn (ORCPT + 31 others); Thu, 24 Jan 2019 07:16:43 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:52693 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727443AbfAXMQk (ORCPT ); Thu, 24 Jan 2019 07:16:40 -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 x0OCGKiQ017405; Thu, 24 Jan 2019 21:16:20 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x0OCGKiQ017405 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1548332181; bh=fcs9Tf30L7diisTe9kSWtVGAq5PPlPjnIbgxyaZumog=; h=From:To:Cc:Subject:Date:From; b=AsouC6bX8PZhWYLH2/zFKqf/wOxFQC5Yin/AUDaw046ZUkZzoGO9xErnj+KwSjWYM 3Rfu7Z6tA8NS2CWR2KeoQbFd/TgGPovv0JiLqH9K3+C6RNGSm/W/IgZY8QSBd6aLUy OHv2D3yBjjNkSmzmxvpBlUrGh9+V1usIPFji016mdwGeWkkmYA3EwJRcLMzNpBE/3M FWITbVt+SRH58X32xxKbEb6JsDmjR9yJXPPmn5GkdRgwe90q8iOLGhT9JLFR/s7L38 u0AfpJ1/RPEFLnXXoApe8DqBLu+TC8ZJ0TymJFrSxzINYqaYd4D/SEH5s648cQCVLu 2JMb+sRlpz07w== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: "Rafael J . Wysocki" , linux-acpi@vger.kernel.org Cc: Masahiro Yamada , Len Brown , linux-kernel@vger.kernel.org Subject: [PATCH] ACPI / DPTF: remove header search path to the parent directory Date: Thu, 24 Jan 2019 21:16:03 +0900 Message-Id: <1548332163-17869-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is too much to add extra header search path for all files in drivers/acpi/dptf/. Fix up one C file, and remove the header search path. Signed-off-by: Masahiro Yamada --- My main motivation is to get rid of crappy header search path manipulation from Kbuild core. Before that, I want to clean up as many useless paths as possible. The full work of this is available at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git build-test drivers/acpi/dptf/Makefile | 2 -- drivers/acpi/dptf/int340x_thermal.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) -- 2.7.4 diff --git a/drivers/acpi/dptf/Makefile b/drivers/acpi/dptf/Makefile index 06ea880..e6032e4 100644 --- a/drivers/acpi/dptf/Makefile +++ b/drivers/acpi/dptf/Makefile @@ -1,4 +1,2 @@ obj-$(CONFIG_ACPI) += int340x_thermal.o obj-$(CONFIG_DPTF_POWER) += dptf_power.o - -ccflags-y += -Idrivers/acpi diff --git a/drivers/acpi/dptf/int340x_thermal.c b/drivers/acpi/dptf/int340x_thermal.c index 8636409..0aa7c2e 100644 --- a/drivers/acpi/dptf/int340x_thermal.c +++ b/drivers/acpi/dptf/int340x_thermal.c @@ -12,7 +12,7 @@ #include #include -#include "internal.h" +#include "../internal.h" #define INT3401_DEVICE 0X01 static const struct acpi_device_id int340x_thermal_device_ids[] = {