Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / net / wireless / ralink / rt2x00 / rt2x00pci.h
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>
5
6  */
7
8 /*
9         Module: rt2x00pci
10         Abstract: Data structures for the rt2x00pci module.
11  */
12
13 #ifndef RT2X00PCI_H
14 #define RT2X00PCI_H
15
16 #include <linux/io.h>
17 #include <linux/pci.h>
18
19 /*
20  * PCI driver handlers.
21  */
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 */
31
32 #endif /* RT2X00PCI_H */