]> git.karo-electronics.de Git - linux-beck.git/commit
phy: bcm-ns2-pcie: Set missing .owner field in ns2_pci_phy_ops
authorAxel Lin <axel.lin@ingics.com>
Tue, 30 Aug 2016 13:54:00 +0000 (21:54 +0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:36 +0000 (16:48 +0530)
commit5ed0e7410451f1148d7655461cae7ed23aafd244
treed5c2ffa60a5299d17947d23ff7a63654bc9f286d
parentb9d0397fefb3487ed121d45c9ecf4a21d4ecd54c
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 <axel.lin@ingics.com>
Reviewed-and-tested-by: Jon Mason <jon.mason@broadcom.com>
Reviewed-by: Pramod Kumar <pramodku@broadcom.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-bcm-ns2-pcie.c