diff options
author | Michael Brown | 2005-04-14 14:02:19 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-14 14:02:19 +0200 |
commit | 1f26be34b8b690c92cbefe4f16f8659065501541 (patch) | |
tree | c82106c8f9eaff777db60fc82bb1ba643fbd963d /src | |
parent | Standardised debug mechanism in place now. (diff) | |
download | ipxe-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.h | 2 |
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, \ |