X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fdrivers.c;h=3e09a0045a6eeef8e3a0bb86956a71a2d8f25d1c;hb=0d8f60e28f0f6e2bf65c674154b129fffae9eca8;hp=be72b5c30892396ac803e292d6e0192a4fb2c046;hpb=c90702eaa7e7c4e7dd6d1efea61387a62748cfad;p=openocd.git diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c index be72b5c308..3e09a0045a 100644 --- a/src/flash/nor/drivers.c +++ b/src/flash/nor/drivers.c @@ -19,7 +19,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include +#include "imp.h" extern struct flash_driver lpc2000_flash; extern struct flash_driver lpc288x_flash; @@ -44,7 +44,7 @@ extern struct flash_driver faux_flash; * The list of built-in flash drivers. * @todo Make this dynamically extendable with loadable modules. */ -struct flash_driver *flash_drivers[] = { +static struct flash_driver *flash_drivers[] = { &lpc2000_flash, &lpc288x_flash, &lpc2900_flash,