diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-29 13:52:08 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-29 13:52:08 -0800 |
commit | 303b493c229475df26d69d102bbaf5ae5e5e7a3f (patch) | |
tree | 28256cf94d6157aa159f1aa781f0f6ba5f8d998c /src/flash/nor/tms470.c | |
parent | cd3017cffa68e6f56419177e66332f86ab45675b (diff) |
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/tms470.c')
-rw-r--r-- | src/flash/nor/tms470.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/flash/nor/tms470.c b/src/flash/nor/tms470.c index 7efcbd4b..af635d42 100644 --- a/src/flash/nor/tms470.c +++ b/src/flash/nor/tms470.c @@ -821,19 +821,19 @@ static int tms470_erase_sector(struct flash_bank *bank, int sector) static const struct command_registration tms470_any_command_handlers[] = { { .name = "flash_keyset", - .handler = &tms470_handle_flash_keyset_command, + .handler = tms470_handle_flash_keyset_command, .mode = COMMAND_ANY, .help = "tms470 flash_keyset <key0> <key1> <key2> <key3>", }, { .name = "osc_megahertz", - .handler = &tms470_handle_osc_megahertz_command, + .handler = tms470_handle_osc_megahertz_command, .mode = COMMAND_ANY, .help = "tms470 osc_megahertz <MHz>", }, { .name = "plldis", - .handler = &tms470_handle_plldis_command, + .handler = tms470_handle_plldis_command, .mode = COMMAND_ANY, .help = "tms470 plldis <0/1>", }, @@ -1258,15 +1258,15 @@ FLASH_BANK_COMMAND_HANDLER(tms470_flash_bank_command) } struct flash_driver tms470_flash = { - .name = "tms470", - .commands = tms470_command_handlers, - .flash_bank_command = &tms470_flash_bank_command, - .erase = &tms470_erase, - .protect = &tms470_protect, - .write = &tms470_write, - .probe = &tms470_probe, - .auto_probe = &tms470_auto_probe, - .erase_check = &tms470_erase_check, - .protect_check = &tms470_protect_check, - .info = &tms470_info, - }; + .name = "tms470", + .commands = tms470_command_handlers, + .flash_bank_command = tms470_flash_bank_command, + .erase = tms470_erase, + .protect = tms470_protect, + .write = tms470_write, + .probe = tms470_probe, + .auto_probe = tms470_auto_probe, + .erase_check = tms470_erase_check, + .protect_check = tms470_protect_check, + .info = tms470_info, +}; |