From 303b493c229475df26d69d102bbaf5ae5e5e7a3f Mon Sep 17 00:00:00 2001 From: David Brownell Date: Fri, 29 Jan 2010 13:52:08 -0800 Subject: NOR: cleanup driver decls Fix goofy struct indents. Function names *are* their addresses. Signed-off-by: David Brownell --- src/flash/nor/avrf.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/flash/nor/avrf.c') diff --git a/src/flash/nor/avrf.c b/src/flash/nor/avrf.c index 6c2d17fe..c0724190 100644 --- a/src/flash/nor/avrf.c +++ b/src/flash/nor/avrf.c @@ -452,7 +452,7 @@ COMMAND_HANDLER(avrf_handle_mass_erase_command) static const struct command_registration avrf_exec_command_handlers[] = { { .name = "mass_erase", - .handler = &avrf_handle_mass_erase_command, + .handler = avrf_handle_mass_erase_command, .mode = COMMAND_EXEC, .help = "erase entire device", }, @@ -469,15 +469,15 @@ static const struct command_registration avrf_command_handlers[] = { }; struct flash_driver avr_flash = { - .name = "avr", - .commands = avrf_command_handlers, - .flash_bank_command = &avrf_flash_bank_command, - .erase = &avrf_erase, - .protect = &avrf_protect, - .write = &avrf_write, - .probe = &avrf_probe, - .auto_probe = &avrf_auto_probe, - .erase_check = &default_flash_mem_blank_check, - .protect_check = &avrf_protect_check, - .info = &avrf_info, - }; + .name = "avr", + .commands = avrf_command_handlers, + .flash_bank_command = avrf_flash_bank_command, + .erase = avrf_erase, + .protect = avrf_protect, + .write = avrf_write, + .probe = avrf_probe, + .auto_probe = avrf_auto_probe, + .erase_check = default_flash_mem_blank_check, + .protect_check = avrf_protect_check, + .info = avrf_info, +}; -- cgit v1.2.3-18-g5258