techpack: dataipa: Fix compilation without PCI
Change-Id: Ice4284ce6a9b710638c21add2bef5f5bb4e52b63 Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
This commit is contained in:
parent
44bbb9790b
commit
6f34558542
@ -237,6 +237,18 @@ static void ipa_pci_io_resume(struct pci_dev *pci_dev)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef CONFIG_PCI
|
||||||
|
static inline void pci_release_region(struct pci_dev *pci_dev, int bar)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
static inline int pci_request_region(struct pci_dev *pci_dev, int bar,
|
||||||
|
const char *res_name)
|
||||||
|
{
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* PCI Error Recovery */
|
/* PCI Error Recovery */
|
||||||
static const struct pci_error_handlers ipa_pci_err_handler = {
|
static const struct pci_error_handlers ipa_pci_err_handler = {
|
||||||
.error_detected = ipa_pci_io_error_detected,
|
.error_detected = ipa_pci_io_error_detected,
|
||||||
|
Loading…
Reference in New Issue
Block a user