diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-11-22 12:35:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-11-30 13:03:36 -0500 |
commit | e669dae6141ff97d3c7566207f5de3b487dcf837 (patch) | |
tree | d7c8b02ab791b42f3f493840279fcdaafcb9c515 /arch/sparc64/kernel/pci_sun4v.c | |
parent | 30037818f7c1e11cb3742fbecd614ef3dc7b27bb (diff) |
of_platform_driver noise on sparce
switch to __init for those; unlike powerpc sparc has no hotplug support
for that stuff and their ->probe() tends to call __init functions while
being declared __devinit.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sparc64/kernel/pci_sun4v.c')
-rw-r--r-- | arch/sparc64/kernel/pci_sun4v.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c index 34a1fded3941..4b27b0e10ce7 100644 --- a/arch/sparc64/kernel/pci_sun4v.c +++ b/arch/sparc64/kernel/pci_sun4v.c | |||
@@ -929,7 +929,7 @@ static int __init pci_sun4v_pbm_init(struct pci_pbm_info *pbm, | |||
929 | return 0; | 929 | return 0; |
930 | } | 930 | } |
931 | 931 | ||
932 | static int __devinit pci_sun4v_probe(struct of_device *op, | 932 | static int __init pci_sun4v_probe(struct of_device *op, |
933 | const struct of_device_id *match) | 933 | const struct of_device_id *match) |
934 | { | 934 | { |
935 | const struct linux_prom64_registers *regs; | 935 | const struct linux_prom64_registers *regs; |