diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-06-03 23:57:37 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-06-05 16:36:20 +0800 |
commit | 68be0b1ae355c6deb11326df6758f80154f44cf0 (patch) | |
tree | 16b1bc58a61bee33b972dd9644e586f4b32a9f51 /drivers/crypto/sahara.c | |
parent | edb7c7cdba90c3fb2339e51c15d21982bdf72fdc (diff) | |
download | linux-3.10-68be0b1ae355c6deb11326df6758f80154f44cf0.tar.gz linux-3.10-68be0b1ae355c6deb11326df6758f80154f44cf0.tar.bz2 linux-3.10-68be0b1ae355c6deb11326df6758f80154f44cf0.zip |
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>
Diffstat (limited to 'drivers/crypto/sahara.c')
-rw-r--r-- | drivers/crypto/sahara.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index a97bb6c1596..c3dc1c04a5d 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -863,7 +863,7 @@ static struct of_device_id sahara_dt_ids[] = { { .compatible = "fsl,imx27-sahara" }, { /* sentinel */ } }; -MODULE_DEVICE_TABLE(platform, sahara_dt_ids); +MODULE_DEVICE_TABLE(of, sahara_dt_ids); static int sahara_probe(struct platform_device *pdev) { |