2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 07:11:32 +00:00

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

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