diff options
| author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2019-02-15 07:18:38 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-19 11:12:08 +0100 |
| commit | 766becee70f62b50e805a832d9a39d86a1c3c4fa (patch) | |
| tree | 57097a088d6969d33bf027b7103818293775819d /tools/perf/scripts/python/bin | |
| parent | staging: mt7621-dts: fix pci phy register addresses (diff) | |
| download | linux-766becee70f62b50e805a832d9a39d86a1c3c4fa.tar.gz linux-766becee70f62b50e805a832d9a39d86a1c3c4fa.zip | |
staging: mt7621-pci-phy: use 'module_init' instead of 'arch_initcall'
Init driver as 'arch_initcall()' does not work. It causes phy_create()
to be called before the phy module is initialized, so 'phy_class' is NULL,
the new phy isn't placed in the right class, and it cannot be found.
Change to 'module_init()' which works properly in this case.
Fixes: 00981d31d6df: staging: mt7621-pci-phy: add new driver for phy part of mt7621-pci
Reported-by: NeilBrown <neil@brown.name>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
