diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2016-08-23 17:19:43 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-08-27 07:15:21 -0400 |
commit | 37e70b6a35e73d884096a2dbc976fae454829533 (patch) | |
tree | 1b16235489562f206e855a39f311f29e14f2c814 | |
parent | 2f4362040be123eb09c26e273d2ac95d7ced7737 (diff) |
pinctrl: sirf: make atlas7 explicitly non-modular
The Makefile currently controlling compilation of this code is:
drivers/pinctrl/sirf/pinctrl-atlas7.o
---> drivers/pinctrl/sirf/Makefile:obj-y += pinctrl-atlas7.o
...meaning that it currently is not being built as a module by anyone.
Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.
We delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Barry Song <baohua@kernel.org>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/sirf/pinctrl-atlas7.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pinctrl/sirf/pinctrl-atlas7.c b/drivers/pinctrl/sirf/pinctrl-atlas7.c index 19952f73fa8c..7f3041697813 100644 --- a/drivers/pinctrl/sirf/pinctrl-atlas7.c +++ b/drivers/pinctrl/sirf/pinctrl-atlas7.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Licensed under GPLv2 or later. | 7 | * Licensed under GPLv2 or later. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/module.h> | 10 | #include <linux/init.h> |
11 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
12 | #include <linux/io.h> | 12 | #include <linux/io.h> |
13 | #include <linux/bitops.h> | 13 | #include <linux/bitops.h> |
@@ -6158,6 +6158,3 @@ static int __init atlas7_gpio_init(void) | |||
6158 | return platform_driver_register(&atlas7_gpio_driver); | 6158 | return platform_driver_register(&atlas7_gpio_driver); |
6159 | } | 6159 | } |
6160 | subsys_initcall(atlas7_gpio_init); | 6160 | subsys_initcall(atlas7_gpio_init); |
6161 | |||
6162 | MODULE_DESCRIPTION("SIRFSOC Atlas7 pin control driver"); | ||
6163 | MODULE_LICENSE("GPL"); | ||