Messages in this thread Patch in this message | | | Date | Sun, 20 Nov 2005 02:39:00 +0100 (MET) | From | Richard Knutsson <> | Subject | [PATCH -mm2] net: Fix compiler-error on dgrs.c when !CONFIG_PCI |
| |
From: Richard Knutsson <ricknu-0@student.ltu.se>
Fix compiler-error on dgrs.c when CONFIG_PCI not set.
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---
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/
| |