]> git.baikalelectronics.ru Git - uboot.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)
commit8c5cce670bf6337ee31f39fffbfb803ea21ef18d
treec81d5e7c441dc3bf936b755caf3abc9beaed4f1c
parent5b8774016afcfe8e9e85a087b2d9cf6b4c752685
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