summaryrefslogtreecommitdiffstats
path: root/common/bootm.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-02-08 11:31:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-08 11:31:02 +0100
commit46bb3a4d8490b318fbcfac7b69c217cec05d7a8f (patch)
treecffd8e86ba407fea40b6075e716267c8585384a5 /common/bootm.c
parentc976b06e16a166f8d67fee950625c593d22fcff2 (diff)
downloadbarebox-46bb3a4d8490b318fbcfac7b69c217cec05d7a8f.tar.gz
barebox-46bb3a4d8490b318fbcfac7b69c217cec05d7a8f.tar.xz
driver: Fix unregister device after device probe failure
When a device probe fails the device is removed from the active list. If then the device is unregistered afterwards it is removed from the active list again resulting in a crash. To fix this initialize the devices active list entry when removing it from the active list. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/bootm.c')
0 files changed, 0 insertions, 0 deletions