aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-01-24 07:16:03 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-01-29 05:04:15 -0500
commit580d0382c1cdc7aac9d99babc526d0d4c01e1fca (patch)
tree1e461b3dbb08bed657addc74b70d80a789e6e821
parentf17b5f06cb92ef2250513a1e154c47b78df07d40 (diff)
ACPI / DPTF: remove header search path to the parent directory
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 <yamada.masahiro@socionext.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/acpi/dptf/Makefile2
-rw-r--r--drivers/acpi/dptf/int340x_thermal.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/dptf/Makefile b/drivers/acpi/dptf/Makefile
index 06ea8809583d..e6032e47e83f 100644
--- a/drivers/acpi/dptf/Makefile
+++ b/drivers/acpi/dptf/Makefile
@@ -1,4 +1,2 @@
1obj-$(CONFIG_ACPI) += int340x_thermal.o 1obj-$(CONFIG_ACPI) += int340x_thermal.o
2obj-$(CONFIG_DPTF_POWER) += dptf_power.o 2obj-$(CONFIG_DPTF_POWER) += dptf_power.o
3
4ccflags-y += -Idrivers/acpi
diff --git a/drivers/acpi/dptf/int340x_thermal.c b/drivers/acpi/dptf/int340x_thermal.c
index 86364097e236..0aa7c2e62e95 100644
--- a/drivers/acpi/dptf/int340x_thermal.c
+++ b/drivers/acpi/dptf/int340x_thermal.c
@@ -12,7 +12,7 @@
12#include <linux/acpi.h> 12#include <linux/acpi.h>
13#include <linux/module.h> 13#include <linux/module.h>
14 14
15#include "internal.h" 15#include "../internal.h"
16 16
17#define INT3401_DEVICE 0X01 17#define INT3401_DEVICE 0X01
18static const struct acpi_device_id int340x_thermal_device_ids[] = { 18static const struct acpi_device_id int340x_thermal_device_ids[] = {