From patchwork Mon Mar 15 16:22:26 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helmut Schaa X-Patchwork-Id: 85993 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o2FGMUFT014095 for ; Mon, 15 Mar 2010 16:22:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965351Ab0COQW3 (ORCPT ); Mon, 15 Mar 2010 12:22:29 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:19232 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965330Ab0COQW2 (ORCPT ); Mon, 15 Mar 2010 12:22:28 -0400 Received: by fg-out-1718.google.com with SMTP id 16so1530945fgg.1 for ; Mon, 15 Mar 2010 09:22:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :message-id; bh=ZHfrCYoksw+PJ9UUg4AUr/kOEvmbDoiiAk4Z6y8YhEE=; b=eIU4SOLbyEG+Wg1OOPQEWlbGXrt/fx3nIj+tzMcr/yeQneY4NYqQrnL1NkqDNzITbN EdLdXQxFVkikx3+BjzS+bDgKMfQfdtCkULQlNS0HEfkd8TtYy9Pxunx67bUz0uGwXeIT Q2bxdVP48icTwh4XcHBJVyHlNNyN7dytuZVK8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:user-agent:cc:mime-version:content-type :content-transfer-encoding:message-id; b=T8d/Mcpp/PpnYOyI6Ba9bvj8CUUE5IMbmr5GDlUBaOEL0XR0bJ7dluyXOE1d0hN+1j o5r5u94imqMgclWFei9HDZeyYQKstgZeuRydRdG4bP2gmTIzmEW+Oc0HoRLseEuFRV9f 6Mhjt2fCOnqURTd/w5xJZd8K5y4QvvQdgV+lE= Received: by 10.87.47.3 with SMTP id z3mr9686640fgj.70.1268670146821; Mon, 15 Mar 2010 09:22:26 -0700 (PDT) Received: from helmutmobil2.localnet (p5495C461.dip.t-dialin.net [84.149.196.97]) by mx.google.com with ESMTPS id 18sm7336779fks.35.2010.03.15.09.22.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 15 Mar 2010 09:22:26 -0700 (PDT) From: Helmut Schaa To: John Linville Subject: [PATCH] rt2x00: fix warning when building rt2800pci with just soc support Date: Mon, 15 Mar 2010 17:22:26 +0100 User-Agent: KMail/1.13.0 (Linux/2.6.33-wl-default; KDE/4.4.0; x86_64; ; ) Cc: linux-wireless@vger.kernel.org, Ivo van Doorn , Gertjan van Wingerde MIME-Version: 1.0 Message-Id: <201003151722.26406.helmut.schaa@googlemail.com> 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 (demeter.kernel.org [140.211.167.41]); Mon, 15 Mar 2010 16:22:30 +0000 (UTC) diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index 10fafd0..0104906 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c @@ -1184,6 +1184,7 @@ static const struct rt2x00_ops rt2800pci_ops = { /* * RT2800pci module information. */ +#ifdef CONFIG_RT2800PCI_PCI static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = { { PCI_DEVICE(0x1814, 0x0601), PCI_DEVICE_DATA(&rt2800pci_ops) }, { PCI_DEVICE(0x1814, 0x0681), PCI_DEVICE_DATA(&rt2800pci_ops) }, @@ -1211,6 +1212,7 @@ static DEFINE_PCI_DEVICE_TABLE(rt2800pci_device_table) = { #endif { 0, } }; +#endif /* CONFIG_RT2800PCI_PCI */ MODULE_AUTHOR(DRV_PROJECT); MODULE_VERSION(DRV_VERSION);