jtag: keep the list of drivers in alphabetic order

The introduction of the driver ch347 breaks the order.
Fix it.

Change-Id: I868fd3ec0b6694fb4bb7b28db0083ab1a9409b1c
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/9089
Reviewed-by: Matthias Jentsch <info@easydevkits.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: ZhiYuanNJ <871238103@qq.com>
Tested-by: jenkins
This commit is contained in:
Antonio Borneo
2025-08-20 11:33:53 +02:00
committed by Tomas Vanek
parent 1879145bff
commit 443139db00
+4 -3
View File
@@ -59,6 +59,9 @@ struct adapter_driver *adapter_drivers[] = {
#if BUILD_BUS_PIRATE == 1
&buspirate_adapter_driver,
#endif
#if BUILD_CH347 == 1
&ch347_adapter_driver,
#endif
#if BUILD_CMSIS_DAP_USB == 1 || BUILD_CMSIS_DAP_HID == 1
&cmsis_dap_adapter_driver,
#endif
@@ -159,8 +162,6 @@ struct adapter_driver *adapter_drivers[] = {
&xlnx_pcie_xvc_adapter_driver,
&xlnx_axi_xvc_adapter_driver,
#endif
#if BUILD_CH347 == 1
&ch347_adapter_driver,
#endif
NULL,
};