]> asedeno.scripts.mit.edu Git - linux.git/commit
phy: make phy-mvebu-sata explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 10 Dec 2018 00:34:49 +0000 (19:34 -0500)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 7 Feb 2019 05:40:45 +0000 (11:10 +0530)
commita211034a0d3752bce6968f6cae3857c79ac0f998
tree4d1128fb1219ab20b5e59c4bfad03a4e8dbc244c
parentcc013c285e3f6c3b7d8b15d39fa53848f9013990
phy: make phy-mvebu-sata explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/phy/Kconfig:config PHY_MVEBU_SATA
drivers/phy/Kconfig:    def_bool y

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

Lets remove the couple of traces of modular infrastructure, 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
is already contained at the top of the file in the comments.

Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/marvell/phy-mvebu-sata.c