OSDN Git Service

ACPI / DPTF: remove header search path to the parent directory
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 24 Jan 2019 12:16:03 +0000 (21:16 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Jan 2019 10:04:15 +0000 (11:04 +0100)
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>
drivers/acpi/dptf/Makefile
drivers/acpi/dptf/int340x_thermal.c

index 06ea880..e6032e4 100644 (file)
@@ -1,4 +1,2 @@
 obj-$(CONFIG_ACPI)             += int340x_thermal.o
 obj-$(CONFIG_DPTF_POWER)       += dptf_power.o
-
-ccflags-y += -Idrivers/acpi
index 8636409..0aa7c2e 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/acpi.h>
 #include <linux/module.h>
 
-#include "internal.h"
+#include "../internal.h"
 
 #define INT3401_DEVICE 0X01
 static const struct acpi_device_id int340x_thermal_device_ids[] = {