]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
ARM: cns3xxx: Fix build with CONFIG_PCI=y
authorAnton Vorontsov <cbouatmailru@gmail.com>
Mon, 29 Nov 2010 15:46:22 +0000 (18:46 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:25 +0000 (13:33 -0800)
commit501bfbaead86ff24340ebddd5da338ec0562c969
tree6923da0fbf25dc512959859b8217a3f377744175
parent1ee6a5d9dde463faceb12f92c945e6140f544c4b
ARM: cns3xxx: Fix build with CONFIG_PCI=y

commit 44266416f786514ec43a0d15ad951c34566b99c9 upstream.

commit 6338a6aa7c082f11d55712251e14178c68bf5869 ("ARM: 6269/1: Add 'code'
parameter for hook_fault_code()") breaks CNS3xxx build:

  CC      arch/arm/mach-cns3xxx/pcie.o
pcie.c: In function 'cns3xxx_pcie_init':
pcie.c:373: warning: passing argument 4 of 'hook_fault_code' makes integer from pointer without a cast
pcie.c:373: error: too few arguments to function 'hook_fault_code'

This commit fixes the small issue.

Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-cns3xxx/pcie.c