projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
989e4d6
)
[PATCH] net: Fix compiler-error on dgrs.c when !CONFIG_PCI
author
Richard Knutsson
<ricknu-0@student.ltu.se>
Tue, 22 Nov 2005 05:32:03 +0000
(21:32 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 22 Nov 2005 17:13:41 +0000
(09:13 -0800)
drivers/net/dgrs.c: In function `dgrs_init_module':
drivers/net/dgrs.c:1598: `dgrs_pci_driver' undeclared (first use in this function)
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/dgrs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/dgrs.c
b/drivers/net/dgrs.c
index 2a290cc397ad6a57b849356be7251ab090017f2a..70b47e4c4e9c483a68dafba6d317d35af73d679b 100644
(file)
--- a/
drivers/net/dgrs.c
+++ b/
drivers/net/dgrs.c
@@
-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