projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be1f3a
)
PCI: provide stub pci_domain_nr function for !CONFIG_PCI configs
author
Dave Airlie
<airlied@gmail.com>
Fri, 13 Aug 2010 00:22:17 +0000
(10:22 +1000)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Fri, 13 Aug 2010 23:19:59 +0000
(16:19 -0700)
Allows the new PCI domain aware DRM code to compile on m68k.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci.h
patch
|
blob
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index
b1d1795
..
c8d95e3
100644
(file)
--- a/
include/linux/pci.h
+++ b/
include/linux/pci.h
@@
-1214,6
+1214,9
@@
static inline struct pci_dev *pci_get_bus_and_slot(unsigned int bus,
unsigned int devfn)
{ return NULL; }
+static inline int pci_domain_nr(struct pci_bus *bus)
+{ return 0; }
+
#define dev_is_pci(d) (false)
#define dev_is_pf(d) (false)
#define dev_num_vf(d) (0)