blob: 074bdd804b8adf8392da41c69d0df4110f12a753 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef AMD_BLOCK_PCI_DEVS_H
#define AMD_BLOCK_PCI_DEVS_H
#include <device/pci_def.h>
#if !defined(__SIMPLE_DEVICE__)
#include <device/device.h>
#define _SOC_DEV(slot, func) pcidev_on_root(slot, func)
#else
#define _SOC_DEV(slot, func) PCI_DEV(0, slot, func)
#endif
#endif /* AMD_BLOCK_PCI_DEVS_H */
|