Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39116
b: refs/heads/master
c: ba0e427
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Wilcox authored and Matthew Wilcox committed Oct 7, 2006
1 parent a19f134 commit 3e4879d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: e11e30a063b515e95fb590f1558b5fea21273c63
refs/heads/master: ba0e427f215b1c58881a737f46d30ae03b83178c
6 changes: 3 additions & 3 deletions trunk/arch/parisc/kernel/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ struct parisc_device * create_tree_node(char id, struct device *parent)
/* make the generic dma mask a pointer to the parisc one */
dev->dev.dma_mask = &dev->dma_mask;
dev->dev.coherent_dma_mask = dev->dma_mask;
if (!device_register(&dev->dev)) {
if (device_register(&dev->dev)) {
kfree(dev);
return NULL;
}
Expand Down Expand Up @@ -853,9 +853,9 @@ static void print_parisc_device(struct parisc_device *dev)
*/
void init_parisc_bus(void)
{
if (!bus_register(&parisc_bus_type))
if (bus_register(&parisc_bus_type))
panic("Could not register PA-RISC bus type\n");
if (!device_register(&root))
if (device_register(&root))
panic("Could not register PA-RISC root device\n");
get_device(&root);
}
Expand Down

0 comments on commit 3e4879d

Please sign in to comment.