From patchwork Tue Jul 31 08:09:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 10550405 X-Patchwork-Delegate: kvalo@adurom.com 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 8699115E2 for ; Tue, 31 Jul 2018 08:09:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7B49C2A20E for ; Tue, 31 Jul 2018 08:09:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F93C2A3A0; Tue, 31 Jul 2018 08:09:45 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2387C2A20E for ; Tue, 31 Jul 2018 08:09:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731311AbeGaJsu (ORCPT ); Tue, 31 Jul 2018 05:48:50 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44393 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731181AbeGaJst (ORCPT ); Tue, 31 Jul 2018 05:48:49 -0400 Received: by mail-wr1-f67.google.com with SMTP id r16-v6so15597505wrt.11 for ; Tue, 31 Jul 2018 01:09:40 -0700 (PDT) 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:in-reply-to :references; bh=Vb7VlXvO3/Y7RBjbm8doNouoJiUXxtstDqw5NquGJKo=; b=rc/ova2HSMspNY3MMt1nIIKklHd9S/KRVScB4DOLHrlXbqgxsmnBcydJkrvaZ2p6KU RIwbtsHhamJT5kyjjy6QQYAquFD6JJ7u/W86xU9HRsXQg852vmAMugpC2DkRWFcJZAXo 3KrNedLAGDC91YJIehc0t4vb0yqZ85xNmi9KgCZJSD1f/7LC735WWt2zX9tMFYkD3nbI Pu/PniB3zjpoIa7bmc3VIeQiYYjGrDwhH5C8+f9Lj/j+3mmMAS2SrLqRT9YDVFeBROqz Yn8qZXN0kuNRg+WP7t7SRif8tUn6UQ4OCWEnCYX6HQJ9ATerceyooSYWhXznZxOk4uVg J/Wg== X-Gm-Message-State: AOUpUlHOBsmLre2DNTMm2JGKpGJfq2ig86z1qYzEBhuHtHGcTtxLZcdB XSujNvVYtin70CwWF+YGDr5KHGyI8ZY= X-Google-Smtp-Source: AAOMgpeZ9316kaYlkva6JD1wOp+bRXGiUIF6l6+uilyYCgQQfr7/LX2beErVPGZqrqwE463CTILfBw== X-Received: by 2002:adf:ae01:: with SMTP id x1-v6mr21053045wrc.45.1533024580375; Tue, 31 Jul 2018 01:09:40 -0700 (PDT) Received: from localhost.localdomain.com (nat-pool-mxp-t.redhat.com. [149.6.153.186]) by smtp.gmail.com with ESMTPSA id o4-v6sm1501051wmo.20.2018.07.31.01.09.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Jul 2018 01:09:39 -0700 (PDT) From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, sgruszka@redhat.com Subject: [PATCH v2 17/19] mt76: move mt76x2_debugfs in mt76-common module Date: Tue, 31 Jul 2018 10:09:18 +0200 Message-Id: <08bbc41492a05a051b32759adeff0818153b42f8.1533023328.git.lorenzo.bianconi@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move mt76x2_debugfs code in mt76-common module since it is shared between mt76x2 and mt76x2u Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/Makefile | 5 +++-- drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/Makefile b/drivers/net/wireless/mediatek/mt76/Makefile index 5a9f34b14ee4..e1bc229e4aad 100644 --- a/drivers/net/wireless/mediatek/mt76/Makefile +++ b/drivers/net/wireless/mediatek/mt76/Makefile @@ -9,11 +9,12 @@ CFLAGS_trace.o := -I$(src) mt76x2-common-y := \ mt76x2_eeprom.o mt76x2_tx_common.o mt76x2_mac_common.o \ - mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o + mt76x2_init_common.o mt76x2_common.o mt76x2_phy_common.o \ + mt76x2_debugfs.o mt76x2e-y := \ mt76x2_pci.o mt76x2_dma.o \ - mt76x2_main.o mt76x2_init.o mt76x2_debugfs.o mt76x2_tx.o \ + mt76x2_main.o mt76x2_init.o mt76x2_tx.o \ mt76x2_core.o mt76x2_mac.o mt76x2_mcu.o mt76x2_phy.o \ mt76x2_dfs.o mt76x2_trace.o diff --git a/drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c b/drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c index 74725902e6dc..77b5ff1be05f 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x2_debugfs.c @@ -153,3 +153,4 @@ void mt76x2_init_debugfs(struct mt76x2_dev *dev) debugfs_create_devm_seqfile(dev->mt76.dev, "agc", dir, read_agc); } +EXPORT_SYMBOL_GPL(mt76x2_init_debugfs);