Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
0002 /* Copyright 2021 NXP */
0003 
0004 #include <linux/pci.h>
0005 #include <linux/platform_device.h>
0006 
0007 #if IS_ENABLED(CONFIG_FSL_ENETC_IERB)
0008 
0009 int enetc_ierb_register_pf(struct platform_device *pdev,
0010                struct pci_dev *pf_pdev);
0011 
0012 #else
0013 
0014 static inline int enetc_ierb_register_pf(struct platform_device *pdev,
0015                      struct pci_dev *pf_pdev)
0016 {
0017     return -EOPNOTSUPP;
0018 }
0019 
0020 #endif