crypto: sahara - fix building as module
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2013 21:57:37 +0000 (23:57 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 5 Jun 2013 08:36:20 +0000 (16:36 +0800)
commit68be0b1ae355c6deb11326df6758f80154f44cf0
tree16b1bc58a61bee33b972dd9644e586f4b32a9f51
parentedb7c7cdba90c3fb2339e51c15d21982bdf72fdc
crypto: sahara - fix building as module

The sahara crypto driver has an incorrect MODULE_DEVICE_TABLE, which
prevents us from actually building this driver as a loadable module.

sahara_dt_ids is a of_device_id array, so we have to use
MODULE_DEVICE_TABLE(of, ...).

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Javier Martin <javier.martin@vista-silicon.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sahara.c