Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Paul Gortmaker and committed by
Linus Walleij
37e70b6a 2f436204

+1 -4
+1 -4
drivers/pinctrl/sirf/pinctrl-atlas7.c
··· 7 7 * Licensed under GPLv2 or later. 8 8 */ 9 9 10 - #include <linux/module.h> 10 + #include <linux/init.h> 11 11 #include <linux/platform_device.h> 12 12 #include <linux/io.h> 13 13 #include <linux/bitops.h> ··· 6158 6158 return platform_driver_register(&atlas7_gpio_driver); 6159 6159 } 6160 6160 subsys_initcall(atlas7_gpio_init); 6161 - 6162 - MODULE_DESCRIPTION("SIRFSOC Atlas7 pin control driver"); 6163 - MODULE_LICENSE("GPL");