Loading drivers/ata/sata_svw.c +1 −1 Original line number Diff line number Diff line Loading @@ -288,7 +288,7 @@ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start, /* Match it to a port node */ index = (ap == ap->host->ports[0]) ? 0 : 1; for (np = np->child; np != NULL; np = np->sibling) { const u32 *reg = get_property(np, "reg", NULL); const u32 *reg = of_get_property(np, "reg", NULL); if (!reg) continue; if (index == *reg) Loading drivers/char/agp/uninorth-agp.c +1 −1 Original line number Diff line number Diff line Loading @@ -613,7 +613,7 @@ static int __devinit agp_uninorth_probe(struct pci_dev *pdev, uninorth_node = of_find_node_by_name(NULL, "u3"); } if (uninorth_node) { const int *revprop = get_property(uninorth_node, const int *revprop = of_get_property(uninorth_node, "device-rev", NULL); if (revprop != NULL) uninorth_rev = *revprop & 0x3f; Loading drivers/char/briq_panel.c +1 −1 Original line number Diff line number Diff line Loading @@ -206,7 +206,7 @@ static int __init briq_panel_init(void) const char *machine; int i; machine = get_property(root, "model", NULL); machine = of_get_property(root, "model", NULL); if (!machine || strncmp(machine, "TotalImpact,BRIQ-1", 18) != 0) { of_node_put(root); return -ENODEV; Loading drivers/char/tpm/tpm_atmel.h +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size) return NULL; } reg = get_property(dn, "reg", ®len); reg = of_get_property(dn, "reg", ®len); naddrc = of_n_addr_cells(dn); nsizec = of_n_size_cells(dn); Loading drivers/hwmon/ams/ams-core.c +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ int ams_sensor_attach(void) const u32 *prop; /* Get orientation */ prop = get_property(ams_info.of_node, "orientation", NULL); prop = of_get_property(ams_info.of_node, "orientation", NULL); if (!prop) return -ENODEV; ams_info.orient1 = *prop; Loading Loading
drivers/ata/sata_svw.c +1 −1 Original line number Diff line number Diff line Loading @@ -288,7 +288,7 @@ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start, /* Match it to a port node */ index = (ap == ap->host->ports[0]) ? 0 : 1; for (np = np->child; np != NULL; np = np->sibling) { const u32 *reg = get_property(np, "reg", NULL); const u32 *reg = of_get_property(np, "reg", NULL); if (!reg) continue; if (index == *reg) Loading
drivers/char/agp/uninorth-agp.c +1 −1 Original line number Diff line number Diff line Loading @@ -613,7 +613,7 @@ static int __devinit agp_uninorth_probe(struct pci_dev *pdev, uninorth_node = of_find_node_by_name(NULL, "u3"); } if (uninorth_node) { const int *revprop = get_property(uninorth_node, const int *revprop = of_get_property(uninorth_node, "device-rev", NULL); if (revprop != NULL) uninorth_rev = *revprop & 0x3f; Loading
drivers/char/briq_panel.c +1 −1 Original line number Diff line number Diff line Loading @@ -206,7 +206,7 @@ static int __init briq_panel_init(void) const char *machine; int i; machine = get_property(root, "model", NULL); machine = of_get_property(root, "model", NULL); if (!machine || strncmp(machine, "TotalImpact,BRIQ-1", 18) != 0) { of_node_put(root); return -ENODEV; Loading
drivers/char/tpm/tpm_atmel.h +1 −1 Original line number Diff line number Diff line Loading @@ -52,7 +52,7 @@ static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size) return NULL; } reg = get_property(dn, "reg", ®len); reg = of_get_property(dn, "reg", ®len); naddrc = of_n_addr_cells(dn); nsizec = of_n_size_cells(dn); Loading
drivers/hwmon/ams/ams-core.c +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ int ams_sensor_attach(void) const u32 *prop; /* Get orientation */ prop = get_property(ams_info.of_node, "orientation", NULL); prop = of_get_property(ams_info.of_node, "orientation", NULL); if (!prop) return -ENODEV; ams_info.orient1 = *prop; Loading