summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2005-04-14 14:02:19 +0200
committerMichael Brown2005-04-14 14:02:19 +0200
commit1f26be34b8b690c92cbefe4f16f8659065501541 (patch)
treec82106c8f9eaff777db60fc82bb1ba643fbd963d /src
parentStandardised debug mechanism in place now. (diff)
downloadipxe-1f26be34b8b690c92cbefe4f16f8659065501541.tar.gz
ipxe-1f26be34b8b690c92cbefe4f16f8659065501541.tar.xz
ipxe-1f26be34b8b690c92cbefe4f16f8659065501541.zip
Allow for multiple BOOT_DRIVER()s in the same file, provided that they
have different probe functions.
Diffstat (limited to 'src')
-rw-r--r--src/include/dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/dev.h b/src/include/dev.h
index b5a2edda..73a4ca65 100644
--- a/src/include/dev.h
+++ b/src/include/dev.h
@@ -55,7 +55,7 @@ struct boot_driver {
};
#define BOOT_DRIVER( driver_name, probe_func ) \
- static struct boot_driver boot_driver \
+ static struct boot_driver boot_driver_ ## probe_func \
__attribute__ ((used,__section__(".boot_drivers"))) = { \
.name = driver_name, \
.probe = probe_func, \