forked from auracaster/openocd
flash: nand: move in include file the declaration of 'nand_devices'
The pointer nand_devices is used in two file. Move the extern prototype in code.h Detected through 'sparse' tool. Change-Id: I7237359fd1a008770a624725cd0b3d8632b4166e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7674 Tested-by: jenkins
This commit is contained in:
@@ -17,9 +17,6 @@
|
||||
#include "fileio.h"
|
||||
#include <target/target.h>
|
||||
|
||||
/* to be removed */
|
||||
extern struct nand_device *nand_devices;
|
||||
|
||||
COMMAND_HANDLER(handle_nand_list_command)
|
||||
{
|
||||
struct nand_device *p;
|
||||
|
||||
Reference in New Issue
Block a user