summaryrefslogtreecommitdiff
path: root/linux/src/drivers
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-18 18:52:22 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-18 18:57:23 +0200
commit92e98a7f4d4fa75b286a067e1d1caef514fccb0d (patch)
tree62344b649601996394c1a87d292ad7b817b4bb91 /linux/src/drivers
parentc9e087748246622d824b5ab83ad8cc79b31014d1 (diff)
linux/net: fix build with -O0
* linux/src/drivers/net/pci-scan.c: Avoid #erroring out.
Diffstat (limited to 'linux/src/drivers')
-rw-r--r--linux/src/drivers/net/pci-scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/src/drivers/net/pci-scan.c b/linux/src/drivers/net/pci-scan.c
index 60525b7..ffb7b12 100644
--- a/linux/src/drivers/net/pci-scan.c
+++ b/linux/src/drivers/net/pci-scan.c
@@ -31,7 +31,7 @@ static int min_pci_latency = 32;
#if ! defined(__KERNEL__)
#define __KERNEL__ 1
#endif
-#if !defined(__OPTIMIZE__)
+#if !defined(__OPTIMIZE__) && /* Mach glue, we think this is ok now: */ 0
#warning You must compile this file with the correct options!
#warning See the last lines of the source file.
#error You must compile this driver with the proper options, including "-O".