[PATCH -mm2] net: Fix compiler-error on atyfb_base.c when !CONFIG_PCI
From: Richard Knutsson
Date: Mon Nov 21 2005 - 21:21:22 EST
From: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx>
Fix compiler-error on atyfb_base.c when CONFIG_PCI not set.
Signed-off-by: Richard Knutsson <ricknu-0@xxxxxxxxxxxxxx>
---
atyfb_base.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -Narup a/drivers/net/dgrs.c b/drivers/net/dgrs.c
--- a/drivers/video/aty/atyfb_base.c 2005-11-22 01:41:54.000000000 +0100
+++ b/drivers/video/aty/atyfb_base.c 2005-11-22 01:42:15.000000000 +0100
@@ -3606,7 +3606,8 @@ static struct pci_driver atyfb_driver =
.resume = atyfb_pci_resume,
#endif /* CONFIG_PM */
};
-
+#else
+static struct pci_driver atyfb_driver = {};
#endif /* CONFIG_PCI */
#ifndef MODULE
-
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/