> > Hm, so pci_domain_nr should just return 0 on platforms where > > CONFIG_PCI_DOMAINS isn't set. I'd expect that to be the case when > > CONFIG_PCI=n... Maybe we just need to shuffle the definition > > around? > > I suspect something like the attached would suffice. > > Or maybe moving the CONFIG_PCI_DOMAINS checkout outside CONFIG_PCI.
Yeah, that looks ok, and better than putting it in drm. I'll apply to my for-linus branch for the next PCI fixes pull. Thanks, Jesse ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel