aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-08-23 17:19:44 -0400
committerLinus Walleij <linus.walleij@linaro.org>2016-08-27 07:16:12 -0400
commita9784e56aa106959ee695de8bf7c546b9bd6ad14 (patch)
tree2589d245d4de6b84ba8cb5aae7f898e1f4a2af40
parent37e70b6a35e73d884096a2dbc976fae454829533 (diff)
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>
-rw-r--r--drivers/pinctrl/sirf/pinctrl-sirf.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c
index 762c0c9c1278..0df72be60704 100644
--- a/drivers/pinctrl/sirf/pinctrl-sirf.c
+++ b/drivers/pinctrl/sirf/pinctrl-sirf.c
@@ -1,6 +1,11 @@
1/* 1/*
2 * pinmux driver for CSR SiRFprimaII 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 * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group 9 * Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
5 * company. 10 * company.
6 * 11 *
@@ -8,7 +13,6 @@
8 */ 13 */
9 14
10#include <linux/init.h> 15#include <linux/init.h>
11#include <linux/module.h>
12#include <linux/irq.h> 16#include <linux/irq.h>
13#include <linux/platform_device.h> 17#include <linux/platform_device.h>
14#include <linux/io.h> 18#include <linux/io.h>
@@ -884,9 +888,3 @@ static int __init sirfsoc_gpio_init(void)
884 return sirfsoc_gpio_probe(np); 888 return sirfsoc_gpio_probe(np);
885} 889}
886subsys_initcall(sirfsoc_gpio_init); 890subsys_initcall(sirfsoc_gpio_init);
887
888MODULE_AUTHOR("Rongjun Ying <rongjun.ying@csr.com>");
889MODULE_AUTHOR("Yuping Luo <yuping.luo@csr.com>");
890MODULE_AUTHOR("Barry Song <baohua.song@csr.com>");
891MODULE_DESCRIPTION("SIRFSOC pin control driver");
892MODULE_LICENSE("GPL");