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

pinctrl: sirf: make core support explicitly non-modular

The Makefile currently controlling compilation of this code is:

drivers/pinctrl/sirf/pinctrl-sirf.o
--> drivers/pinctrl/sirf/Makefile:obj-y += pinctrl-sirf.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 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: Linus Walleij <linus.walleij@linaro.org>
Cc: Rongjun Ying <rongjun.ying@csr.com>
Cc: Yuping Luo <yuping.luo@csr.com>
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
a9784e56 37e70b6a

+5 -7
+5 -7
drivers/pinctrl/sirf/pinctrl-sirf.c
··· 1 1 /* 2 2 * pinmux driver for CSR SiRFprimaII 3 3 * 4 + * Authors: 5 + * Rongjun Ying <rongjun.ying@csr.com> 6 + * Yuping Luo <yuping.luo@csr.com> 7 + * Barry Song <baohua.song@csr.com> 8 + * 4 9 * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group 5 10 * company. 6 11 * ··· 13 8 */ 14 9 15 10 #include <linux/init.h> 16 - #include <linux/module.h> 17 11 #include <linux/irq.h> 18 12 #include <linux/platform_device.h> 19 13 #include <linux/io.h> ··· 888 884 return sirfsoc_gpio_probe(np); 889 885 } 890 886 subsys_initcall(sirfsoc_gpio_init); 891 - 892 - MODULE_AUTHOR("Rongjun Ying <rongjun.ying@csr.com>"); 893 - MODULE_AUTHOR("Yuping Luo <yuping.luo@csr.com>"); 894 - MODULE_AUTHOR("Barry Song <baohua.song@csr.com>"); 895 - MODULE_DESCRIPTION("SIRFSOC pin control driver"); 896 - MODULE_LICENSE("GPL");