Skip to content

Commit 1150f25

Browse files
Jan GlauberMartin Schwidefsky
authored andcommitted
vga: compile fix, disable vga for s390
Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
1 parent c8717a3 commit 1150f25

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎arch/s390/include/asm/vga.h‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#ifndef _ASM_S390_VGA_H
2+
#define _ASM_S390_VGA_H
3+
4+
/* Avoid compile errors due to missing asm/vga.h */
5+
6+
#endif /* _ASM_S390_VGA_H */

‎drivers/gpu/vga/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
config VGA_ARB
22
bool "VGA Arbitration" if EXPERT
33
default y
4-
depends on PCI
4+
depends on (PCI && !S390)
55
help
66
Some "legacy" VGA devices implemented on PCI typically have the same
77
hard-decoded addresses as they did on ISA. When multiple PCI devices

0 commit comments

Comments
 (0)