mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
dm: Use access methods for dev/uclass private data
Most drivers use these access methods but a few do not. Update them. In some cases the access is not permitted, so mark those with a FIXME tag for the maintainer to check. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Pratyush Yadav <p.yadav@ti.com>
This commit is contained in:
parent
12559f5bab
commit
0fd3d91152
113 changed files with 372 additions and 278 deletions
|
@ -25,7 +25,7 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||
|
||||
int sdram_mmr_init_full(struct udevice *dev)
|
||||
{
|
||||
struct altera_sdram_plat *plat = dev->plat;
|
||||
struct altera_sdram_plat *plat = dev_get_plat(dev);
|
||||
struct altera_sdram_priv *priv = dev_get_priv(dev);
|
||||
u32 i;
|
||||
int ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue