summaryrefslogtreecommitdiff
path: root/src/flash/nor/faux.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-01-29 13:52:08 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-01-29 13:52:08 -0800
commit303b493c229475df26d69d102bbaf5ae5e5e7a3f (patch)
tree28256cf94d6157aa159f1aa781f0f6ba5f8d998c /src/flash/nor/faux.c
parentcd3017cffa68e6f56419177e66332f86ab45675b (diff)
downloadopenocd+libswd-303b493c229475df26d69d102bbaf5ae5e5e7a3f.tar.gz
openocd+libswd-303b493c229475df26d69d102bbaf5ae5e5e7a3f.tar.bz2
openocd+libswd-303b493c229475df26d69d102bbaf5ae5e5e7a3f.tar.xz
openocd+libswd-303b493c229475df26d69d102bbaf5ae5e5e7a3f.zip
NOR: cleanup driver decls
Fix goofy struct indents. Function names *are* their addresses. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/nor/faux.c')
-rw-r--r--src/flash/nor/faux.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/flash/nor/faux.c b/src/flash/nor/faux.c
index 948f3055..e1e77eaa 100644
--- a/src/flash/nor/faux.c
+++ b/src/flash/nor/faux.c
@@ -135,15 +135,15 @@ static const struct command_registration faux_command_handlers[] = {
};
struct flash_driver faux_flash = {
- .name = "faux",
- .commands = faux_command_handlers,
- .flash_bank_command = &faux_flash_bank_command,
- .erase = &faux_erase,
- .protect = &faux_protect,
- .write = &faux_write,
- .probe = &faux_probe,
- .auto_probe = &faux_probe,
- .erase_check = &default_flash_blank_check,
- .protect_check = &faux_protect_check,
- .info = &faux_info
- };
+ .name = "faux",
+ .commands = faux_command_handlers,
+ .flash_bank_command = faux_flash_bank_command,
+ .erase = faux_erase,
+ .protect = faux_protect,
+ .write = faux_write,
+ .probe = faux_probe,
+ .auto_probe = faux_probe,
+ .erase_check = default_flash_blank_check,
+ .protect_check = faux_protect_check,
+ .info = faux_info
+};