From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753172AbbBYOM7 (ORCPT ); Wed, 25 Feb 2015 09:12:59 -0500 Received: from mail-pd0-f175.google.com ([209.85.192.175]:46447 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752492AbbBYOM6 (ORCPT ); Wed, 25 Feb 2015 09:12:58 -0500 Message-ID: <1424873573.19477.2.camel@phoenix> Subject: [PATCH] phy: miphy28lp: Add missing .owner field in miphy28lp_ops From: Axel Lin To: Kishon Vijay Abraham I Cc: Gabriel FERNANDEZ , "kernel@vger.kernel.org" , Alexandre Torgue Date: Wed, 25 Feb 2015 22:12:53 +0800 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missing .owner field in miphy28lp_ops, which is used for refcounting. Signed-off-by: Axel Lin --- drivers/phy/phy-miphy28lp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/phy-miphy28lp.c b/drivers/phy/phy-miphy28lp.c index 9b2848e..44e2861 100644 --- a/drivers/phy/phy-miphy28lp.c +++ b/drivers/phy/phy-miphy28lp.c @@ -1138,6 +1138,7 @@ static struct phy *miphy28lp_xlate(struct device *dev, static struct phy_ops miphy28lp_ops = { .init = miphy28lp_init, + .owner = THIS_MODULE, }; static int miphy28lp_probe_resets(struct device_node *node, -- 1.9.1