Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc: remove __devinit, __devexit annotations

__devinit, __devexit annotations are nops - so drop them.
Likewise for __devexit_p.

Adjusted alignment of arguments when needed.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sam Ravnborg and committed by
David S. Miller
b7c13f76 4e4d78f1

+93 -100
+3 -3
arch/sparc/include/asm/parport.h
··· 103 103 return ebus_dma_residue(&sparc_ebus_dmas[dmanr].info); 104 104 } 105 105 106 - static int __devinit ecpp_probe(struct platform_device *op) 106 + static int ecpp_probe(struct platform_device *op) 107 107 { 108 108 unsigned long base = op->resource[0].start; 109 109 unsigned long config = op->resource[1].start; ··· 192 192 return err; 193 193 } 194 194 195 - static int __devexit ecpp_remove(struct platform_device *op) 195 + static int ecpp_remove(struct platform_device *op) 196 196 { 197 197 struct parport *p = dev_get_drvdata(&op->dev); 198 198 int slot = p->dma; ··· 242 242 .of_match_table = ecpp_match, 243 243 }, 244 244 .probe = ecpp_probe, 245 - .remove = __devexit_p(ecpp_remove), 245 + .remove = ecpp_remove, 246 246 }; 247 247 248 248 static int parport_pc_find_nonpci_ports(int autoirq, int autodma)
+1 -1
arch/sparc/include/asm/timer_64.h
··· 24 24 extern struct sparc64_tick_ops *tick_ops; 25 25 26 26 extern unsigned long sparc64_get_clock_tick(unsigned int cpu); 27 - extern void __devinit setup_sparc64_timer(void); 27 + extern void setup_sparc64_timer(void); 28 28 extern void __init time_init(void); 29 29 30 30 #endif /* _SPARC64_TIMER_H */
+2 -2
arch/sparc/kernel/apc.c
··· 31 31 #define APC_DEVNAME "apc" 32 32 33 33 static u8 __iomem *regs; 34 - static int apc_no_idle __devinitdata = 0; 34 + static int apc_no_idle = 0; 35 35 36 36 #define apc_readb(offs) (sbus_readb(regs+offs)) 37 37 #define apc_writeb(val, offs) (sbus_writeb(val, regs+offs)) ··· 138 138 139 139 static struct miscdevice apc_miscdev = { APC_MINOR, APC_DEVNAME, &apc_fops }; 140 140 141 - static int __devinit apc_probe(struct platform_device *op) 141 + static int apc_probe(struct platform_device *op) 142 142 { 143 143 int err; 144 144
+1 -1
arch/sparc/kernel/auxio_64.c
··· 102 102 103 103 MODULE_DEVICE_TABLE(of, auxio_match); 104 104 105 - static int __devinit auxio_probe(struct platform_device *dev) 105 + static int auxio_probe(struct platform_device *dev) 106 106 { 107 107 struct device_node *dp = dev->dev.of_node; 108 108 unsigned long size;
+3 -3
arch/sparc/kernel/central.c
··· 33 33 struct platform_device leds_pdev; 34 34 }; 35 35 36 - static int __devinit clock_board_calc_nslots(struct clock_board *p) 36 + static int clock_board_calc_nslots(struct clock_board *p) 37 37 { 38 38 u8 reg = upa_readb(p->clock_regs + CLOCK_STAT1) & 0xc0; 39 39 ··· 60 60 } 61 61 } 62 62 63 - static int __devinit clock_board_probe(struct platform_device *op) 63 + static int clock_board_probe(struct platform_device *op) 64 64 { 65 65 struct clock_board *p = kzalloc(sizeof(*p), GFP_KERNEL); 66 66 int err = -ENOMEM; ··· 157 157 }, 158 158 }; 159 159 160 - static int __devinit fhc_probe(struct platform_device *op) 160 + static int fhc_probe(struct platform_device *op) 161 161 { 162 162 struct fhc *p = kzalloc(sizeof(*p), GFP_KERNEL); 163 163 int err = -ENOMEM;
+17 -17
arch/sparc/kernel/chmc.c
··· 336 336 return 0; 337 337 } 338 338 339 - static u64 __devinit jbusmc_dimm_group_size(u64 base, 340 - const struct linux_prom64_registers *mem_regs, 341 - int num_mem_regs) 339 + static u64 jbusmc_dimm_group_size(u64 base, 340 + const struct linux_prom64_registers *mem_regs, 341 + int num_mem_regs) 342 342 { 343 343 u64 max = base + (8UL * 1024 * 1024 * 1024); 344 344 u64 max_seen = base; ··· 363 363 return max_seen - base; 364 364 } 365 365 366 - static void __devinit jbusmc_construct_one_dimm_group(struct jbusmc *p, 367 - unsigned long index, 368 - const struct linux_prom64_registers *mem_regs, 369 - int num_mem_regs) 366 + static void jbusmc_construct_one_dimm_group(struct jbusmc *p, 367 + unsigned long index, 368 + const struct linux_prom64_registers *mem_regs, 369 + int num_mem_regs) 370 370 { 371 371 struct jbusmc_dimm_group *dp = &p->dimm_groups[index]; 372 372 ··· 378 378 dp->size = jbusmc_dimm_group_size(dp->base_addr, mem_regs, num_mem_regs); 379 379 } 380 380 381 - static void __devinit jbusmc_construct_dimm_groups(struct jbusmc *p, 382 - const struct linux_prom64_registers *mem_regs, 383 - int num_mem_regs) 381 + static void jbusmc_construct_dimm_groups(struct jbusmc *p, 382 + const struct linux_prom64_registers *mem_regs, 383 + int num_mem_regs) 384 384 { 385 385 if (p->mc_reg_1 & JB_MC_REG1_DIMM1_BANK0) { 386 386 jbusmc_construct_one_dimm_group(p, 0, mem_regs, num_mem_regs); ··· 392 392 } 393 393 } 394 394 395 - static int __devinit jbusmc_probe(struct platform_device *op) 395 + static int jbusmc_probe(struct platform_device *op) 396 396 { 397 397 const struct linux_prom64_registers *mem_regs; 398 398 struct device_node *mem_node; ··· 689 689 chmc_read_mcreg(p, CHMCTRL_DECODE4)); 690 690 } 691 691 692 - static int __devinit chmc_probe(struct platform_device *op) 692 + static int chmc_probe(struct platform_device *op) 693 693 { 694 694 struct device_node *dp = op->dev.of_node; 695 695 unsigned long ver; ··· 763 763 goto out; 764 764 } 765 765 766 - static int __devinit us3mc_probe(struct platform_device *op) 766 + static int us3mc_probe(struct platform_device *op) 767 767 { 768 768 if (mc_type == MC_TYPE_SAFARI) 769 769 return chmc_probe(op); ··· 772 772 return -ENODEV; 773 773 } 774 774 775 - static void __devexit chmc_destroy(struct platform_device *op, struct chmc *p) 775 + static void chmc_destroy(struct platform_device *op, struct chmc *p) 776 776 { 777 777 list_del(&p->list); 778 778 of_iounmap(&op->resource[0], p->regs, 0x48); 779 779 kfree(p); 780 780 } 781 781 782 - static void __devexit jbusmc_destroy(struct platform_device *op, struct jbusmc *p) 782 + static void jbusmc_destroy(struct platform_device *op, struct jbusmc *p) 783 783 { 784 784 mc_list_del(&p->list); 785 785 of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); 786 786 kfree(p); 787 787 } 788 788 789 - static int __devexit us3mc_remove(struct platform_device *op) 789 + static int us3mc_remove(struct platform_device *op) 790 790 { 791 791 void *p = dev_get_drvdata(&op->dev); 792 792 ··· 814 814 .of_match_table = us3mc_match, 815 815 }, 816 816 .probe = us3mc_probe, 817 - .remove = __devexit_p(us3mc_remove), 817 + .remove = us3mc_remove, 818 818 }; 819 819 820 820 static inline bool us3mc_platform(void)
+2 -3
arch/sparc/kernel/ds.c
··· 29 29 #define DRV_MODULE_VERSION "1.0" 30 30 #define DRV_MODULE_RELDATE "Jul 11, 2007" 31 31 32 - static char version[] __devinitdata = 32 + static char version[] = 33 33 DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; 34 34 MODULE_AUTHOR("David S. Miller (davem@davemloft.net)"); 35 35 MODULE_DESCRIPTION("Sun LDOM domain services driver"); ··· 1146 1146 spin_unlock_irqrestore(&ds_lock, flags); 1147 1147 } 1148 1148 1149 - static int __devinit ds_probe(struct vio_dev *vdev, 1150 - const struct vio_device_id *id) 1149 + static int ds_probe(struct vio_dev *vdev, const struct vio_device_id *id) 1151 1150 { 1152 1151 static int ds_version_printed; 1153 1152 struct ldc_channel_config ds_cfg = {
+1 -1
arch/sparc/kernel/ldc.c
··· 27 27 #define DRV_MODULE_VERSION "1.1" 28 28 #define DRV_MODULE_RELDATE "July 22, 2008" 29 29 30 - static char version[] __devinitdata = 30 + static char version[] = 31 31 DRV_MODULE_NAME ".c:v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; 32 32 #define LDC_PACKET_SIZE 64 33 33
+1 -1
arch/sparc/kernel/leon_pci.c
··· 43 43 } 44 44 } 45 45 46 - void __devinit pcibios_fixup_bus(struct pci_bus *pbus) 46 + void pcibios_fixup_bus(struct pci_bus *pbus) 47 47 { 48 48 struct pci_dev *dev; 49 49 int i, has_io, has_mem;
+1 -1
arch/sparc/kernel/leon_pci_grpci2.c
··· 668 668 return IRQ_HANDLED; 669 669 } 670 670 671 - static int __devinit grpci2_of_probe(struct platform_device *ofdev) 671 + static int grpci2_of_probe(struct platform_device *ofdev) 672 672 { 673 673 struct grpci2_regs *regs; 674 674 struct grpci2_priv *priv;
+18 -19
arch/sparc/kernel/pci.c
··· 356 356 return dev; 357 357 } 358 358 359 - static void __devinit apb_calc_first_last(u8 map, u32 *first_p, u32 *last_p) 359 + static void apb_calc_first_last(u8 map, u32 *first_p, u32 *last_p) 360 360 { 361 361 u32 idx, first, last; 362 362 ··· 378 378 /* Cook up fake bus resources for SUNW,simba PCI bridges which lack 379 379 * a proper 'ranges' property. 380 380 */ 381 - static void __devinit apb_fake_ranges(struct pci_dev *dev, 382 - struct pci_bus *bus, 383 - struct pci_pbm_info *pbm) 381 + static void apb_fake_ranges(struct pci_dev *dev, 382 + struct pci_bus *bus, 383 + struct pci_pbm_info *pbm) 384 384 { 385 385 struct pci_bus_region region; 386 386 struct resource *res; ··· 404 404 pcibios_bus_to_resource(dev, res, &region); 405 405 } 406 406 407 - static void __devinit pci_of_scan_bus(struct pci_pbm_info *pbm, 408 - struct device_node *node, 409 - struct pci_bus *bus); 407 + static void pci_of_scan_bus(struct pci_pbm_info *pbm, 408 + struct device_node *node, 409 + struct pci_bus *bus); 410 410 411 411 #define GET_64BIT(prop, i) ((((u64) (prop)[(i)]) << 32) | (prop)[(i)+1]) 412 412 413 - static void __devinit of_scan_pci_bridge(struct pci_pbm_info *pbm, 414 - struct device_node *node, 415 - struct pci_dev *dev) 413 + static void of_scan_pci_bridge(struct pci_pbm_info *pbm, 414 + struct device_node *node, 415 + struct pci_dev *dev) 416 416 { 417 417 struct pci_bus *bus; 418 418 const u32 *busrange, *ranges; ··· 503 503 pci_of_scan_bus(pbm, node, bus); 504 504 } 505 505 506 - static void __devinit pci_of_scan_bus(struct pci_pbm_info *pbm, 507 - struct device_node *node, 508 - struct pci_bus *bus) 506 + static void pci_of_scan_bus(struct pci_pbm_info *pbm, 507 + struct device_node *node, 508 + struct pci_bus *bus) 509 509 { 510 510 struct device_node *child; 511 511 const u32 *reg; ··· 564 564 565 565 static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH, show_pciobppath_attr, NULL); 566 566 567 - static void __devinit pci_bus_register_of_sysfs(struct pci_bus *bus) 567 + static void pci_bus_register_of_sysfs(struct pci_bus *bus) 568 568 { 569 569 struct pci_dev *dev; 570 570 struct pci_bus *child_bus; ··· 585 585 pci_bus_register_of_sysfs(child_bus); 586 586 } 587 587 588 - struct pci_bus * __devinit pci_scan_one_pbm(struct pci_pbm_info *pbm, 589 - struct device *parent) 588 + struct pci_bus *pci_scan_one_pbm(struct pci_pbm_info *pbm, 589 + struct device *parent) 590 590 { 591 591 LIST_HEAD(resources); 592 592 struct device_node *node = pbm->op->dev.of_node; ··· 618 618 return bus; 619 619 } 620 620 621 - void __devinit pcibios_fixup_bus(struct pci_bus *pbus) 621 + void pcibios_fixup_bus(struct pci_bus *pbus) 622 622 { 623 623 } 624 624 ··· 949 949 subsys_initcall(pcibios_init); 950 950 951 951 #ifdef CONFIG_SYSFS 952 - static void __devinit pci_bus_slot_names(struct device_node *node, 953 - struct pci_bus *bus) 952 + static void pci_bus_slot_names(struct device_node *node, struct pci_bus *bus) 954 953 { 955 954 const struct pci_slot_names { 956 955 u32 slot_mask;
+3 -3
arch/sparc/kernel/pci_fire.c
··· 408 408 upa_writeq(~(u64)0, pbm->pbm_regs + FIRE_PEC_IENAB); 409 409 } 410 410 411 - static int __devinit pci_fire_pbm_init(struct pci_pbm_info *pbm, 412 - struct platform_device *op, u32 portid) 411 + static int pci_fire_pbm_init(struct pci_pbm_info *pbm, 412 + struct platform_device *op, u32 portid) 413 413 { 414 414 const struct linux_prom64_registers *regs; 415 415 struct device_node *dp = op->dev.of_node; ··· 454 454 return 0; 455 455 } 456 456 457 - static int __devinit fire_probe(struct platform_device *op) 457 + static int fire_probe(struct platform_device *op) 458 458 { 459 459 struct device_node *dp = op->dev.of_node; 460 460 struct pci_pbm_info *pbm;
+6 -6
arch/sparc/kernel/pci_psycho.c
··· 366 366 pci_config_write8(addr, 64); 367 367 } 368 368 369 - static void __devinit psycho_scan_bus(struct pci_pbm_info *pbm, 370 - struct device *parent) 369 + static void psycho_scan_bus(struct pci_pbm_info *pbm, 370 + struct device *parent) 371 371 { 372 372 pbm_config_busmastering(pbm); 373 373 pbm->is_66mhz_capable = 0; ··· 483 483 #define PSYCHO_MEMSPACE_B 0x180000000UL 484 484 #define PSYCHO_MEMSPACE_SIZE 0x07fffffffUL 485 485 486 - static void __devinit psycho_pbm_init(struct pci_pbm_info *pbm, 487 - struct platform_device *op, int is_pbm_a) 486 + static void psycho_pbm_init(struct pci_pbm_info *pbm, 487 + struct platform_device *op, int is_pbm_a) 488 488 { 489 489 psycho_pbm_init_common(pbm, op, "PSYCHO", PBM_CHIP_TYPE_PSYCHO); 490 490 psycho_pbm_strbuf_init(pbm, is_pbm_a); 491 491 psycho_scan_bus(pbm, &op->dev); 492 492 } 493 493 494 - static struct pci_pbm_info * __devinit psycho_find_sibling(u32 upa_portid) 494 + static struct pci_pbm_info *psycho_find_sibling(u32 upa_portid) 495 495 { 496 496 struct pci_pbm_info *pbm; 497 497 ··· 504 504 505 505 #define PSYCHO_CONFIGSPACE 0x001000000UL 506 506 507 - static int __devinit psycho_probe(struct platform_device *op) 507 + static int psycho_probe(struct platform_device *op) 508 508 { 509 509 const struct linux_prom64_registers *pr_regs; 510 510 struct device_node *dp = op->dev.of_node;
+4 -5
arch/sparc/kernel/pci_sabre.c
··· 403 403 } 404 404 } 405 405 406 - static void __devinit sabre_scan_bus(struct pci_pbm_info *pbm, 407 - struct device *parent) 406 + static void sabre_scan_bus(struct pci_pbm_info *pbm, struct device *parent) 408 407 { 409 408 static int once; 410 409 ··· 442 443 sabre_register_error_handlers(pbm); 443 444 } 444 445 445 - static void __devinit sabre_pbm_init(struct pci_pbm_info *pbm, 446 - struct platform_device *op) 446 + static void sabre_pbm_init(struct pci_pbm_info *pbm, 447 + struct platform_device *op) 447 448 { 448 449 psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); 449 450 pbm->pci_afsr = pbm->controller_regs + SABRE_PIOAFSR; ··· 453 454 } 454 455 455 456 static const struct of_device_id sabre_match[]; 456 - static int __devinit sabre_probe(struct platform_device *op) 457 + static int sabre_probe(struct platform_device *op) 457 458 { 458 459 const struct of_device_id *match; 459 460 const struct linux_prom64_registers *pr_regs;
+7 -9
arch/sparc/kernel/pci_schizo.c
··· 1064 1064 pci_config_write8(addr, 64); 1065 1065 } 1066 1066 1067 - static void __devinit schizo_scan_bus(struct pci_pbm_info *pbm, 1068 - struct device *parent) 1067 + static void schizo_scan_bus(struct pci_pbm_info *pbm, struct device *parent) 1069 1068 { 1070 1069 pbm_config_busmastering(pbm); 1071 1070 pbm->is_66mhz_capable = ··· 1306 1307 } 1307 1308 } 1308 1309 1309 - static int __devinit schizo_pbm_init(struct pci_pbm_info *pbm, 1310 - struct platform_device *op, u32 portid, 1311 - int chip_type) 1310 + static int schizo_pbm_init(struct pci_pbm_info *pbm, 1311 + struct platform_device *op, u32 portid, 1312 + int chip_type) 1312 1313 { 1313 1314 const struct linux_prom64_registers *regs; 1314 1315 struct device_node *dp = op->dev.of_node; ··· 1399 1400 return (x == y); 1400 1401 } 1401 1402 1402 - static struct pci_pbm_info * __devinit schizo_find_sibling(u32 portid, 1403 - int chip_type) 1403 + static struct pci_pbm_info *schizo_find_sibling(u32 portid, int chip_type) 1404 1404 { 1405 1405 struct pci_pbm_info *pbm; 1406 1406 ··· 1410 1412 return NULL; 1411 1413 } 1412 1414 1413 - static int __devinit __schizo_init(struct platform_device *op, unsigned long chip_type) 1415 + static int __schizo_init(struct platform_device *op, unsigned long chip_type) 1414 1416 { 1415 1417 struct device_node *dp = op->dev.of_node; 1416 1418 struct pci_pbm_info *pbm; ··· 1458 1460 } 1459 1461 1460 1462 static const struct of_device_id schizo_match[]; 1461 - static int __devinit schizo_probe(struct platform_device *op) 1463 + static int schizo_probe(struct platform_device *op) 1462 1464 { 1463 1465 const struct of_device_id *match; 1464 1466
+7 -8
arch/sparc/kernel/pci_sun4v.c
··· 536 536 .unmap_sg = dma_4v_unmap_sg, 537 537 }; 538 538 539 - static void __devinit pci_sun4v_scan_bus(struct pci_pbm_info *pbm, 540 - struct device *parent) 539 + static void pci_sun4v_scan_bus(struct pci_pbm_info *pbm, struct device *parent) 541 540 { 542 541 struct property *prop; 543 542 struct device_node *dp; ··· 549 550 /* XXX register error interrupt handlers XXX */ 550 551 } 551 552 552 - static unsigned long __devinit probe_existing_entries(struct pci_pbm_info *pbm, 553 - struct iommu *iommu) 553 + static unsigned long probe_existing_entries(struct pci_pbm_info *pbm, 554 + struct iommu *iommu) 554 555 { 555 556 struct iommu_arena *arena = &iommu->arena; 556 557 unsigned long i, cnt = 0; ··· 577 578 return cnt; 578 579 } 579 580 580 - static int __devinit pci_sun4v_iommu_init(struct pci_pbm_info *pbm) 581 + static int pci_sun4v_iommu_init(struct pci_pbm_info *pbm) 581 582 { 582 583 static const u32 vdma_default[] = { 0x80000000, 0x80000000 }; 583 584 struct iommu *iommu = pbm->iommu; ··· 878 879 } 879 880 #endif /* !(CONFIG_PCI_MSI) */ 880 881 881 - static int __devinit pci_sun4v_pbm_init(struct pci_pbm_info *pbm, 882 - struct platform_device *op, u32 devhandle) 882 + static int pci_sun4v_pbm_init(struct pci_pbm_info *pbm, 883 + struct platform_device *op, u32 devhandle) 883 884 { 884 885 struct device_node *dp = op->dev.of_node; 885 886 int err; ··· 918 919 return 0; 919 920 } 920 921 921 - static int __devinit pci_sun4v_probe(struct platform_device *op) 922 + static int pci_sun4v_probe(struct platform_device *op) 922 923 { 923 924 const struct linux_prom64_registers *regs; 924 925 static int hvapi_negotiated = 0;
+2 -3
arch/sparc/kernel/pcic.c
··· 439 439 return pcic0_up; 440 440 } 441 441 442 - static int __devinit pdev_to_pnode(struct linux_pbm_info *pbm, 443 - struct pci_dev *pdev) 442 + static int pdev_to_pnode(struct linux_pbm_info *pbm, struct pci_dev *pdev) 444 443 { 445 444 struct linux_prom_pci_registers regs[PROMREG_MAX]; 446 445 int err; ··· 594 595 /* 595 596 * Normally called from {do_}pci_scan_bus... 596 597 */ 597 - void __devinit pcibios_fixup_bus(struct pci_bus *bus) 598 + void pcibios_fixup_bus(struct pci_bus *bus) 598 599 { 599 600 struct pci_dev *dev; 600 601 int i, has_io, has_mem;
+1 -1
arch/sparc/kernel/pmc.c
··· 52 52 #endif 53 53 } 54 54 55 - static int __devinit pmc_probe(struct platform_device *op) 55 + static int pmc_probe(struct platform_device *op) 56 56 { 57 57 regs = of_ioremap(&op->resource[0], 0, 58 58 resource_size(&op->resource[0]), PMC_OBPNAME);
+2 -2
arch/sparc/kernel/power.c
··· 23 23 return IRQ_HANDLED; 24 24 } 25 25 26 - static int __devinit has_button_interrupt(unsigned int irq, struct device_node *dp) 26 + static int has_button_interrupt(unsigned int irq, struct device_node *dp) 27 27 { 28 28 if (irq == 0xffffffff) 29 29 return 0; ··· 33 33 return 1; 34 34 } 35 35 36 - static int __devinit power_probe(struct platform_device *op) 36 + static int power_probe(struct platform_device *op) 37 37 { 38 38 struct resource *res = &op->resource[0]; 39 39 unsigned int irq = op->archdata.irqs[0];
+2 -2
arch/sparc/kernel/smp_64.c
··· 1180 1180 { 1181 1181 } 1182 1182 1183 - void __devinit smp_prepare_boot_cpu(void) 1183 + void smp_prepare_boot_cpu(void) 1184 1184 { 1185 1185 } 1186 1186 ··· 1194 1194 xcall_deliver_impl = hypervisor_xcall_deliver; 1195 1195 } 1196 1196 1197 - void __devinit smp_fill_in_sib_core_maps(void) 1197 + void smp_fill_in_sib_core_maps(void) 1198 1198 { 1199 1199 unsigned int i; 1200 1200
+1 -1
arch/sparc/kernel/time_32.c
··· 278 278 }, 279 279 }; 280 280 281 - static int __devinit clock_probe(struct platform_device *op) 281 + static int clock_probe(struct platform_device *op) 282 282 { 283 283 struct device_node *dp = op->dev.of_node; 284 284 const char *model = of_get_property(dp, "model", NULL);
+5 -5
arch/sparc/kernel/time_64.c
··· 419 419 .num_resources = 1, 420 420 }; 421 421 422 - static int __devinit rtc_probe(struct platform_device *op) 422 + static int rtc_probe(struct platform_device *op) 423 423 { 424 424 struct resource *r; 425 425 ··· 477 477 .num_resources = 1, 478 478 }; 479 479 480 - static int __devinit bq4802_probe(struct platform_device *op) 480 + static int bq4802_probe(struct platform_device *op) 481 481 { 482 482 483 483 printk(KERN_INFO "%s: BQ4802 regs at 0x%llx\n", ··· 534 534 }, 535 535 }; 536 536 537 - static int __devinit mostek_probe(struct platform_device *op) 537 + static int mostek_probe(struct platform_device *op) 538 538 { 539 539 struct device_node *dp = op->dev.of_node; 540 540 ··· 746 746 set_irq_regs(old_regs); 747 747 } 748 748 749 - void __devinit setup_sparc64_timer(void) 749 + void setup_sparc64_timer(void) 750 750 { 751 751 struct clock_event_device *sevt; 752 752 unsigned long pstate; ··· 844 844 >> SPARC64_NSEC_PER_CYC_SHIFT; 845 845 } 846 846 847 - int __devinit read_current_timer(unsigned long *timer_val) 847 + int read_current_timer(unsigned long *timer_val) 848 848 { 849 849 *timer_val = tick_ops->get_tick(); 850 850 return 0;
+3 -3
arch/sparc/mm/init_64.c
··· 87 87 88 88 #define MAX_BANKS 32 89 89 90 - static struct linux_prom64_registers pavail[MAX_BANKS] __devinitdata; 91 - static int pavail_ents __devinitdata; 90 + static struct linux_prom64_registers pavail[MAX_BANKS]; 91 + static int pavail_ents; 92 92 93 93 static int cmp_p64(const void *a, const void *b) 94 94 { ··· 1931 1931 printk("Booting Linux...\n"); 1932 1932 } 1933 1933 1934 - int __devinit page_in_phys_avail(unsigned long paddr) 1934 + int page_in_phys_avail(unsigned long paddr) 1935 1935 { 1936 1936 int i; 1937 1937