From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/include/linux/of_pci.h | 15 ++------------- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/kernel/include/linux/of_pci.h b/kernel/include/linux/of_pci.h index e83d87f..29658c0 100644 --- a/kernel/include/linux/of_pci.h +++ b/kernel/include/linux/of_pci.h @@ -2,11 +2,10 @@ #ifndef __OF_PCI_H #define __OF_PCI_H -#include <linux/pci.h> -#include <linux/msi.h> +#include <linux/types.h> +#include <linux/errno.h> struct pci_dev; -struct of_phandle_args; struct device_node; #if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_PCI) @@ -14,9 +13,6 @@ unsigned int devfn); int of_pci_get_devfn(struct device_node *np); void of_pci_check_probe_only(void); -int of_pci_map_rid(struct device_node *np, u32 rid, - const char *map_name, const char *map_mask_name, - struct device_node **target, u32 *id_out); #else static inline struct device_node *of_pci_find_child_device(struct device_node *parent, unsigned int devfn) @@ -25,13 +21,6 @@ } static inline int of_pci_get_devfn(struct device_node *np) -{ - return -EINVAL; -} - -static inline int of_pci_map_rid(struct device_node *np, u32 rid, - const char *map_name, const char *map_mask_name, - struct device_node **target, u32 *id_out) { return -EINVAL; } -- Gitblit v1.6.2