Skip to content
Commit 44266416 authored by Anton Vorontsov's avatar Anton Vorontsov
Browse files

ARM: cns3xxx: Fix build with CONFIG_PCI=y

commit 6338a6aa

 ("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: default avatarAnton Vorontsov <cbouatmailru@gmail.com>
parent 3561d43f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment