Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1594715
| From | Paul Gortmaker <paul.gortmaker@windriver.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] mux-core: make it explicitly non-modular |
| Date | 2017-03-08 00:00 +0100 |
| Message-ID | <tiwfg-5T2-19@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
The Kconfig currently controlling compilation of this code is:
drivers/mux/Kconfig:menuconfig MULTIPLEXER
drivers/mux/Kconfig: bool "Multiplexer subsystem"
...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.
Hence we delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.
Cc: Peter Rosin <peda@axentia.se>
Cc: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
[feel free to fold this change into the original addition commit if
you happen to be rebasing for some other reason... ]
drivers/mux/mux-core.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/mux/mux-core.c b/drivers/mux/mux-core.c
index 46088a0f9677..7b4af6370e37 100644
--- a/drivers/mux/mux-core.c
+++ b/drivers/mux/mux-core.c
@@ -15,7 +15,7 @@
#include <linux/device.h>
#include <linux/err.h>
#include <linux/idr.h>
-#include <linux/module.h>
+#include <linux/init.h>
#include <linux/mux.h>
#include <linux/of.h>
#include <linux/of_platform.h>
@@ -408,7 +408,3 @@ void devm_mux_control_put(struct device *dev, struct mux_control *mux)
EXPORT_SYMBOL_GPL(devm_mux_control_put);
subsys_initcall(mux_init);
-
-MODULE_DESCRIPTION("Multiplexer subsystem");
-MODULE_AUTHOR("Peter Rosin <peda@axentia.se");
-MODULE_LICENSE("GPL v2");
--
2.11.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] mux-core: make it explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2017-03-08 00:00 +0100
Re: [PATCH] mux-core: make it explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2017-03-08 15:40 +0100
Re: [PATCH] mux-core: make it explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2017-03-09 01:40 +0100
Re: [PATCH] mux-core: make it explicitly non-modular Paul Gortmaker <paul.gortmaker@windriver.com> - 2017-03-09 23:40 +0100
csiph-web