Skip to contentSkip to conversation

x86: Rename arch/x86/include/asm/pnp_def.h to include/pnp_def.h

PATCH In review Tom Rini 1 participant 2 messages Jul 11, 2025 – Oct 28, 2025

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 x86: Rename arch/x86/include/asm/pnp_def.h to include/pnp_def.h

There is nothing x86-centric in this include file, and moving it will allow for some drivers to be compile-tested on sandbox.

---
 board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c | 2 +-
 board/dfi/dfi-bt700/dfi-bt700.c                            | 2 +-
 board/intel/crownbay/crownbay.c                            | 2 +-
 drivers/misc/nuvoton_nct6102d.c                            | 2 +-
 drivers/misc/smsc_lpc47m.c                                 | 2 +-
 drivers/misc/winbond_w83627.c                              | 2 +-
 {arch/x86/include/asm => include}/pnp_def.h                | 0
 7 files changed, 6 insertions(+), 6 deletions(-)
 rename {arch/x86/include/asm => include}/pnp_def.h (100%)
board/congatec/conga-qeval20-qa3-e3845/conga-qeval20-qa3.c +1 -1
index 4197e88fb6ff..153594c42bb0 100644
@@ -5,10 +5,10 @@
 
 #include <i2c.h>
 #include <init.h>
+#include <pnp_def.h>
 #include <winbond_w83627.h>
 #include <asm/gpio.h>
 #include <asm/ibmpc.h>
-#include <asm/pnp_def.h>
 
 int board_early_init_f(void)
 {
board/dfi/dfi-bt700/dfi-bt700.c +1 -1
index 907cc985d7a9..69a6860c2dd3 100644
@@ -6,9 +6,9 @@
 #include <init.h>
 #include <log.h>
 #include <nuvoton_nct6102d.h>
+#include <pnp_def.h>
 #include <asm/gpio.h>
 #include <asm/ibmpc.h>
-#include <asm/pnp_def.h>
 #include <linux/delay.h>
 
 int board_early_init_f(void)
board/intel/crownbay/crownbay.c +1 -1
index 036beb1146dc..6c5d03c1d496 100644
@@ -4,8 +4,8 @@
  */
 
 #include <init.h>
+#include <pnp_def.h>
 #include <asm/ibmpc.h>
-#include <asm/pnp_def.h>
 #include <smsc_lpc47m.h>
 
 int board_early_init_f(void)
drivers/misc/nuvoton_nct6102d.c +1 -1
index a3ca037d25f7..c4a8ecaa1b38 100644
@@ -4,8 +4,8 @@
  */
 
 #include <nuvoton_nct6102d.h>
+#include <pnp_def.h>
 #include <asm/io.h>
-#include <asm/pnp_def.h>
 
 static void superio_outb(int reg, int val)
 {
drivers/misc/smsc_lpc47m.c +1 -1
index 1b15907b0933..cc3d3f9de06c 100644
@@ -3,8 +3,8 @@
  * Copyright (C) 2014, Bin Meng <[email protected]>
  */
 
+#include <pnp_def.h>
 #include <asm/io.h>
-#include <asm/pnp_def.h>
 
 static void pnp_enter_conf_state(u16 dev)
 {
drivers/misc/winbond_w83627.c +1 -1
index 87b9043e65c4..8c5b121b8e93 100644
@@ -3,8 +3,8 @@
  * Copyright (C) 2016 Stefan Roese <[email protected]>
  */
 
+#include <pnp_def.h>
 #include <asm/io.h>
-#include <asm/pnp_def.h>
 
 #define WINBOND_ENTRY_KEY	0x87
 #define WINBOND_EXIT_KEY	0xaa
include/pnp_def.h renamed from arch/x86/include/asm/pnp_def.h +0 -0
similarity index 100%
rename from arch/x86/include/asm/pnp_def.h
rename to include/pnp_def.h
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 4 lines · Tom Rini

There is nothing x86-centric in this include file, and moving it will allow for some drivers to be compile-tested on sandbox.

Applied to u-boot/master, thanks!

[1/1] x86: Rename arch/x86/include/asm/pnp_def.h to include/pnp_def.h

      commit: b901d8f15c3b623e6eb01c397cc3140d31388016
Signature · 1 line
Tom