1
0
Fork 0
alistair23-linux/drivers/reset
Paul Gortmaker ed4dba99ca reset: berlin: make it explicitly non-modular
The Kconfig currently controlling compilation of this code is:

drivers/reset/Kconfig:config RESET_BERLIN
drivers/reset/Kconfig:  bool "Berlin Reset Driver" if COMPILE_TEST
drivers/reset/Kconfig:  default ARCH_BERLIN

or

arch/arm/mach-berlin/Kconfig:menuconfig ARCH_BERLIN
arch/arm/mach-berlin/Kconfig:   bool "Marvell Berlin SoCs" if ARCH_MULTI_V7

or

arch/arm64/Kconfig.platforms:config ARCH_BERLIN
arch/arm64/Kconfig.platforms:   bool "Marvell Berlin SoC Family"

...meaning that it currently is not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_platform_driver() uses the same init level priority as
builtin_platform_driver() the init ordering remains unchanged with
this commit.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

We also delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.

Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
2016-10-24 10:43:40 +02:00
..
hisilicon reset: hi6220: allow to compile test driver on other architectures 2016-08-30 17:09:14 +02:00
sti reset: sti: Remove STiH415/6 reset support 2016-10-20 11:52:08 +02:00
Kconfig reset: zynq: add driver Kconfig option 2016-08-30 17:08:51 +02:00
Makefile reset: hi6220: allow to compile test driver on other architectures 2016-08-30 17:09:14 +02:00
core.c reset: warn on invalid input to reset_control_reset/assert/deassert/status 2016-08-24 15:21:36 +02:00
reset-ath79.c reset: ath79: add missing include 2016-08-25 13:27:23 +02:00
reset-berlin.c reset: berlin: make it explicitly non-modular 2016-10-24 10:43:40 +02:00
reset-lpc18xx.c reset: lpc18xx: get rid of global variables for restart notifier 2016-03-30 15:42:07 +02:00
reset-meson.c reset: Add support for the Amlogic Meson SoC Reset Controller 2016-06-01 08:21:10 +02:00
reset-oxnas.c reset: oxnas: Add OX820 support 2016-10-20 11:54:55 +02:00
reset-pistachio.c reset: pistachio: use devm_reset_controller_register() 2016-05-30 09:37:47 +02:00
reset-socfpga.c reset: socfpga: no need to store modrst_offset 2016-08-08 19:23:32 +02:00
reset-stm32.c drivers: reset: Add STM32 reset driver 2016-08-24 15:21:28 +02:00
reset-sunxi.c reset: sunxi: use devm_reset_controller_register() 2016-05-30 09:37:47 +02:00
reset-ti-syscon.c reset: add TI SYSCON based reset driver 2016-06-29 23:39:10 +02:00
reset-uniphier.c reset: uniphier: add reset controller driver for UniPhier SoCs 2016-08-24 15:21:35 +02:00
reset-zynq.c reset: zynq: use devm_reset_controller_register() 2016-05-30 09:37:47 +02:00