From 0bf2c9c514f5a01339a4f4c59f2a4b5ed079e70c Mon Sep 17 00:00:00 2001 From: lipengfei28 Date: Fri, 26 Jul 2024 16:06:27 +0800 Subject: [PATCH] pci_epf_driver_s use FAR const struct pci_epf_ops_s *ops Signed-off-by: lipengfei28 --- include/nuttx/pci/pci_epf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/pci/pci_epf.h b/include/nuttx/pci/pci_epf.h index 6e2917b4c6..7fbb155487 100644 --- a/include/nuttx/pci/pci_epf.h +++ b/include/nuttx/pci/pci_epf.h @@ -185,7 +185,7 @@ struct pci_epf_driver_s CODE void (*remove)(FAR struct pci_epf_device_s *epf); struct list_node node; - FAR struct pci_epf_ops_s *ops; + FAR const struct pci_epf_ops_s *ops; FAR const struct pci_epf_device_id_s *id_table; };