jtag: remove file driver.h
The only purpose of include file driver.h was to expose the API to register the adapter's commands. Move the prototype in adapter.h, already used by openocd.c. Change-Id: Ie1090c60ef9e5bac5ea187c87bed6e7b08d9671c Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/6645 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
|
||||
#include "openocd.h"
|
||||
#include <jtag/adapter.h>
|
||||
#include <jtag/driver.h>
|
||||
#include <jtag/jtag.h>
|
||||
#include <transport/transport.h>
|
||||
#include <helper/util.h>
|
||||
@@ -313,7 +312,7 @@ static struct command_context *setup_command_handler(Jim_Interp *interp)
|
||||
&log_register_commands,
|
||||
&rtt_server_register_commands,
|
||||
&transport_register_commands,
|
||||
&interface_register_commands,
|
||||
&adapter_register_commands,
|
||||
&target_register_commands,
|
||||
&flash_register_commands,
|
||||
&nand_register_commands,
|
||||
|
||||
Reference in New Issue
Block a user