summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ks8695/board-og.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ks8695/board-og.c')
-rw-r--r--arch/arm/mach-ks8695/board-og.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ks8695/board-og.c b/arch/arm/mach-ks8695/board-og.c
index 002bc61..f265816 100644
--- a/arch/arm/mach-ks8695/board-og.c
+++ b/arch/arm/mach-ks8695/board-og.c
@@ -44,7 +44,8 @@ static void __init og_register_pci(void)
if (machine_is_im4004())
ks8695_gpio_interrupt(KS8695_GPIO_1, IRQ_TYPE_LEVEL_LOW);
- ks8695_init_pci(&og_pci);
+ if (IS_ENABLED(CONFIG_PCI))
+ ks8695_init_pci(&og_pci);
}
/*
OpenPOWER on IntegriCloud