]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: bcm-kona: make explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 27 Mar 2016 15:44:41 +0000 (11:44 -0400)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 31 Mar 2016 10:01:15 +0000 (12:01 +0200)
commit34a14b5d96bfec01f7a27504ac9bf2b7885ffe44
tree65eed899b61757ca5e9cf2b40062eb5b05e65331
parent90fb11c151795f23867467e14bee3f78934dc067
gpio: bcm-kona: make explicitly non-modular

The Kconfig currently controlling compilation of this code is:

config GPIO_BCM_KONA
        bool "Broadcom Kona GPIO"

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

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: Ray Jui <rjui@broadcom.com>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: bcm-kernel-feedback-list@broadcom.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-bcm-kona.c