staging: fsl-mc: allow the driver compile multi-arch
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 19 Jul 2017 11:42:32 +0000 (14:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 15:23:28 +0000 (08:23 -0700)
commit03274850279c8da86358adfdad1422a850b066ac
tree5b70d6938e0679c7c401bf58b81e12fdd092ada9
parenta7fb818e6911eedfc63b4324018c832d8b7a90f5
staging: fsl-mc: allow the driver compile multi-arch

Add an alternate dependency on COMPILE_TEST, thus leaving
this driver compile on other architectures.
Also, other drivers depending on the bus are updated to depend
on ARCH_LAYERSCAPE until they'll also be made multi-arch.
This was compiled tested on:
 - booke powerpc (corenet{32,64}_smp_defconfig)
 - x86 (i386_defconfig, x86_64_defconfig, needs CONFIG_OF)
 - arm64 (defconfig)

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/Kconfig
drivers/staging/fsl-mc/bus/Kconfig