]> git.baikalelectronics.ru Git - kernel.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)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Mon, 29 Nov 2010 16:19:15 +0000 (19:19 +0300)
commit742872af1fa375d138b8bfd875c63ae62879a9dc
tree65377cecd33737052b712102caaa35fa2acb461c
parent3138eaad6bb8833b310287028d7de9e1b3502154
ARM: cns3xxx: Fix build with CONFIG_PCI=y

commit 726ed10bf211ae9b83f5982aec0f8d8af53ebdf2 ("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.

Cc: stable@kernel.org [36]
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
arch/arm/mach-cns3xxx/pcie.c