Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151052
b: refs/heads/master
c: 3c20e2f
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Benjamin Herrenschmidt committed Jun 15, 2009
1 parent b28fbb3 commit d97e6ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: 734957c89794971c874f9d3ccd9eb49dc3325f65
refs/heads/master: 3c20e2f2793380add92dacce63395a8503b6c7c9
8 changes: 3 additions & 5 deletions trunk/drivers/block/ps3vram.c
Original file line number Diff line number Diff line change
Expand Up @@ -546,12 +546,10 @@ static void __devinit ps3vram_proc_init(struct ps3_system_bus_device *dev)
struct ps3vram_priv *priv = dev->core.driver_data;
struct proc_dir_entry *pde;

pde = proc_create(DEVICE_NAME, 0444, NULL, &ps3vram_proc_fops);
if (!pde) {
pde = proc_create_data(DEVICE_NAME, 0444, NULL, &ps3vram_proc_fops,
priv);
if (!pde)
dev_warn(&dev->core, "failed to create /proc entry\n");
return;
}
pde->data = priv;
}

static int ps3vram_make_request(struct request_queue *q, struct bio *bio)
Expand Down

0 comments on commit d97e6ca

Please sign in to comment.