GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / include / linux / aer.h
blob7871affec03373dbd47391029b75306400a6f44a
1 /*
2 * Copyright (C) 2006 Intel Corp.
3 * Tom Long Nguyen (tom.l.nguyen@intel.com)
4 * Zhang Yanmin (yanmin.zhang@intel.com)
5 */
7 #ifndef _AER_H_
8 #define _AER_H_
10 #if defined(CONFIG_PCIEAER)
11 /* pci-e port driver needs this function to enable aer */
12 extern int pci_enable_pcie_error_reporting(struct pci_dev *dev);
13 extern int pci_disable_pcie_error_reporting(struct pci_dev *dev);
14 extern int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev);
15 #else
16 static inline int pci_enable_pcie_error_reporting(struct pci_dev *dev)
18 return -EINVAL;
20 static inline int pci_disable_pcie_error_reporting(struct pci_dev *dev)
22 return -EINVAL;
24 static inline int pci_cleanup_aer_uncorrect_error_status(struct pci_dev *dev)
26 return -EINVAL;
28 #endif
30 #endif //_AER_H_