From: Richard Knutsson <[email protected]>
Fix compiler-error on atyfb_base.c when CONFIG_PCI not set.
Signed-off-by: Richard Knutsson <[email protected]>
---
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]