aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc64/kernel/pci_fire.c2
-rw-r--r--arch/sparc64/kernel/pci_psycho.c4
-rw-r--r--arch/sparc64/kernel/pci_sun4v.c2
-rw-r--r--drivers/sbus/char/bbc_i2c.c6
-rw-r--r--sound/sparc/cs4231.c10
5 files changed, 12 insertions, 12 deletions
diff --git a/arch/sparc64/kernel/pci_fire.c b/arch/sparc64/kernel/pci_fire.c
index fcbbac66e141..9462b68f4894 100644
--- a/arch/sparc64/kernel/pci_fire.c
+++ b/arch/sparc64/kernel/pci_fire.c
@@ -455,7 +455,7 @@ static int __init pci_fire_pbm_init(struct pci_pbm_info *pbm,
455 return 0; 455 return 0;
456} 456}
457 457
458static int __init fire_probe(struct of_device *op, 458static int __devinit fire_probe(struct of_device *op,
459 const struct of_device_id *match) 459 const struct of_device_id *match)
460{ 460{
461 struct device_node *dp = op->node; 461 struct device_node *dp = op->node;
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c
index 56605adbb5b3..dfb3ec892987 100644
--- a/arch/sparc64/kernel/pci_psycho.c
+++ b/arch/sparc64/kernel/pci_psycho.c
@@ -493,7 +493,7 @@ static void __init psycho_pbm_init(struct pci_pbm_info *pbm,
493 psycho_scan_bus(pbm, &op->dev); 493 psycho_scan_bus(pbm, &op->dev);
494} 494}
495 495
496static struct pci_pbm_info * __init psycho_find_sibling(u32 upa_portid) 496static struct pci_pbm_info * __devinit psycho_find_sibling(u32 upa_portid)
497{ 497{
498 struct pci_pbm_info *pbm; 498 struct pci_pbm_info *pbm;
499 499
@@ -506,7 +506,7 @@ static struct pci_pbm_info * __init psycho_find_sibling(u32 upa_portid)
506 506
507#define PSYCHO_CONFIGSPACE 0x001000000UL 507#define PSYCHO_CONFIGSPACE 0x001000000UL
508 508
509static int __init psycho_probe(struct of_device *op, 509static int __devinit psycho_probe(struct of_device *op,
510 const struct of_device_id *match) 510 const struct of_device_id *match)
511{ 511{
512 const struct linux_prom64_registers *pr_regs; 512 const struct linux_prom64_registers *pr_regs;
diff --git a/arch/sparc64/kernel/pci_sun4v.c b/arch/sparc64/kernel/pci_sun4v.c
index 4b27b0e10ce7..34a1fded3941 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
932static int __init pci_sun4v_probe(struct of_device *op, 932static int __devinit 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;
diff --git a/drivers/sbus/char/bbc_i2c.c b/drivers/sbus/char/bbc_i2c.c
index 054f5dd58931..f08e169ba1b5 100644
--- a/drivers/sbus/char/bbc_i2c.c
+++ b/drivers/sbus/char/bbc_i2c.c
@@ -361,7 +361,7 @@ fail:
361extern int bbc_envctrl_init(struct bbc_i2c_bus *bp); 361extern int bbc_envctrl_init(struct bbc_i2c_bus *bp);
362extern void bbc_envctrl_cleanup(struct bbc_i2c_bus *bp); 362extern void bbc_envctrl_cleanup(struct bbc_i2c_bus *bp);
363 363
364static int __init bbc_i2c_probe(struct of_device *op, 364static int __devinit bbc_i2c_probe(struct of_device *op,
365 const struct of_device_id *match) 365 const struct of_device_id *match)
366{ 366{
367 struct bbc_i2c_bus *bp; 367 struct bbc_i2c_bus *bp;
@@ -386,7 +386,7 @@ static int __init bbc_i2c_probe(struct of_device *op,
386 return err; 386 return err;
387} 387}
388 388
389static int __exit bbc_i2c_remove(struct of_device *op) 389static int __devexit bbc_i2c_remove(struct of_device *op)
390{ 390{
391 struct bbc_i2c_bus *bp = dev_get_drvdata(&op->dev); 391 struct bbc_i2c_bus *bp = dev_get_drvdata(&op->dev);
392 392
@@ -417,7 +417,7 @@ static struct of_platform_driver bbc_i2c_driver = {
417 .name = "bbc_i2c", 417 .name = "bbc_i2c",
418 .match_table = bbc_i2c_match, 418 .match_table = bbc_i2c_match,
419 .probe = bbc_i2c_probe, 419 .probe = bbc_i2c_probe,
420 .remove = __exit_p(bbc_i2c_remove), 420 .remove = __devexit_p(bbc_i2c_remove),
421}; 421};
422 422
423static int __init bbc_i2c_init(void) 423static int __init bbc_i2c_init(void)
diff --git a/sound/sparc/cs4231.c b/sound/sparc/cs4231.c
index 6c427bbac326..d44bf98e965e 100644
--- a/sound/sparc/cs4231.c
+++ b/sound/sparc/cs4231.c
@@ -1856,7 +1856,7 @@ static int __init snd_cs4231_sbus_create(struct snd_card *card,
1856 return 0; 1856 return 0;
1857} 1857}
1858 1858
1859static int __init cs4231_sbus_probe(struct of_device *op, const struct of_device_id *match) 1859static int __devinit cs4231_sbus_probe(struct of_device *op, const struct of_device_id *match)
1860{ 1860{
1861 struct resource *rp = &op->resource[0]; 1861 struct resource *rp = &op->resource[0];
1862 struct snd_card *card; 1862 struct snd_card *card;
@@ -2048,7 +2048,7 @@ static int __init snd_cs4231_ebus_create(struct snd_card *card,
2048 return 0; 2048 return 0;
2049} 2049}
2050 2050
2051static int __init cs4231_ebus_probe(struct of_device *op, const struct of_device_id *match) 2051static int __devinit cs4231_ebus_probe(struct of_device *op, const struct of_device_id *match)
2052{ 2052{
2053 struct snd_card *card; 2053 struct snd_card *card;
2054 int err; 2054 int err;
@@ -2072,7 +2072,7 @@ static int __init cs4231_ebus_probe(struct of_device *op, const struct of_device
2072} 2072}
2073#endif 2073#endif
2074 2074
2075static int __init cs4231_probe(struct of_device *op, const struct of_device_id *match) 2075static int __devinit cs4231_probe(struct of_device *op, const struct of_device_id *match)
2076{ 2076{
2077#ifdef EBUS_SUPPORT 2077#ifdef EBUS_SUPPORT
2078 if (!strcmp(op->node->parent->name, "ebus")) 2078 if (!strcmp(op->node->parent->name, "ebus"))
@@ -2086,7 +2086,7 @@ static int __init cs4231_probe(struct of_device *op, const struct of_device_id *
2086 return -ENODEV; 2086 return -ENODEV;
2087} 2087}
2088 2088
2089static int __exit cs4231_remove(struct of_device *op) 2089static int __devexit cs4231_remove(struct of_device *op)
2090{ 2090{
2091 struct snd_cs4231 *chip = dev_get_drvdata(&op->dev); 2091 struct snd_cs4231 *chip = dev_get_drvdata(&op->dev);
2092 2092
@@ -2112,7 +2112,7 @@ static struct of_platform_driver cs4231_driver = {
2112 .name = "audio", 2112 .name = "audio",
2113 .match_table = cs4231_match, 2113 .match_table = cs4231_match,
2114 .probe = cs4231_probe, 2114 .probe = cs4231_probe,
2115 .remove = __exit_p(cs4231_remove), 2115 .remove = __devexit_p(cs4231_remove),
2116}; 2116};
2117 2117
2118static int __init cs4231_init(void) 2118static int __init cs4231_init(void)