crypto: nx - Remove virt_to_abs() usage in nx-842.c
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 3 Aug 2012 02:23:15 +0000 (12:23 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 20 Aug 2012 08:28:12 +0000 (16:28 +0800)
commit33b58b01ac2b7aadbd5143c74b029aee0ce9ac33
treed8753c31600bf01cf9d452eba3a9d0a128ba3989
parent023af608254add7ba037cd634cc5f2fb21ff6420
crypto: nx - Remove virt_to_abs() usage in nx-842.c

virt_to_abs() is just a wrapper around __pa(), use __pa() directly.

We should be including <asm/page.h> to get __pa(). abs_addr.h will be
removed shortly so drop that.

We were getting of.h via abs_addr.h so we need to include that directly.

Having done all that, clean up the ordering of the includes.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/nx/nx-842.c