]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/dma: make mv_xor.c driver explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 21 Aug 2015 20:27:49 +0000 (16:27 -0400)
committerVinod Koul <vinod.koul@intel.com>
Sun, 23 Aug 2015 13:43:28 +0000 (19:13 +0530)
commit25cf68da08389bb107e5cba2cbfb3b6e4a246095
treecd2e7070dbefa5420263deb42c298764d7feaf8e
parent0e3b67b348b838d519b5d9ff30261f471d6371f2
drivers/dma: make mv_xor.c driver explicitly non-modular

The Kconfig for this driver is currently:

config MV_XOR
        bool "Marvell XOR engine support"

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

We leave some tags like MODULE_AUTHOR for documentation purposes.
Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: dmaengine@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mv_xor.c