]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: sa11x0: assabet: fix build warning
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 14 Jan 2012 16:10:53 +0000 (16:10 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 16 Jan 2012 22:25:29 +0000 (22:25 +0000)
commit59fa0dc5203f5a106407ef32f6ee88033ccc39bc
tree00588593f5cff6da2386e897be6b701fc789e916
parentd11ede14ea228da471df12dc198086bdc2eea10e
ARM: sa11x0: assabet: fix build warning

Since 161078a9 (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