Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751127AbVKTBjJ (ORCPT ); Sat, 19 Nov 2005 20:39:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751134AbVKTBjI (ORCPT ); Sat, 19 Nov 2005 20:39:08 -0500 Received: from gepetto.dc.ltu.se ([130.240.42.40]:20898 "EHLO gepetto.dc.ltu.se") by vger.kernel.org with ESMTP id S1751127AbVKTBjH (ORCPT ); Sat, 19 Nov 2005 20:39:07 -0500 Date: Sun, 20 Nov 2005 02:39:00 +0100 (MET) From: Richard Knutsson To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Richard Knutsson Message-Id: <20051120014408.20407.66374.sendpatchset@thinktank.campus.ltu.se> Subject: [PATCH -mm2] net: Fix compiler-error on dgrs.c when !CONFIG_PCI Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 845 Lines: 28 From: Richard Knutsson Fix compiler-error on dgrs.c when CONFIG_PCI not set. Signed-off-by: Richard Knutsson --- dgrs.c | 2 ++ 1 files changed, 2 insertions(+) diff -Narup a/drivers/net/dgrs.c b/drivers/net/dgrs.c --- a/drivers/net/dgrs.c 2005-11-19 20:17:51.000000000 +0100 +++ b/drivers/net/dgrs.c 2005-11-19 20:29:52.000000000 +0100 @@ -1458,6 +1458,8 @@ static struct pci_driver dgrs_pci_driver .probe = dgrs_pci_probe, .remove = __devexit_p(dgrs_pci_remove), }; +#else +static struct pci_driver dgrs_pci_driver = {}; #endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/