gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / wireless / ralink / rt2x00 / rt2x00pci.h
blobfd955ccaa1e6c254fd86508ee5b220ff1ea99629
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
4 <http://rt2x00.serialmonkey.com>
6 */
8 /*
9 Module: rt2x00pci
10 Abstract: Data structures for the rt2x00pci module.
13 #ifndef RT2X00PCI_H
14 #define RT2X00PCI_H
16 #include <linux/io.h>
17 #include <linux/pci.h>
20 * PCI driver handlers.
22 int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops);
23 void rt2x00pci_remove(struct pci_dev *pci_dev);
24 #ifdef CONFIG_PM
25 int rt2x00pci_suspend(struct pci_dev *pci_dev, pm_message_t state);
26 int rt2x00pci_resume(struct pci_dev *pci_dev);
27 #else
28 #define rt2x00pci_suspend NULL
29 #define rt2x00pci_resume NULL
30 #endif /* CONFIG_PM */
32 #endif /* RT2X00PCI_H */