]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: mvebu: make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 27 Mar 2016 15:44:45 +0000 (11:44 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 31 Mar 2016 13:05:44 +0000 (15:05 +0200)
commited329f3a6483ad4825be2f731aa08b34731ecfcb
tree82ea600b347a6760dda3ceb0dfa9c69ae0de2098
parent4bb9f7251cf2c922e46a9059dc4d70028469275a
gpio: mvebu: make explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/gpio/Kconfig:config GPIO_MVEBU
drivers/gpio/Kconfig:   def_bool y

...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_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.

Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mvebu.c