2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/soc
Sudeep Holla 34c1c21e94 soc: fsl: fix section mismatch build warnings
We get the following warning with the driver is compiled in:

WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

With CONFIG_DEBUG_SECTION_MISMATCH enabled, the details are reported:

WARNING: vmlinux.o(.text+0x55d014): Section mismatch in reference from the
function fsl_guts_probe() to the function
.init.text:of_flat_dt_get_machine_name()
The function fsl_guts_probe() references
the function __init of_flat_dt_get_machine_name().
This is often because fsl_guts_probe lacks a __init
annotation or the annotation of of_flat_dt_get_machine_name is wrong.

This patch fixes the issue by using the normal DT/OF API rather than
the of_flat_* one.

Cc: Scott Wood <oss@buserror.net>
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-11-29 09:20:14 +01:00
..
bcm soc: raspberrypi-power: add CONFIG_OF dependency 2016-07-07 14:58:38 +02:00
dove soc: dove: add legacy support to PMU driver 2015-12-08 13:19:29 +01:00
fsl soc: fsl: fix section mismatch build warnings 2016-11-29 09:20:14 +01:00
mediatek soc: mediatek: PMIC wrap: Extend the waiting time to 10ms. 2016-08-22 19:31:36 +02:00
qcom soc: qcom: smd: Reset rx tail rather than tx 2016-09-01 14:19:50 -05:00
renesas soc: renesas: rcar-sysc: Improve SYSC interrupt config in legacy wrapper 2016-06-29 14:37:24 +02:00
rockchip soc: rockchip: support active_wakeup for rockchip power-domains 2016-08-19 00:37:20 +02:00
samsung ARM: EXYNOS: Remove calls to of_genpd_get_from_provider() 2016-09-13 02:49:33 +02:00
sunxi drivers: soc: sunxi: Fix mask generation for SRAM mapping 2016-01-27 20:29:20 +01:00
tegra soc/tegra: pmc: Fix incorrect DPD request 2016-08-16 12:30:52 +02:00
ti soc: TI knav_qmss: fix dma_addr_t printing 2016-02-26 17:53:06 +01:00
ux500 ARM: ux500: move soc_id driver to drivers/soc 2016-07-12 11:24:09 +02:00
versatile soc: versatile: dynamically detect RealView HBI numbers 2016-04-04 10:58:47 +02:00
Kconfig soc: fsl: add GUTS driver for QorIQ platforms 2016-11-29 09:17:20 +01:00
Makefile This is a set of cleanups for the Ux500 that reduce the number 2016-07-14 15:23:19 +02:00