Merge remote branch 'origin' into secretlab/next-devicetree
Merging in current state of Linus' tree to deal with merge conflicts and build failures in vio.c after merge. Conflicts: drivers/i2c/busses/i2c-cpm.c drivers/i2c/busses/i2c-mpc.c drivers/net/gianfar.c Also fixed up one line in arch/powerpc/kernel/vio.c to use the correct node pointer. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
@@ -874,7 +874,7 @@ static int __devinit fsl_elbc_chip_probe(struct fsl_elbc_ctrl *ctrl,
|
||||
priv->ctrl = ctrl;
|
||||
priv->dev = ctrl->dev;
|
||||
|
||||
priv->vbase = ioremap(res.start, res.end - res.start + 1);
|
||||
priv->vbase = ioremap(res.start, resource_size(&res));
|
||||
if (!priv->vbase) {
|
||||
dev_err(ctrl->dev, "failed to map chip region\n");
|
||||
ret = -ENOMEM;
|
||||
@@ -891,7 +891,7 @@ static int __devinit fsl_elbc_chip_probe(struct fsl_elbc_ctrl *ctrl,
|
||||
if (ret)
|
||||
goto err;
|
||||
|
||||
ret = nand_scan_ident(&priv->mtd, 1);
|
||||
ret = nand_scan_ident(&priv->mtd, 1, NULL);
|
||||
if (ret)
|
||||
goto err;
|
||||
|
||||
|
Reference in New Issue
Block a user