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)
commite4dca0febfb213d01466c400f54b01a556372120
tree496c89b306c9c1e587dcb2a1581a784ea8240ca5
parent694d0d0bb2030d2e36df73e2d23d5770511dbc8d
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