]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: Add include guard to include/linux/pci_ids.h
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 10 Jul 2014 12:05:11 +0000 (14:05 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 10 Jul 2014 22:49:15 +0000 (16:49 -0600)
commit8e2614bbf619e210674c3eae7f087db7c55ff89b
treeb077643ce3e160719532e67871295a07020a61ae
parent20cde694027e7477cc532833e38ab9fcaa83fb64
PCI: Add include guard to include/linux/pci_ids.h

Adding an include guard frees the preprocessor from reparsing over 2600
#defines in the cases where pci_ids.h is somehow included more than once.
This gives a tiny-but-measurable performance improvement when compiling
such files.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/pci_ids.h