]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: ahci: Correct uclass private data
authorSimon Glass <sjg@chromium.org>
Tue, 4 Jul 2017 19:31:22 +0000 (13:31 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 1 Aug 2017 02:58:01 +0000 (11:58 +0900)
commitbfc1c6b4838501d10aa48c0e92eaf70976f4b2dd
treec81d5e7c441dc3bf936b755caf3abc9beaed4f1c
parent068a2fc1d500866e37f0ecc98806444c2996b25d
dm: ahci: Correct uclass private data

This is expected to be attached to the uclass and the code operates that
way, but the uclass has not been updated. Fix it to avoid using memory at
address 0.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 47fc61a (dm: ahci: Drop use of probe_ent)
drivers/ata/ahci-uclass.c
drivers/ata/ahci.c