[PATCH -mm2] net: Fix compiler-error on dgrs.c when !CONFIG_PCI

From: Richard Knutsson
Date: Sat Nov 19 2005 - 20:38:57 EST


From: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx>

Fix compiler-error on dgrs.c when CONFIG_PCI not set.

Signed-off-by: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx>

---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/