From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: <linux-kernel@vger.kernel.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
Peter Rosin <peda@axentia.se>,
Jonathan Cameron <jic23@kernel.org>
Subject: [PATCH] mux-core: make it explicitly non-modular
Date: Tue, 7 Mar 2017 17:41:15 -0500 [thread overview]
Message-ID: <20170307224115.9394-1-paul.gortmaker@windriver.com> (raw)
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
next reply other threads:[~2017-03-07 22:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-07 22:41 Paul Gortmaker [this message]
2017-03-08 9:38 ` [PATCH] mux-core: make it explicitly non-modular Peter Rosin
2017-03-08 14:38 ` Paul Gortmaker
2017-03-08 15:32 ` Peter Rosin
2017-03-09 0:32 ` Paul Gortmaker
2017-03-09 9:39 ` Peter Rosin
2017-03-09 12:01 ` Peter Rosin
2017-03-09 22:31 ` Paul Gortmaker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170307224115.9394-1-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=jic23@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peda@axentia.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox