drm: fix building on non-PCI platforms

2010-09-08 Thread Arnd Bergmann
BenH's fix to correct building on multi-domain systems broke building DRM for platforms without PCI support. This makes the call to pci_domain_nr conditional in order to fix compilation. Signed-off-by: Arnd Bergmann diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 7809d23..5ff5819 1006

Re: drm: fix building on non-PCI platforms

2010-09-08 Thread Jesse Barnes
On Wed, 8 Sep 2010 17:15:02 +0200 Arnd Bergmann wrote: > BenH's fix to correct building on multi-domain systems broke > building DRM for platforms without PCI support. This makes > the call to pci_domain_nr conditional in order to fix compilation. > > Signed-off-by: Arnd Bergmann > > diff --gi

drm: fix building on non-PCI platforms

2010-09-08 Thread Jesse Barnes
On Wed, 8 Sep 2010 17:15:02 +0200 Arnd Bergmann wrote: > BenH's fix to correct building on multi-domain systems broke > building DRM for platforms without PCI support. This makes > the call to pci_domain_nr conditional in order to fix compilation. > > Signed-off-by: Arnd Bergmann > > diff --gi

drm: fix building on non-PCI platforms

2010-09-08 Thread Arnd Bergmann
BenH's fix to correct building on multi-domain systems broke building DRM for platforms without PCI support. This makes the call to pci_domain_nr conditional in order to fix compilation. Signed-off-by: Arnd Bergmann diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 7809d23..5ff5819 1006