]> git.baikalelectronics.ru Git - kernel.git/commit
phy: exynos: fix building as a module
authorArnd Bergmann <arnd@arndb.de>
Sat, 19 Apr 2014 03:21:41 +0000 (08:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 19:53:38 +0000 (12:53 -0700)
commit7e26509a769cad30c034dafe4551ed1b06bb91be
tree4cec3e3c4624302c25dd6974c811c6f1d9064353
parenteb66f3a3ad7be253bc0ecf8931c4f79253da2cac
phy: exynos: fix building as a module

The top-level phy-samsung-usb2 driver may be configured as a
loadable module, which currently causes link errors because
of the dependency on the exynos{5250,4x12,4210}_usb2_phy_config
symbol. Solving this could be achieved by exporting these
symbols, but as the SoC-specific parts of the driver are not
currently built as modules, it seems better to just link
everything into one module and avoid the need for the export.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/Makefile