From patchwork Tue Dec 7 22:00:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 384282 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 oB7M1M8v027246 for ; Tue, 7 Dec 2010 22:01:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753500Ab0LGWA4 (ORCPT ); Tue, 7 Dec 2010 17:00:56 -0500 Received: from mail-qw0-f66.google.com ([209.85.216.66]:52300 "EHLO mail-qw0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753275Ab0LGWA4 (ORCPT ); Tue, 7 Dec 2010 17:00:56 -0500 Received: by qwk3 with SMTP id 3so108965qwk.1 for ; Tue, 07 Dec 2010 14:00:55 -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 :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=gbM1TEf+ckXbhu6dKqxj+7jKMb8As5JtNOnn7k7uBIk=; b=XKkOpqAvdLWRn+ATThk911Esf4JtKUZxaZbbgLdBQuGg/GiH8WD8ewRmdcTmqq9dxX DqzHAjJTO8uvHx7LWjnbR+2wmvlvZHfjxjx9idcMouWkP7zljp5d+6hD32a/o8zdT4ZX ifLpYXHnVwvARhBscyiT0KOLhLxjaYyN26k/0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=RMYxxgz37n/E3sE0wiTbNMuYjgppjJq3r2yVRaC2ZbrYHFHJa6/l5Fh7C65YUhFn9G CnB7b06fOk9KLZCP4sUxEF837Ss8AmvVXievvIafE5zHU/Y5IwoxNvMe16C2Sw2jIGJV Hxywz/azxA26nzbG6W7cJ8/Qy0FGFQ5NzlTcY= MIME-Version: 1.0 Received: by 10.229.75.8 with SMTP id w8mr6229608qcj.1.1291759255305; Tue, 07 Dec 2010 14:00:55 -0800 (PST) Received: by 10.229.10.207 with HTTP; Tue, 7 Dec 2010 14:00:55 -0800 (PST) Reply-To: sedat.dilek@gmail.com In-Reply-To: References: Date: Tue, 7 Dec 2010 23:00:55 +0100 Message-ID: Subject: Re: [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 22:01:23 +0000 (UTC) From c32080635a52549692ed36126ec0aeb2611d0816 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." Signed-off-by: Sedat Dilek --- 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