Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46707
b: refs/heads/master
c: a7369f1
h: refs/heads/master
i:
  46705: ccfd3d6
  46703: fbca930
v: v3
  • Loading branch information
Linas Vepstas authored and Greg Kroah-Hartman committed Feb 7, 2007
1 parent 5149b32 commit fd96d57
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c87deff776feacd05a7411097e8c8c57e549e638
refs/heads/master: a7369f1f6533b9efc3209d1df103537bbbf24b8c
5 changes: 5 additions & 0 deletions trunk/include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ struct pci_dev {
#define to_pci_dev(n) container_of(n, struct pci_dev, dev)
#define for_each_pci_dev(d) while ((d = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, d)) != NULL)

static inline int pci_channel_offline(struct pci_dev *pdev)
{
return (pdev->error_state != pci_channel_io_normal);
}

static inline struct pci_cap_saved_state *pci_find_saved_cap(
struct pci_dev *pci_dev,char cap)
{
Expand Down

0 comments on commit fd96d57

Please sign in to comment.