aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2012-11-29 08:40:40 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-11-30 11:47:28 -0500
commit1150f25441a7dad818fa4366d01c45c2fef1cbe8 (patch)
treecac2b7f464f57f8bc04fabd467e23d5d0aa0f117
parentc8717a3d66ad697158f7a0dd6045fec280c8d723 (diff)
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>
-rw-r--r--arch/s390/include/asm/vga.h6
-rw-r--r--drivers/gpu/vga/Kconfig2
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/s390/include/asm/vga.h b/arch/s390/include/asm/vga.h
new file mode 100644
index 000000000000..d375526c261f
--- /dev/null
+++ b/arch/s390/include/asm/vga.h
@@ -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 */
diff --git a/drivers/gpu/vga/Kconfig b/drivers/gpu/vga/Kconfig
index f34838839b08..29437eabe095 100644
--- a/drivers/gpu/vga/Kconfig
+++ b/drivers/gpu/vga/Kconfig
@@ -1,7 +1,7 @@
1config VGA_ARB 1config VGA_ARB
2 bool "VGA Arbitration" if EXPERT 2 bool "VGA Arbitration" if EXPERT
3 default y 3 default y
4 depends on PCI 4 depends on (PCI && !S390)
5 help 5 help
6 Some "legacy" VGA devices implemented on PCI typically have the same 6 Some "legacy" VGA devices implemented on PCI typically have the same
7 hard-decoded addresses as they did on ISA. When multiple PCI devices 7 hard-decoded addresses as they did on ISA. When multiple PCI devices