memory: atmel-sdramc: make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Jun 2016 00:37:43 +0000 (20:37 -0400)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 21 Jun 2016 15:16:42 +0000 (17:16 +0200)
commit563b41c983e1ca92ad2aa8600caaa82012718f76
tree2233fa9c9bdd97abce9fedfc93b6110c1106882d
parent1fdab21d1d52a85c31f932844242fec5fb81daac
memory: atmel-sdramc: make it explicitly non-modular

The Kconfig for this option is currently:

config ATMEL_SDRAMC
        bool "Atmel (Multi-port DDR-)SDRAM Controller"

...meaning that it currently is not being built as a module by anyone.
Lets remove the couple traces of modularity, so that when reading the
driver there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.  An
alternate init level might be worth considering at a later date.

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.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/memory/atmel-sdramc.c