parisc: Use asm-generic/serial.h
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
@@ -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
@@ -1,8 +0,0 @@ -/* -* include/asm-parisc/serial.h -*/ - -/* -* This is used for 16550-compatible UARTs -*/ -#define BASE_BAUD ( 1843200 / 16 )
Quoted 11 lines · Thorsten Blum
asm/serial.honly redefinesBASE_BAUDwith the same value asasm-generic/serial.h. Select the generic header fromKbuildand remove the arch-specific header.Suggested-by Helge Deller <[email protected]>Signed-off-by Thorsten Blum <[email protected]>---
Changes in v2:
- Delete the header and useKbuildinstead 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