]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: ks8695/og: make PCI setup conditional
authorArnd Bergmann <arnd@arndb.de>
Sat, 15 Mar 2014 10:34:55 +0000 (11:34 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 21 Mar 2014 17:23:28 +0000 (18:23 +0100)
commitde94abfa0f6e9b1b58863e85929e727b118df2f1
treebb3d9d14063b2ed25b1554cd21521adb7cc54289
parent48ba81f6fdb7580a5c474da1b14a338e1358e6ab
ARM: ks8695/og: make PCI setup conditional

The 'og' machine tries to always initialized the PCI code, but that
may be disabled in Kconfig, leading to a build error.

This patch changes the code to use the same Kconfig symbol to decide
about calling the ks8695_init_pci function at build time that we
use to decide about building the ks8695 PCI support.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
arch/arm/mach-ks8695/board-og.c