forked from auracaster/openocd
NOR: cleanup driver decls
Fix goofy struct indents. Function names *are* their addresses. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
@@ -473,14 +473,14 @@ static int lpc288x_protect(struct flash_bank *bank, int set, int first, int last
|
||||
}
|
||||
|
||||
struct flash_driver lpc288x_flash = {
|
||||
.name = "lpc288x",
|
||||
.flash_bank_command = &lpc288x_flash_bank_command,
|
||||
.erase = &lpc288x_erase,
|
||||
.protect = &lpc288x_protect,
|
||||
.write = &lpc288x_write,
|
||||
.probe = &lpc288x_probe,
|
||||
.auto_probe = &lpc288x_probe,
|
||||
.erase_check = &lpc288x_erase_check,
|
||||
.protect_check = &lpc288x_protect_check,
|
||||
.info = &lpc288x_info,
|
||||
};
|
||||
.name = "lpc288x",
|
||||
.flash_bank_command = lpc288x_flash_bank_command,
|
||||
.erase = lpc288x_erase,
|
||||
.protect = lpc288x_protect,
|
||||
.write = lpc288x_write,
|
||||
.probe = lpc288x_probe,
|
||||
.auto_probe = lpc288x_probe,
|
||||
.erase_check = lpc288x_erase_check,
|
||||
.protect_check = lpc288x_protect_check,
|
||||
.info = lpc288x_info,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user