diff options
author | Sam Ravnborg <[email protected]> | 2024-02-24 18:42:27 +0100 |
---|---|---|
committer | Andreas Larsson <[email protected]> | 2024-03-08 21:21:00 +0100 |
commit | 91d3ff922c346d6d8cb8de5ff8d504fe0ca9e17e (patch) | |
tree | 154080cdc247c15a96914a6d55d19a6a31d3ec99 /arch/sparc/kernel | |
parent | 99bd9a4f87926e12ce60796d7db1d6b226aca5e3 (diff) |
sparc32: Fix parport build with sparc32
include/asm/parport.h is sparc64 specific.
Rename it to parport_64.h and use the generic version for sparc32.
This fixed all{mod,yes}config build errors like:
parport_pc.c:(.text):undefined-reference-to-ebus_dma_enable
parport_pc.c:(.text):undefined-reference-to-ebus_dma_irq_enable
parport_pc.c:(.text):undefined-reference-to-ebus_dma_register
The errors occur as the sparc32 build references sparc64 symbols.
Signed-off-by: Sam Ravnborg <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Andreas Larsson <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Maciej W. Rozycki <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Fixes: 66bcd06099bb ("parport_pc: Also enable driver for PCI systems")
Cc: [email protected] # v5.18+
Tested-by: Randy Dunlap <[email protected]> # build-tested
Reviewed-by: Andreas Larsson <[email protected]>
Signed-off-by: Andreas Larsson <[email protected]>
Link: https://lore.kernel.org/r/20240224-sam-fix-sparc32-all-builds-v2-6-1f186603c5c4@ravnborg.org
Diffstat (limited to 'arch/sparc/kernel')
0 files changed, 0 insertions, 0 deletions