brintos

brintos / linux-shallow public Read only

0
0
Text · 414 B · c2ce47c Raw
21 lines · c
1/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */2/* Copyright 2021 NXP */3 4#include <linux/pci.h>5#include <linux/platform_device.h>6 7#if IS_ENABLED(CONFIG_FSL_ENETC_IERB)8 9int enetc_ierb_register_pf(struct platform_device *pdev,10			   struct pci_dev *pf_pdev);11 12#else13 14static inline int enetc_ierb_register_pf(struct platform_device *pdev,15					 struct pci_dev *pf_pdev)16{17	return -EOPNOTSUPP;18}19 20#endif21