crypto: omap-sham - Fix compile errors when CONFIG_OF not defined
authorMark A. Greer <mgreer@animalcreek.com>
Tue, 15 Jan 2013 20:53:02 +0000 (13:53 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 19 Jan 2013 23:16:46 +0000 (10:16 +1100)
commitc3c3b3292d202e9924fb3af0f4139848fd7e1de0
treea6c39b805894bde42738f8b445d71234d08453fe
parent78c37d191dd6899d8c219fee597a17d6e3c5d288
crypto: omap-sham - Fix compile errors when CONFIG_OF not defined

Fix the compile errors created by commit 2545e8d
(crypto: omap-sham - Add Device Tree Support)
when CONFIG_OF is not defined.  This includes
changing omap_sham_get_res_dev() to omap_sham_get_res_of()
and creating an empty version of omap_sham_of_match[].

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c