diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-10-26 19:10:29 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-10-27 16:45:51 +0100 |
commit | 51b0e90ec6f978bcc5ebe970acd0c62cbb341575 (patch) | |
tree | e426c33eed57969f16f6ae26790e82361ae0abc6 /common | |
parent | 1678dcf7ca52b8028e6dd311fba1402eb49d3565 (diff) | |
download | barebox-51b0e90ec6f978bcc5ebe970acd0c62cbb341575.tar.gz barebox-51b0e90ec6f978bcc5ebe970acd0c62cbb341575.tar.xz |
amba: check if on remove callback
Currently we get a null pointer dereference when booting linux on RPi
which use "uart-pl011" driver. This driver doesn't implement a remove
driver callback. This patch adds a check before calling the remove
callback if the driver which use the amba bus implement such
functionality.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions