git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
of: Remove duplicate fields from of_platform_driver
[pandora-kernel.git]
/
arch
/
sparc
/
kernel
/
pci_sun4v.c
diff --git
a/arch/sparc/kernel/pci_sun4v.c
b/arch/sparc/kernel/pci_sun4v.c
index
5c11f56
..
a24af6f
100644
(file)
--- a/
arch/sparc/kernel/pci_sun4v.c
+++ b/
arch/sparc/kernel/pci_sun4v.c
@@
-1009,8
+1009,11
@@
static struct of_device_id __initdata pci_sun4v_match[] = {
};
static struct of_platform_driver pci_sun4v_driver = {
- .name = DRIVER_NAME,
- .match_table = pci_sun4v_match,
+ .driver = {
+ .name = DRIVER_NAME,
+ .owner = THIS_MODULE,
+ .of_match_table = pci_sun4v_match,
+ },
.probe = pci_sun4v_probe,
};