diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-07 15:03:02 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 13:51:03 -0500 |
commit | 7ca2ea8253f1fbb69c437b66255a2331ff2e14c2 (patch) | |
tree | 34968a0af62c5acb76a1204becac80af88cfceb5 /drivers/net/ethernet/cavium/liquidio/octeon_console.c | |
parent | iscsi: fix build errors when linux/phy*.h is removed from net/dsa.h (diff) | |
download | linux-dev-7ca2ea8253f1fbb69c437b66255a2331ff2e14c2.tar.xz linux-dev-7ca2ea8253f1fbb69c437b66255a2331ff2e14c2.zip |
MIPS: Octeon: Remove unnecessary MODULE_*()
octeon-platform.c can not be built as a module for two reasons:
(a) the Makefile doesn't allow it:
obj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o
(b) the multiple *_initcall() statements, each of which are translated
to a module_init() call when attempting a module build, become
aliases to init_module(). Having more than one alias will cause a
build error.
Hence, rather than adding a linux/module.h include, remove the redundant
MODULE_*() from this file.
Acked-by: David Daney <david.daney@cavium.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/liquidio/octeon_console.c')
0 files changed, 0 insertions, 0 deletions