]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: Tell probe functions where to put their results
authorSimon Glass <sjg@chromium.org>
Wed, 26 Dec 2012 09:53:31 +0000 (09:53 +0000)
committerTom Rini <trini@ti.com>
Mon, 4 Mar 2013 19:19:56 +0000 (14:19 -0500)
commit2ded0d471912a7d6510899b1858cd9913f12b912
tree60d03bf7a52d9ff893925a1e78d8c3e416522381
parentc6f548d232c47a1691124d05c90fe9fb652e6874
fs: Tell probe functions where to put their results

Rather than rely on global variables for the probe functions, pass in
the information that we need filled in. This allows us to potentially
keep the variables private to fs.c in the future, and the meaning of
the probe function is clearer.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
fs/fs.c