Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34049
b: refs/heads/master
c: c4c7cba
h: refs/heads/master
i:
  34047: 2c5286a
v: v3
  • Loading branch information
Jeremy Kerr authored and Paul Mackerras committed Jul 31, 2006
1 parent 2dc142f commit a21dc01
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 954a46e2d5aec6f59976ddeb1d232b486e59b54a
refs/heads/master: c4c7cba90cf9f180a2c45f7e54143f786360f3dd
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/platforms/iseries/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ void iommu_devnode_init_iSeries(struct device_node *dn)
{
struct iommu_table *tbl;
struct pci_dn *pdn = PCI_DN(dn);
u32 *lsn = (u32 *)get_property(dn, "linux,logical-slot-number", NULL);
const u32 *lsn = get_property(dn, "linux,logical-slot-number", NULL);

BUG_ON(lsn == NULL);

Expand Down
9 changes: 4 additions & 5 deletions trunk/arch/powerpc/platforms/iseries/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,12 @@ void iSeries_pcibios_init(void)
}
while ((node = of_get_next_child(root, node)) != NULL) {
HvBusNumber bus;
u32 *busp;
const u32 *busp;

if ((node->type == NULL) || (strcmp(node->type, "pci") != 0))
continue;

busp = (u32 *)get_property(node, "bus-range", NULL);
busp = get_property(node, "bus-range", NULL);
if (busp == NULL)
continue;
bus = *busp;
Expand Down Expand Up @@ -221,10 +221,9 @@ void __init iSeries_pci_final_fixup(void)

if (node != NULL) {
struct pci_dn *pdn = PCI_DN(node);
u32 *agent;
const u32 *agent;

agent = (u32 *)get_property(node, "linux,agent-id",
NULL);
agent = get_property(node, "linux,agent-id", NULL);
if ((pdn != NULL) && (agent != NULL)) {
u8 irq = iSeries_allocate_IRQ(pdn->busno, 0,
pdn->bussubno);
Expand Down

0 comments on commit a21dc01

Please sign in to comment.