ARM: sa11x0: assabet: fix build warning
commita61c2332f8e1939cd4984b63cab641b2366eb428
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 Jan 2012 16:10:53 +0000 (14 16:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 16 Jan 2012 22:25:29 +0000 (16 22:25 +0000)
tree00588593f5cff6da2386e897be6b701fc789e916
parent716a3dc20084da9b3ab17bd125005a5345e23e3b
ARM: sa11x0: assabet: fix build warning

Since a32618d2 (ARM: pgtable: switch to use pgtable-nopud.h), assabet
warns as follows:

arch/arm/mach-sa1100/assabet.c: In function 'map_sa1100_gpio_regs':
arch/arm/mach-sa1100/assabet.c:264: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type

Fix this by adding the necessary pud_offset() macro.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/assabet.c