s390: hypfs: make inode explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 30 Oct 2016 20:37:30 +0000 (16:37 -0400)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 31 Oct 2016 16:55:40 +0000 (17:55 +0100)
commitcee672e1803e5b96c9b66285407e78d9bf8fa7f9
treedf3bba754c9e26cc88749a45da46dead630a4b0f
parentaae175d2dca8787e0dcf1d7d08f4cca31bdd8a6a
s390: hypfs: make inode explicitly non-modular

The Kconfig currently controlling compilation of this code is:

arch/s390/Kconfig:config S390_HYPFS_FS
arch/s390/Kconfig:      def_bool y

...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.

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-modular code.

We also delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.

Build testing indicated the presence of module.h was masking an
implicit include of kobject.h, hence the addition of that.

Cc: linux-s390@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/hypfs/inode.c