33 lines
722 B
C
33 lines
722 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com>
|
|
<http://rt2x00.serialmonkey.com>
|
|
|
|
*/
|
|
|
|
/*
|
|
Module: rt2x00pci
|
|
Abstract: Data structures for the rt2x00pci module.
|
|
*/
|
|
|
|
#ifndef RT2X00PCI_H
|
|
#define RT2X00PCI_H
|
|
|
|
#include <linux/io.h>
|
|
#include <linux/pci.h>
|
|
|
|
/*
|
|
* PCI driver handlers.
|
|
*/
|
|
int rt2x00pci_probe(struct pci_dev *pci_dev, const struct rt2x00_ops *ops);
|
|
void rt2x00pci_remove(struct pci_dev *pci_dev);
|
|
#ifdef CONFIG_PM
|
|
int rt2x00pci_suspend(struct pci_dev *pci_dev, pm_message_t state);
|
|
int rt2x00pci_resume(struct pci_dev *pci_dev);
|
|
#else
|
|
#define rt2x00pci_suspend NULL
|
|
#define rt2x00pci_resume NULL
|
|
#endif /* CONFIG_PM */
|
|
|
|
#endif /* RT2X00PCI_H */
|