Home
last modified time | relevance | path

Searched hist:"034 e226bc77e6b2137acaa5094d9886c8bc9a07e" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/mmc/
H A Dsunxi_mmc.c034e226bc77e6b2137acaa5094d9886c8bc9a07e Tue Jul 04 19:31:25 UTC 2017 Simon Glass <sjg@chromium.org> dm: mmc: sunxi: Pass private data around explicitly

At present the driver-private data is obtained in various functions by
various means. With driver model this is provided automatically. Without
driver model it comes from a C array declared at the top of the file.

Adjust internal functions so that they are passed the private data as
a parameter, allowing the caller to obtain it using either means.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>