]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: bcm47xxnflash: register this as normal driver
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 28 Jan 2013 10:25:48 +0000 (11:25 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Feb 2013 08:31:30 +0000 (10:31 +0200)
commita7bf6543e842e164ec00eb53863d0454200c59d4
tree2f3aff28e03e7708ba477322b3bef0b8348df6f1
parent0fca6ab4e1761783acd393cbc55878f0522e1c4b
mtd: bcm47xxnflash: register this as normal driver

When platform_driver_probe() is used and no device is registered for
this driver -ENODEV is returned and and error message is shown. Not all
BCM47xx SoC have a nand flash chip controller and chip and for them an
error message was shown.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/bcm47xxnflash/main.c