]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
zynq: pcie: AXI PCIE Fix section mismatch
authorMichal Simek <michal.simek@xilinx.com>
Fri, 30 Nov 2012 21:00:21 +0000 (22:00 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 30 Nov 2012 21:02:20 +0000 (22:02 +0100)
commit2786347415bd185eced00fdc8ed8a01bba6498de
tree364a96a3308b28e124d2b72fc0e411ceb0e591ac
parent4486fae5f5268b7e8fd8ee251c46d45282597226
zynq: pcie: AXI PCIE Fix section mismatch

Fix section mismatch because of section warnings.

Warning:
WARNING: arch/arm/mach-zynq/built-in.o(.text+0x2c5c):
 Section mismatch in reference from the function xaxi_pcie_setup()
 to the function .devinit.text:xaxi_pcie_set_bridge_resource()
The function xaxi_pcie_setup() references
the function __devinit xaxi_pcie_set_bridge_resource().
This is often because xaxi_pcie_setup lacks a __devinit
annotation or the annotation of xaxi_pcie_set_bridge_resource is wrong.

WARNING: arch/arm/mach-zynq/built-in.o(.text+0x2c68):
 Section mismatch in reference from the function xaxi_pcie_setup()
 to the function .devinit.text:xaxi_pcie_process_bridge_OF_ranges()
The function xaxi_pcie_setup() references
the function __devinit xaxi_pcie_process_bridge_OF_ranges().
This is often because xaxi_pcie_setup lacks a __devinit
annotation or the annotation of xaxi_pcie_process_bridge_OF_ranges is wrong.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/xaxipcie.c