From patchwork Tue Dec 7 21:55:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 384262 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB7Lu5sg026703 for ; Tue, 7 Dec 2010 21:56:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753224Ab0LGVzk (ORCPT ); Tue, 7 Dec 2010 16:55:40 -0500 Received: from mail-qy0-f181.google.com ([209.85.216.181]:49006 "EHLO mail-qy0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561Ab0LGVzj (ORCPT ); Tue, 7 Dec 2010 16:55:39 -0500 Received: by qyk12 with SMTP id 12so417542qyk.19 for ; Tue, 07 Dec 2010 13:55:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=fzn5YciP8E0eKTdyDe34isgYyGucXDr58a3MU0w/cfc=; b=M3UesXUOoAHhwW7YEX2OugJHOc4tR0ITEO57RgNa1WT1FB16CQcA99wqAvztzpwIKZ P8+JPQIm8vZ6Pweov9J1KurXk3D0hww7eUnH8P2z5JeF3B7UFy+814Dstgn+tqUdGxCG Mi9TzzctmUU7jf9D1GuCFQf4rL9XJANWtjbm0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=ZllIfx/5g6AiuQo/FzQKNOX/07h2GI4m3mzpVOFLm+/n0mMW2RnOko1cWTA0MQ/feD 9nVKVwQ/eJm0Lb86o4AZ1fk+cl5xTTui3KuW3ra8a3UiTnUPAVhjcrpi9nADFQEhz0f1 tKUD7FuoDkNN3MI818zJIEKIBJiUZypZNNlGU= MIME-Version: 1.0 Received: by 10.229.240.138 with SMTP id la10mr6135290qcb.191.1291758938674; Tue, 07 Dec 2010 13:55:38 -0800 (PST) Received: by 10.229.10.207 with HTTP; Tue, 7 Dec 2010 13:55:38 -0800 (PST) Reply-To: sedat.dilek@gmail.com Date: Tue, 7 Dec 2010 22:55:38 +0100 Message-ID: Subject: [PATCH] ath5k: Fix modinfo does not list alias -> pci-id lines From: Sedat Dilek To: wireless , John Linville , Nick Kossifidis Cc: LKML , ath5k-devel , Bruno Randolf Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 07 Dec 2010 21:56:06 +0000 (UTC) From 394c3ca4fdc0e8e92d8117c1da2efdc917362c52 Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Tue, 7 Dec 2010 22:35:50 +0100 Subject: [PATCH] ath5k: Fix modinfo does not list alias -> pci-id lines The AHB bus support patchset moved the table "Known PCI ids" from base.c to pci.c - unfortunately, MODULE_DEVICE_TABLE() was not transferred. With this fix 'modinfo ath5k' lists the alias -> pci-id lines, again. The issue was introduced by: commit e5b046d86fac609f636d127a38de94a175c7e83b "ath5k: Move PCI bus functions to separate file." --- drivers/net/wireless/ath/ath5k/pci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/pci.c b/drivers/net/wireless/ath/ath5k/pci.c index 39f0331..7f8c5b0 100644 --- a/drivers/net/wireless/ath/ath5k/pci.c +++ b/drivers/net/wireless/ath/ath5k/pci.c @@ -45,6 +45,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath5k_pci_id_table) = { { PCI_VDEVICE(ATHEROS, 0x001d) }, /* 2417 Nala */ { 0 } }; +MODULE_DEVICE_TABLE(pci, ath5k_pci_id_table); /* return bus cachesize in 4B word units */ static void ath5k_pci_read_cachesize(struct ath_common *common, int *csz) -- 1.7.2.3