Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63386
b: refs/heads/master
c: 50aa485
h: refs/heads/master
v: v3
  • Loading branch information
Mariusz Kozlowski authored and David S. Miller committed Jul 31, 2007
1 parent 1f1dba6 commit 55ded7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 916e89fdd1b21eec4abbc9e228757db77660fff2
refs/heads/master: 50aa485e1abb7566ce68418c7bbc6a6b454f9039
4 changes: 2 additions & 2 deletions trunk/drivers/sbus/char/bbc_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,13 @@ static void __init reset_one_i2c(struct bbc_i2c_bus *bp)

static int __init attach_one_i2c(struct linux_ebus_device *edev, int index)
{
struct bbc_i2c_bus *bp = kmalloc(sizeof(*bp), GFP_KERNEL);
struct bbc_i2c_bus *bp;
struct linux_ebus_child *echild;
int entry;

bp = kzalloc(sizeof(*bp), GFP_KERNEL);
if (!bp)
return -ENOMEM;
memset(bp, 0, sizeof(*bp));

bp->i2c_control_regs = ioremap(edev->resource[0].start, 0x2);
if (!bp->i2c_control_regs)
Expand Down

0 comments on commit 55ded7d

Please sign in to comment.