linux/arch/sh/boards
Paul Gortmaker b205118bdb sh: don't use module_init in non-modular psw.c code
The psw.o is built for obj-y -- and hence this code is always
present.  It will never be modular, so using module_init as an alias
for __initcall can be somewhat misleading.

Fix this up now, so that we can relocate module_init from
init.h into module.h in the future.  If we don't do this, we'd
have to add module.h to obviously non-modular code, and that
would be a worse thing.

Note that direct use of __initcall is discouraged, vs. one
of the priority categorized subgroups.  As __initcall gets
mapped onto device_initcall, our use of device_initcall
directly in this change means that the runtime impact is
zero -- it will remain at level 6 in initcall ordering.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2015-06-16 14:12:31 -04:00
..
mach-ap325rxa mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info 2015-03-05 21:54:26 +05:30
mach-cayman sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-dreamcast sh: dreamcast: Migrate off of deprecated dynamic IRQ API. 2012-05-18 23:36:44 +09:00
mach-ecovec24 mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info 2015-03-05 21:54:26 +05:30
mach-highlander sh: board sh_clk_ops rename 2012-03-12 22:19:12 +01:00
mach-hp6xx sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-kfr2r09 mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info 2015-03-05 21:54:26 +05:30
mach-landisk sh: don't use module_init in non-modular psw.c code 2015-06-16 14:12:31 -04:00
mach-lboxre2 sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-microdev sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-migor mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info 2015-03-05 21:54:26 +05:30
mach-r2d sh: Use device_initcall() instead of __initcall() 2011-01-11 12:47:45 +09:00
mach-rsk sh: add fixed voltage regulators to rsk 2012-06-28 18:01:00 +09:00
mach-sdk7780 sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-sdk7786 sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB 2013-03-20 22:48:15 +09:00
mach-se mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info 2015-03-05 21:54:26 +05:30
mach-sh03 sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-sh7763rdp sh_eth: remove 'register_type' field from 'struct sh_eth_plat_data' 2013-08-20 17:10:41 -07:00
mach-x3proto driver:gpio remove all usage of gpio_remove retval in driver 2014-09-18 11:03:10 -07:00
board-apsh4a3a.c sh: add fixed voltage regulators to apsh4a3a 2012-06-28 18:00:46 +09:00
board-apsh4ad0a.c sh: add fixed voltage regulators to apsh4ad0a 2012-06-28 18:00:47 +09:00
board-edosk7705.c sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
board-edosk7760.c sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
board-espt.c sh_eth: remove 'register_type' field from 'struct sh_eth_plat_data' 2013-08-20 17:10:41 -07:00
board-magicpanelr2.c sh: add fixed voltage regulators to magicpanelr2 2012-06-28 18:00:48 +09:00
board-polaris.c Merge branches 'sh/urgent' and 'sh/regulator' into sh-latest 2012-07-25 13:13:09 +09:00
board-secureedge5410.c sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
board-sh2007.c sh: add fixed voltage regulators to sh2007 2012-06-28 18:00:52 +09:00
board-sh7757lcr.c mmc: sh_mobile_sdhi: remove sh_mobile_sdhi_info 2015-03-05 21:54:26 +05:30
board-sh7785lcr.c sh: sh7785lcr evt2irq migration. 2012-05-18 15:42:07 +09:00
board-shmin.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
board-titan.c sh: mach-titan: Kill off unused PIO port mangling. 2010-01-28 15:08:21 +09:00
board-urquell.c sh: urquell evt2irq migration. 2012-05-18 15:43:48 +09:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2014-08-06 21:03:53 -07:00
Makefile sh: Add support for AP-SH4AD-0A board. 2011-01-13 18:36:21 +09:00