mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
phy: bcm-ns2-pcie: Set missing .owner field in ns2_pci_phy_ops
Add missing .owner field in ns2_pci_phy_ops, which is used for refcounting. While at it, also makes ns2_pci_phy_ops const as it's never get modified. Signed-off-by: Axel Lin <[email protected]> Reviewed-and-tested-by: Jon Mason <[email protected]> Reviewed-by: Pramod Kumar <[email protected]> Signed-off-by: Kishon Vijay Abraham I <[email protected]>
This commit is contained in:
parent
b9d0397fef
commit
5ed0e74104
1 changed files with 2 additions and 1 deletions
|
|
@ -47,8 +47,9 @@ err:
|
|||
return rc;
|
||||
}
|
||||
|
||||
static struct phy_ops ns2_pci_phy_ops = {
|
||||
static const struct phy_ops ns2_pci_phy_ops = {
|
||||
.init = ns2_pci_phy_init,
|
||||
.owner = THIS_MODULE,
|
||||
};
|
||||
|
||||
static int ns2_pci_phy_probe(struct mdio_device *mdiodev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue