]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mtd: bcm47xxsflash: register this as normal driver
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 24 Jan 2013 16:39:55 +0000 (17:39 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Feb 2013 08:31:23 +0000 (10:31 +0200)
commit2d13dc3bce8bff81668f793802de38ca12b775b8
tree290f05b74b58faf99b2354d9544daf6397008414
parent60aca067b5308705a34dbb6548b459487f92da90
mtd: bcm47xxsflash: 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 serial 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/devices/bcm47xxsflash.c