]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: Fully populate the filesystem method struct
authorSimon Glass <sjg@chromium.org>
Wed, 26 Dec 2012 09:53:29 +0000 (09:53 +0000)
committerTom Rini <trini@ti.com>
Mon, 4 Mar 2013 19:19:56 +0000 (14:19 -0500)
commit436e2b731979afc904b2a39f1b2fbb2370f08cb4
tree23676e587914d61df1e9757cec378846af592672
parent293d7fbd47f473d8a6b01a5f80d7faa5cd6b67b3
fs: Fully populate the filesystem method struct

There is a structure in fs.c with just a probe method. By adding methods
for other operations, we can avoid lots of #ifdefs and switch()s. As a
first step, create the structure ready for use.

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