treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / pci / pci-lantiq.h
blobfdbb0e89bfbf987ec380f29ce4eca9d6c4dc67b8
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
4 * Copyright (C) 2010 John Crispin <john@phrozen.org>
5 */
7 #ifndef _LTQ_PCI_H__
8 #define _LTQ_PCI_H__
10 extern __iomem void *ltq_pci_mapped_cfg;
11 extern int ltq_pci_read_config_dword(struct pci_bus *bus,
12 unsigned int devfn, int where, int size, u32 *val);
13 extern int ltq_pci_write_config_dword(struct pci_bus *bus,
14 unsigned int devfn, int where, int size, u32 val);
16 #endif