OpenCloudOS-Kernel/arch/powerpc/platforms/85xx
Michael Ellerman ef78f2dd23 powerpc/85xx: Fix declaration made after definition
Currently the clang build of corenet64_smp_defconfig fails with:

  arch/powerpc/platforms/85xx/corenet_generic.c:210:1: error:
  attribute declaration must precede definition
  machine_arch_initcall(corenet_generic, corenet_gen_publish_devices);

Fix it by moving the initcall definition prior to the machine
definition, and directly below the function it calls, which is the
usual style anyway.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201023020838.3274226-1-mpe@ellerman.id.au
2020-11-19 14:50:13 +11:00
..
Kconfig powerpc/Kconfig: Replace HTTP links with HTTPS ones 2020-07-16 13:12:46 +10:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bsc913x_qds.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
bsc913x_rdb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
c293pcie.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
common.c powerpc/85xx: remove mostly pointless mpc85xx_qe_init() 2019-11-17 01:55:42 -06:00
corenet_generic.c powerpc/85xx: Fix declaration made after definition 2020-11-19 14:50:13 +11:00
ge_imp3a.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ksi8560.c powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00
mpc85xx.h powerpc/85xx: remove mostly pointless mpc85xx_qe_init() 2019-11-17 01:55:42 -06:00
mpc85xx_ads.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc85xx_cds.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
mpc85xx_ds.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc85xx_mds.c soc: fsl: qe: move calls of qe_ic_init out of arch/powerpc/ 2019-12-09 13:54:31 -06:00
mpc85xx_pm_ops.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mpc85xx_rdb.c soc: fsl: qe: move calls of qe_ic_init out of arch/powerpc/ 2019-12-09 13:54:31 -06:00
mpc8536_ds.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mvme2500.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
p1010rdb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
p1022_ds.c powerpc/dma: use the generic direct mapping bypass 2019-02-18 22:41:04 +11:00
p1022_rdk.c powerpc/dma: use the generic direct mapping bypass 2019-02-18 22:41:04 +11:00
p1023_rdb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ppa8548.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
qemu_e500.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
sbc8548.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
sgy_cts1000.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
smp.c powerpc/smp: Move ppc_md.cpu_die() to smp_ops.cpu_offline_self() 2020-09-18 19:59:43 +10:00
smp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
socrates.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
socrates_fpga_pic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
socrates_fpga_pic.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
stx_gp3.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
t1042rdb_diu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
tqm85xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
twr_p102x.c ARM: SoC-related driver updates 2020-02-08 14:04:19 -08:00
xes_mpc85xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 419 2019-06-05 17:37:15 +02:00