diff options
author | Simon Glass <sjg@chromium.org> | 2017-07-04 13:31:25 -0600 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2017-08-01 11:58:01 +0900 |
commit | 034e226bc77e6b2137acaa5094d9886c8bc9a07e (patch) | |
tree | 64fbd5ebacf88cdcf62ce40e7670a4e49a41707c /drivers/fpga/spartan2.c | |
parent | 3f5af12a5d24756dce661b0bc34c05f0fe1715aa (diff) |
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>
Diffstat (limited to 'drivers/fpga/spartan2.c')
0 files changed, 0 insertions, 0 deletions