mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 23:31:39 +00:00
Allow for multiple BOOT_DRIVER()s in the same file, provided that they
have different probe functions.
This commit is contained in:
parent
44c7cc8c12
commit
1f26be34b8
@ -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, \
|
||||
|
Loading…
Reference in New Issue
Block a user