From: Rafał Miłecki Date: Sun, 27 Jan 2013 13:30:29 +0000 (+0100) Subject: bcma: fix NAND flash validation X-Git-Tag: v3.8-rc7~2^2~11^2^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b112decb777884e37d308554e22e0a4f5cdf44f;p=profile%2Fivi%2Fkernel-x86-ivi.git bcma: fix NAND flash validation Signed-off-by: Rafał Miłecki Signed-off-by: John W. Linville --- diff --git a/drivers/bcma/driver_chipcommon_nflash.c b/drivers/bcma/driver_chipcommon_nflash.c index dbda91e..1f0b83e 100644 --- a/drivers/bcma/driver_chipcommon_nflash.c +++ b/drivers/bcma/driver_chipcommon_nflash.c @@ -21,7 +21,7 @@ int bcma_nflash_init(struct bcma_drv_cc *cc) struct bcma_bus *bus = cc->core->bus; if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4706 && - cc->core->id.rev != 0x38) { + cc->core->id.rev != 38) { bcma_err(bus, "NAND flash on unsupported board!\n"); return -ENOTSUPP; }