]> git.baikalelectronics.ru Git - kernel.git/commit
PNP: isapnp: make core more explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 15 Aug 2016 22:42:33 +0000 (18:42 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 16 Aug 2016 20:53:59 +0000 (22:53 +0200)
commit79834afb098c4d81cf45aaa84af0a90389e73eb5
tree496c89b306c9c1e587dcb2a1581a784ea8240ca5
parent92eda0ff5e2879da54cd299e1946d13cb37b1706
PNP: isapnp: make core more explicitly non-modular

The Makefile currently controlling compilation of this code is:

obj-y                   += pnp.o
pnp-y                   := core.o compat.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.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

We don't replace module.h with init.h since the file already has that.
But we do add moduleparam.h since the file does use module_param().

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pnp/isapnp/core.c