Skip to content

Commit 178e376

Browse files
committed
amd_hsmp: Include amd_hsmp from local path instead of asm
Including from asm applies to hsmp driver in linux source code. Since this is out of tree module, include it from current directory.
1 parent a7f3703 commit 178e376

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
1111

12-
#include <asm/amd_hsmp.h>
1312
#include <asm/amd_nb.h>
1413

1514
#include <linux/acpi.h>
@@ -25,6 +24,7 @@
2524
#include <uapi/asm-generic/errno-base.h>
2625

2726
#include "hsmp.h"
27+
#include "amd_hsmp.h"
2828

2929
#define DRIVER_NAME "amd_hsmp"
3030
#define DRIVER_VERSION "2.3"

plat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
1111

12-
#include <asm/amd_hsmp.h>
1312
#include <asm/amd_nb.h>
1413

1514
#include <linux/device.h>
@@ -19,6 +18,7 @@
1918
#include <linux/sysfs.h>
2019

2120
#include "hsmp.h"
21+
#include "amd_hsmp.h"
2222

2323
#define DRIVER_NAME "amd_hsmp"
2424
#define DRIVER_VERSION "2.3"

0 commit comments

Comments
 (0)