|
@@ -201,10 +201,10 @@ struct device_driver {
|
201
|
201
|
#define __device_driver \
|
202
|
202
|
__attribute__ (( used, __section__ ( ".drivers.device" ) ))
|
203
|
203
|
|
204
|
|
-#define DRIVER(_name,_name_string,_type_driver,_bus_driver,_bus_info, \
|
|
204
|
+#define DRIVER(_name,_type_driver,_bus_driver,_bus_info, \
|
205
|
205
|
_probe,_disable) \
|
206
|
|
- static struct device_driver _name __device_driver = { \
|
207
|
|
- .name = _name_string, \
|
|
206
|
+ static struct device_driver device_ ## _bus_info __device_driver = { \
|
|
207
|
+ .name = _name, \
|
208
|
208
|
.type_driver = &_type_driver, \
|
209
|
209
|
.bus_driver = &_bus_driver, \
|
210
|
210
|
.bus_driver_info = ( struct bus_driver_info * ) &_bus_info, \
|