david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Allow for multiple BOOT_DRIVER()s in the same file, provided that they

have different probe functions.
This commit is contained in:
Michael Brown 2005-04-14 12:02:19 +00:00
parent 44c7cc8c12
commit 1f26be34b8
1 changed files with 1 additions and 1 deletions

View File

@ -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, \