drivers/net/ethernet: make ti/cpsw-phy-sel.c explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 7 Oct 2015 21:27:46 +0000 (17:27 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Oct 2015 14:52:29 +0000 (07:52 -0700)
commitb3c8ec35a93d61fde15eefde2d54ecf2f5950f68
treebd6844ce1485ccb1cff8d350fa8e7688fa34a1d8
parent075640e364f3b46311766f0eff28bd3695637e16
drivers/net/ethernet: make ti/cpsw-phy-sel.c explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/net/ethernet/ti/Kconfig:config TI_CPSW_PHY_SEL
drivers/net/ethernet/ti/Kconfig:        bool "TI CPSW Switch Phy sel Support"

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

Lets remove the couple traces of modularity so that when reading the
driver there is no doubt it is builtin-only.

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

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Varka Bhadram <varkabhadram@gmail.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw-phy-sel.c