diff options
author | Matt Turner <mattst88@gmail.com> | 2016-10-24 22:07:41 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2017-08-29 12:01:41 -0700 |
commit | e42faf553c8d7bdd4735cc6b9a9e969aa985d078 (patch) | |
tree | 544d2d9b78e228c4145113d5d2faa1d9954748f7 /arch/alpha/kernel/core_titan.c | |
parent | Revert "pty: fix the cached path of the pty slave file descriptor in the master" (diff) | |
download | linux-dev-e42faf553c8d7bdd4735cc6b9a9e969aa985d078.tar.xz linux-dev-e42faf553c8d7bdd4735cc6b9a9e969aa985d078.zip |
alpha: Fix build error without CONFIG_VGA_HOSE.
pci_vga_hose is #defined to 0 in include/asm/vga.h if CONFIG_VGA_HOSE is
not set.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/kernel/core_titan.c')
-rw-r--r-- | arch/alpha/kernel/core_titan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/alpha/kernel/core_titan.c b/arch/alpha/kernel/core_titan.c index 219bf271c0ba..b532d925443d 100644 --- a/arch/alpha/kernel/core_titan.c +++ b/arch/alpha/kernel/core_titan.c @@ -461,6 +461,7 @@ titan_ioremap(unsigned long addr, unsigned long size) unsigned long *ptes; unsigned long pfn; +#ifdef CONFIG_VGA_HOSE /* * Adjust the address and hose, if necessary. */ @@ -468,6 +469,7 @@ titan_ioremap(unsigned long addr, unsigned long size) h = pci_vga_hose->index; addr += pci_vga_hose->mem_space->start; } +#endif /* * Find the hose. |