diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2012-01-31 17:55:03 +0000 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-02-06 10:54:14 +0000 |
commit | 9f0cba528a163645c8ecace413731c23310f2c26 (patch) | |
tree | 521c0e7e19b74d425718aa7cb7266411df301a9c /src/flash/nor/drivers.c | |
parent | fab0dcd7e6cb8cfbf63cb41f0978902371d30205 (diff) |
build: cleanup src/flash/nor directory
Change-Id: Ic299de969ce566282c055ba4dd8b94892c4c4311
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/420
Tested-by: jenkins
Diffstat (limited to 'src/flash/nor/drivers.c')
-rw-r--r-- | src/flash/nor/drivers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c index 6b0cc369..06de0c66 100644 --- a/src/flash/nor/drivers.c +++ b/src/flash/nor/drivers.c @@ -16,6 +16,7 @@ * Free Software Foundation, Inc., * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -84,8 +85,7 @@ static struct flash_driver *flash_drivers[] = { struct flash_driver *flash_driver_find_by_name(const char *name) { - for (unsigned i = 0; flash_drivers[i]; i++) - { + for (unsigned i = 0; flash_drivers[i]; i++) { if (strcmp(name, flash_drivers[i]->name) == 0) return flash_drivers[i]; } |