|
@@ -66,11 +66,11 @@ struct boot_driver {
|
66
|
66
|
};
|
67
|
67
|
|
68
|
68
|
#define BOOT_DRIVER( _name, _find_bus_boot_device, _bus_driver, _probe ) \
|
69
|
|
- static struct boot_driver boot_driver_ ## probe_func \
|
|
69
|
+ static struct boot_driver boot_ ## _bus_driver \
|
70
|
70
|
__attribute__ ((used,__section__(".boot_drivers"))) = { \
|
71
|
71
|
.name = _name, \
|
72
|
72
|
.find_bus_boot_device = ( void * ) _find_bus_boot_device, \
|
73
|
|
- .bus_driver = ( void * ) _bus_driver, \
|
|
73
|
+ .bus_driver = ( void * ) &_bus_driver, \
|
74
|
74
|
.probe = ( void * ) _probe, \
|
75
|
75
|
};
|
76
|
76
|
|