s390/zcrypt: make ap_bus explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 9 Feb 2017 14:48:10 +0000 (09:48 -0500)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 20 Feb 2017 11:37:37 +0000 (12:37 +0100)
commit50a0d46c98b72cde3c6945f066c0adf31e4e8590
treea173f50694a4bf4d71f5440bb8fa504e78f382ab
parent260021e21b8fcc375984ac7733f93509bf9ad100
s390/zcrypt: make ap_bus explicitly non-modular

The Makefile in drivers/s390 has:

obj-y += cio/ block/ char/ crypto/ net/ scsi/ virtio/

  and the Makefile in crypto/ has:

ap-objs := ap_bus.o ap_card.o ap_queue.o

  meaning that it currently is not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

Also note that MODULE_ALIAS is a no-op for non-module builds.

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 replace module.h with moduleparam.h since the file does declare
some module parameters even though it is not modular itself.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/ap_bus.c