]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Lantiq: Make vmmc explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 15 Aug 2016 20:30:54 +0000 (16:30 -0400)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 4 Oct 2016 14:13:57 +0000 (16:13 +0200)
commite23ad36c2dc783b886fbe5819edad520ad761771
tree079b0416fa73beae386d9fea26d463389e07a61b
parent337916c44a0b1f82870d2e07429c66bad1dfa47f
MIPS: Lantiq: Make vmmc explicitly non-modular

The Makefile entry controlling compilation of this code is:

arch/mips/lantiq/xway/vmmc.o
   ---> arch/mips/lantiq/xway/Makefile:obj-y += vmmc.o

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

Since module_platform_driver() uses the same init level priority as
builtin_platform_driver() the init ordering remains unchanged with
this commit.

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

We replace module.h with export.h since the file does actually use
EXPORT_SYMBOL.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: John Crispin <john@phrozen.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13930/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/xway/vmmc.c