]> asedeno.scripts.mit.edu Git - linux.git/commit
soc: imx: gpc: build gpc only if hardware has gpc
authorMarc Ohlf <ohlf@mkt-sys.de>
Thu, 11 May 2017 16:12:19 +0000 (18:12 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 15 May 2017 02:22:25 +0000 (10:22 +0800)
commitc465a32fdde67c029ba8880f2878491042b72524
tree9ee4f875a2c5e47363af7505b108f596ac7ca826
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
soc: imx: gpc: build gpc only if hardware has gpc

Add CONFIG_HAVE_IMX_GPC to goal definition of gpc.o,
to avoid building it for hardware that does not need it.

Signed-off-by: Marc Ohlf <ohlf@mkt-sys.de>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/Makefile