crypto: mxs-dcp - mxs-dcp is an stmp device
authorArnd Bergmann <arnd@arndb.de>
Mon, 12 Oct 2015 13:52:34 +0000 (15:52 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Oct 2015 14:23:37 +0000 (22:23 +0800)
commitdc97fa02328b79f05a2ec1693b7596fae52c0e02
tree695d1e2dd6d8dd2cda35675d48a2e2b51ab75891
parentb47c9fab25fe0a2f92d32fcbb2eb55ad2111cd38
crypto: mxs-dcp - mxs-dcp is an stmp device

The mxs-dcp driver relies on the stmp_reset_block() helper function, which
is provided by CONFIG_STMP_DEVICE. This symbol is always set on MXS,
but the driver can now also be built for MXC (i.MX6), which results
in a built error if no other driver selects STMP_DEVICE:

drivers/built-in.o: In function `mxs_dcp_probe':
vf610-ocotp.c:(.text+0x3df302): undefined reference to `stmp_reset_block'

This adds the 'select', like all other stmp drivers have it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: a2712e6c75f ("crypto: mxs-dcp - Allow MXS_DCP to be used on MX6SL")
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig