Skip to contentSkip to conversation

parisc: Use asm-generic/serial.h

PATCH Applied Thorsten Blum 2 participants 2 messages Aug 4 PA-RISC architecture

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 parisc: Use asm-generic/serial.h

asm/serial.h only redefines BASE_BAUD with the same value as asm-generic/serial.h. Select the generic header from Kbuild and remove the arch-specific header.

---
Changes in v2:
- Delete the header and use Kbuild instead as suggested by Helge
- Reword subject and patch description
- v1: https://lore.kernel.org/r/[email protected]/

---
 arch/parisc/include/asm/Kbuild   | 1 +
 arch/parisc/include/asm/serial.h | 8 --------
 2 files changed, 1 insertion(+), 8 deletions(-)
 delete mode 100644 arch/parisc/include/asm/serial.h
arch/parisc/include/asm/Kbuild +1 -0
index d48d158f7241..4fc315085914 100644
@@ -6,3 +6,4 @@ generic-y += kvm_para.h
 generic-y += mcs_spinlock.h
 generic-y += ring_buffer.h
 generic-y += user.h
+generic-y += serial.h
arch/parisc/include/asm/serial.h deleted +0 -8
deleted file mode 100644
index 77e9b67c87ee..000000000000
@@ -1,8 +0,0 @@
-/*
- * include/asm-parisc/serial.h
- */
-
-/*
- * This is used for 16550-compatible UARTs
- */
-#define BASE_BAUD ( 1843200 / 16 )
maintainer Applied
#1 lore raw
Quoted 11 lines · Thorsten Blum

asm/serial.h only redefines BASE_BAUD with the same value as asm-generic/serial.h. Select the generic header from Kbuild and remove the arch-specific header.

---
Changes in v2:
- Delete the header and use Kbuild instead as suggested by Helge
- Reword subject and patch description
- v1: https://lore.kernel.org/r/[email protected]/

Quoted 5 lines
---
  arch/parisc/include/asm/Kbuild   | 1 +
  arch/parisc/include/asm/serial.h | 8 --------
  2 files changed, 1 insertion(+), 8 deletions(-)

delete mode 100644 arch/parisc/include/asm/serial.h

applied.

Thanks!
Helge