bcm53xx: fix printing NAND controller revision
authorRafał Miłecki <zajec5@gmail.com>
Sat, 7 Mar 2015 12:31:42 +0000 (12:31 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Sat, 7 Mar 2015 12:31:42 +0000 (12:31 +0000)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44622

target/linux/bcm53xx/patches-3.14/420-mtd-bcm5301x_nand.patch
target/linux/bcm53xx/patches-3.18/420-mtd-bcm5301x_nand.patch

index 3f082543af0bc0a8d32ae1025d11790628badbf9..19c81161404662b6154d61152f2a52f5b08bd5f4 100644 (file)
 +      bcmnand_reg_awrite(ctrl, NANDC_IDM_APB_LITTLE_ENDIAN, 0);
 +      udelay(10);
 +
-+      dev_info(dev, "NAND Controller rev %d.%d\n",
++      dev_info(dev, "NAND Controller rev %d.%02d\n",
 +              bcmnand_reg_read(ctrl, NANDC_REV_MAJOR),
 +              bcmnand_reg_read(ctrl, NANDC_REV_MINOR));
 +
index 90a9d96d835cf90db26a109db3c68cfac4723a1f..d690dd730b6c09039821719e50486844d746aad3 100644 (file)
 +      bcmnand_reg_awrite(ctrl, NANDC_IDM_APB_LITTLE_ENDIAN, 0);
 +      udelay(10);
 +
-+      dev_info(dev, "NAND Controller rev %d.%d\n",
++      dev_info(dev, "NAND Controller rev %d.%02d\n",
 +              bcmnand_reg_read(ctrl, NANDC_REV_MAJOR),
 +              bcmnand_reg_read(ctrl, NANDC_REV_MINOR));
 +