Commit a8fd098c authored by Russell King's avatar Russell King

[ARM ADFS] C99 designated initialisers (Patch from Art Haas)

Here's a small set of patches that switch the code to use C99
desiginated initializers. Patches are against 2.5.42.
parent 6c17e8bc
...@@ -469,9 +469,9 @@ adfs_f_free(struct adfs_dir *dir) ...@@ -469,9 +469,9 @@ adfs_f_free(struct adfs_dir *dir)
} }
struct adfs_dir_ops adfs_f_dir_ops = { struct adfs_dir_ops adfs_f_dir_ops = {
read: adfs_f_read, .read = adfs_f_read,
setpos: adfs_f_setpos, .setpos = adfs_f_setpos,
getnext: adfs_f_getnext, .getnext = adfs_f_getnext,
update: adfs_f_update, .update = adfs_f_update,
free: adfs_f_free .free = adfs_f_free
}; };
...@@ -172,8 +172,8 @@ adfs_fplus_free(struct adfs_dir *dir) ...@@ -172,8 +172,8 @@ adfs_fplus_free(struct adfs_dir *dir)
} }
struct adfs_dir_ops adfs_fplus_dir_ops = { struct adfs_dir_ops adfs_fplus_dir_ops = {
read: adfs_fplus_read, .read = adfs_fplus_read,
setpos: adfs_fplus_setpos, .setpos = adfs_fplus_setpos,
getnext: adfs_fplus_getnext, .getnext = adfs_fplus_getnext,
free: adfs_fplus_free .free = adfs_fplus_free
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment