Re: [U-Boot] [PATCH 04/11] fs: Tell probe functions where to put their results

2013-03-01 Thread Tom Rini
On Wed, Dec 26, 2012 at 11:53:31AM -0800, Simon Glass wrote: > 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 i

[U-Boot] [PATCH 04/11] fs: Tell probe functions where to put their results

2012-12-26 Thread Simon Glass
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 --- fs/fs.c | 20 ++