Commit 1ac3ca25 authored by Linus Torvalds's avatar Linus Torvalds

Avoid warning by using an inline function rather than a macro

for the default "pci_domain_nr()" definition. The inline function
will evaluate the argument.
parent 2c435ad4
......@@ -807,7 +807,7 @@ extern int pci_pci_problems;
*/
#ifndef CONFIG_PCI_DOMAINS
#define pci_domain_nr(bus) 0
static inline int pci_domain_nr(struct pci_bus *bus) { return 0; }
#endif
#endif /* __KERNEL__ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment