Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e2614bb authored by Rasmus Villemoes's avatar Rasmus Villemoes Committed by Bjorn Helgaas
Browse files

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: default avatarRasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 20cde694
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,8 @@
 *	Do not add new entries to this file unless the definitions
 *	Do not add new entries to this file unless the definitions
 *	are shared between multiple drivers.
 *	are shared between multiple drivers.
 */
 */
#ifndef _LINUX_PCI_IDS_H
#define _LINUX_PCI_IDS_H


/* Device classes and subclasses */
/* Device classes and subclasses */


@@ -2968,3 +2970,5 @@
#define PCI_DEVICE_ID_XEN_PLATFORM	0x0001
#define PCI_DEVICE_ID_XEN_PLATFORM	0x0001


#define PCI_VENDOR_ID_OCZ		0x1b85
#define PCI_VENDOR_ID_OCZ		0x1b85

#endif /* _LINUX_PCI_IDS_H */