From patchwork Tue Jan 29 23:14:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 10787309 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 76F8613B4 for ; Tue, 29 Jan 2019 23:18:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 63E342DD1B for ; Tue, 29 Jan 2019 23:18:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4FC682DD3D; Tue, 29 Jan 2019 23:18:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 021F32DD39 for ; Tue, 29 Jan 2019 23:18:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EUIKyOS3kG7WgTcdifDZbYnFOIlP0FB7ejEoVVLqNOk=; b=Ul0Gh+klnWcRsf mL9H6lOCsowEFcgY1lN4iR3g6Ek2PRqWU4j8bR399uAbQNYvSTC6JgPXEeH6EbdQk4kBTpebE/6cm 20Jsj/T0V+l3NoJK1SJCsMD4eBSnTLw/fCT6VAQqyf1L5hJUAsp2R3BPk6RtP4RMLDGoGIAOwKZre iuUR7H+5UeiSx0qfgiAxj+ePlFizNGzVEDLQdomv3yetBk4DYmWFbb7ZawrkWfyUE0ti0DnO4iolP WsWx8YFjQqhFgXcMtH8T4Iw6r5ztAePQAxuncVCHPoQoqefh6jy2/1n81B/w//ZRtoZvnOO8UR1d2 Upw8ozE/8DFzqht9iuOQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gocdw-0008U5-OQ; Tue, 29 Jan 2019 23:18:12 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gocds-0008R6-0G for ath10k@lists.infradead.org; Tue, 29 Jan 2019 23:18:11 +0000 Received: by mail-pl1-x641.google.com with SMTP id t13so10073765ply.13 for ; Tue, 29 Jan 2019 15:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MZ/DdbeQn7CAyCekKMFuF2UcpgJJmHxGBqfuC9XeHKI=; b=Tv91WTP1jaB97yFmEnSDpjYezcdLkLhE2dy82hyp+RrGtE23FnP5F1B96H5HtcJCwD IqL0g3gM8rzJuARtywfzWCe1CFpuJ6CxjeLD9EJZn+4L3pmIpms5z/lMQQH/q8klh+P1 U8dnzJ8Wg3lbSk/9byGVzqX+R1TuOEkfLEYRw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MZ/DdbeQn7CAyCekKMFuF2UcpgJJmHxGBqfuC9XeHKI=; b=WUkJavJzWGD1T6AinNeVThihisMtxJw4BDyEBrkqpirtFG1wpun+dNqqdQtrtWrEBD FoG6ItzD4W6YBeSASmgB0CoGz5csFwyw8Ny/KBjux/3SkASiguJpKlLMwoH34CcrriCl BXZfc+rb2WVahNvUUZ4Dj+6ON6b28XRLqru7YZi2G3HrVtwhlZTZyp/xDS7NBExms1Im ja4b8Vilq3+DmwvRSQKloyeKGfNVJPxOMgONC1/ipTJymSny9kcfCTm1CciPCBwevAYD 8+67yc3qf8KANhYntZ4zfd32z/WIeV2acedYa/xKA8+xIHG5q4GqFu2eZNfGMu4KN7c9 hemA== X-Gm-Message-State: AJcUukdzKKqKOZW+5p1f3Sm8GjIQmJLnEFcENDBtp1JFe7taqb67cn/F nPuz7+EvsvEvQ/KWJ/9s9skY8NzWsRs= X-Google-Smtp-Source: ALg8bN7VBCDE0/zoF+Opol1KpqEnJkhDMFX3iQ3NtIYykELf8XA2yufVCHxgS3tEs883H9M0s4J6lA== X-Received: by 2002:a17:902:8bc6:: with SMTP id r6mr27842288plo.67.1548803887519; Tue, 29 Jan 2019 15:18:07 -0800 (PST) Received: from smtp.gmail.com ([2620:15c:202:1:534:b7c0:a63c:460c]) by smtp.gmail.com with ESMTPSA id r8sm46949632pgr.48.2019.01.29.15.18.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Jan 2019 15:18:06 -0800 (PST) From: Brian Norris To: Kalle Valo Subject: [PATCH] ath10k: sdio: add .owner field Date: Tue, 29 Jan 2019 15:14:48 -0800 Message-Id: <20190129231448.83305-1-briannorris@chromium.org> X-Mailer: git-send-email 2.20.1.495.gaa96b0ce6b-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190129_151808_249885_E4875636 X-CRM114-Status: UNSURE ( 8.38 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Brian Norris , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, ath10k@lists.infradead.org, Wen Gong Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP sdio_register_driver() doesn't do this for us, unlike (for example) platform_driver_register(). This is important for helping track module-to-device relationships. Signed-off-by: Brian Norris --- drivers/net/wireless/ath/ath10k/sdio.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/sdio.c b/drivers/net/wireless/ath/ath10k/sdio.c index 983ecfef1d28..2fc0c17c9672 100644 --- a/drivers/net/wireless/ath/ath10k/sdio.c +++ b/drivers/net/wireless/ath/ath10k/sdio.c @@ -2088,7 +2088,10 @@ static struct sdio_driver ath10k_sdio_driver = { .id_table = ath10k_sdio_devices, .probe = ath10k_sdio_probe, .remove = ath10k_sdio_remove, - .drv.pm = ATH10K_SDIO_PM_OPS, + .drv = { + .owner = THIS_MODULE, + .pm = ATH10K_SDIO_PM_OPS, + }, }; static int __init ath10k_sdio_init(void)