Skip to content

Commit 580d038

Browse files
masahir0yrafaeljw
authored andcommitted
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>
1 parent f17b5f0 commit 580d038

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

drivers/acpi/dptf/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
obj-$(CONFIG_ACPI) += int340x_thermal.o
22
obj-$(CONFIG_DPTF_POWER) += dptf_power.o
3-
4-
ccflags-y += -Idrivers/acpi

drivers/acpi/dptf/int340x_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <linux/acpi.h>
1313
#include <linux/module.h>
1414

15-
#include "internal.h"
15+
#include "../internal.h"
1616

1717
#define INT3401_DEVICE 0X01
1818
static const struct acpi_device_id int340x_thermal_device_ids[] = {

0 commit comments

Comments
 (0)