diff options
Diffstat (limited to 'drivers/mtd/nand/fsl_elbc_nand.c')
-rw-r--r-- | drivers/mtd/nand/fsl_elbc_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c index 9dff51351f4f..98ad3cefcaf4 100644 --- a/drivers/mtd/nand/fsl_elbc_nand.c +++ b/drivers/mtd/nand/fsl_elbc_nand.c | |||
@@ -887,7 +887,7 @@ static int __devinit fsl_elbc_chip_probe(struct fsl_elbc_ctrl *ctrl, | |||
887 | goto err; | 887 | goto err; |
888 | } | 888 | } |
889 | 889 | ||
890 | priv->mtd.name = kasprintf(GFP_KERNEL, "%x.flash", res.start); | 890 | priv->mtd.name = kasprintf(GFP_KERNEL, "%x.flash", (unsigned)res.start); |
891 | if (!priv->mtd.name) { | 891 | if (!priv->mtd.name) { |
892 | ret = -ENOMEM; | 892 | ret = -ENOMEM; |
893 | goto err; | 893 | goto err; |